Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah Gleam. Or Kotlin on the JVM is also quite similar and has compile-to-JS if needed.


Elixir 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/


What? 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?


Dunno. 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: