3 ms·
Yeah Gleam. Or Kotlin on the JVM is also quite similar and has compile-to-JS if needed.
by cies 1y ago
Yeah Gleam. Or Kotlin on the JVM is also quite similar and has compile-to-JS if needed.
- Blackarea 1y agoWhat? Gleam can compile to js. I don't see the similarity to kotlin being oo and all. Gleams compile time is lightyears ahead of anything on the jvm. I appreciate kotlins nullability constraints but to me it seems the jvm ecosystem is too grown to give kotlin the space it needs. Also heared that java's pattern matching and exhaustive checks have surpassed kotlins? In that case it's just easier to role with java, no?
- cies 1y agoDunno. Wrote a lot of both. Happy with Kotlin. Grateful Java is being maintained well... My last team wanted to port all remaining Java code to Kotlin, because they just enjoyed working with it so much more. While porting I've regularly replaced 5-8 lines of Java with a single line of Kotlin. Kotlin needs Java like Ruby needs C or Elixir needs Erlang.
- lawn 1y agoElixir can also compile to JS via Hologram! Granted, it's alpha software and it's currently embedded in the Hologram framework, but still. https://hologram.page/ https://hologram.page/