hey all! just as a (big) study exercise, I want to...
# announcements
l
hey all! just as a (big) study exercise, I want to rewrite a cryptocurrency core in Kotlin, it's usually written in C++ or Rust. what should be the most efficient way to run it? Graalvm native? adoptjdk jvm (properly configured)? Kotlin Native? (only *unix support is enough) I don't expected to have the same "performance", but just want to discovery how to be the closest possible to the original project. Does anyone here has experience on cryptocurrencies core development?
g
Hello @Luiz Aguiar. Please can you provide a link to the core library?
l
g
I dont think I know enough to really give advice or opinion on what route you should take.
c
About the different Kotlin versions: • Kotlin/JVM is optimized for throughput. It's a bit slow to startup, and it eats some RAM, but it's crazy fast when it's going. Best for servers/software that runs for a long time. • GraalVM Native is optimized to startup fast and have low latency. Best for command-line apps, stuff that needs to be started and stopped all the time. • Kotlin Native is optimized for low memory usage. Best for IoT, phones... I'm no where near an expert, it's just what I understand (so take with a grain of salt)
❤️ 2
g
@Luiz Aguiar, I think you can look at the comparisons b/w the different options listed by @CLOVIS above and make a decision, based on what you consider as more important.
👍 1
l
Thanks for the comments guys… I gonna do a bit more research on this topic, but I think I have some insights already. Any additional hint will be very appreciated.