4 ms·
Kotlin mostly requires JVM, Crystal does not. With Kotlin native, Kotlin js and most importantly Graal native this is plain wrong.
by The_rationalist 6y ago
Kotlin mostly requires JVM, Crystal does not.
With Kotlin native, Kotlin js and most importantly Graal native this is plain wrong.
- nine_k 6y agoThis is correct today. This was not the case when Crystal development started.
- The_rationalist 6y agoTranslation: Crystal had a value proposition but now it's gone, before the product launch.
- iomcr 6y agoReality: Kotlin's value proposition is android development.
- The_rationalist 6y agoIt's a misconception, Kotlin is suitable everywhere that Java is suitable, and even more.
- socialdemocrat 6y agoThat is like a hack. You are basically dumping a JIT image to file. That means all sorts of caveats apply such as be real careful about how you use reflection. Also there is no ABI so you cannot use anything like a native DLL. Native compilation while possible is clearly second class on the JVM platform. For Crystal it is first class.
- yxhuvud 6y agoCrystal is also not great for dlls or .so files as the event loop and gc probably wouldn't work well in that scenario.
- filleduchaos 6y agoI have used Crystal to make DLLs and it worked plenty fine.
- iomcr 6y agoSounds like a fair compromise when the alternatives includes at least one of the following tradeoffs: harder, less safe, and/or slower.
- heavyset_go 6y ago> Also there is no ABI so you cannot use anything like a native DLL. Pretty sure this isn't the case with Kotlin Native[1]. [1] https://kotlinlang.org/docs/native-dynamic-libraries.html https://kotlinlang.org/docs/native-dynamic-libraries.html
- abhijat 6y agoIs kotlin/native a first class option today for server side programming? Last I looked at it, which was fairly recently, that did not seem to be the case.
- The_rationalist 6y agoWhile Kotlin native is likely more mature than crystal I would say that graal native is much better as it allow you to reuse Java libraries and therefore spring native.
- iomcr 6y agoThat doesn't stop 99% of the mind share and language design from being "Java with lipstick".