Hacker News new | ask | show | jobs
by pjmlp 20 days ago
Which ironically has been available since Standard ML in several descendents, including Scala on the JVM, yet Rust keeps getting the glory.
1 comments

Sure, but it's nice to be able to trivially distribute a binary so JVM based languages have a hindrance there. I'll set performance concerns aside as for my purposes they're usually irrelevant.

Otherwise Scala was nice in some respects, less nice in others (purely a matter of personal taste).

There have been AOT compilers since Excelsior JET back in the mid-2000's, among others in the enterprise and embedded commercial space, nowadays GraalVM and OpenJ9 are available as free beer, so paying for AOT is no longer an issue.

Scala also has a LLVM backend.

Right, but there's too much reflection in JVM language libraries for this to ever seem a very appealing option (to me, YMMV).

I'm not saying the choice is strictly rational, just that when I came across it Rust ticked a lot of my boxes and I've since then found it a pleasant language with no more than the usual level of frustrations.

I like Java too though, so draw your own conclusions.