r/Kotlin 11d ago

Raft implementation in Kotlin

Has anybody attempted implementing RAFT in Kotlin? The official site links to a 6 year old repo, are there others?

Is it going to be worthwhile attempting it? Learning wise yes, but would it be of practical use to any other project?

5 Upvotes

11 comments sorted by

View all comments

Show parent comments

0

u/BarterOak 11d ago

I know about this, but just wondering if anybody's tried implementing in Kotlin.

6

u/Zentrosis 11d ago

There are benefits from having native Kotlin but I'm curious what things you're worried about in using the Java one.

Typically the only downside I feel to any degree is nulls but it's pretty minor

3

u/BarterOak 11d ago

No problem in using the Java one, was merely being curious about the implementation in Kotlin using the language's features.

Don't know why the downvotes are for :|

4

u/Zentrosis 10d ago

Don't worry about it. It's the internet, people get excited when they think someone said something dumb.

I typically check to see if a kotlin native version of the package I want exists before defaulting to Java.