@jarkko
Not sure I understand what you mean...
Are there any JVM languages that delivered memory safety without a garbage collector?
@orizuru @jarkko By definition, no. The JVM itself has the garbage collector. No JVM language can ever be as fast as rust or run without a gc, although one could fundamentally make one as safe as rust. But even then, the entire stdlib is infected with and drenched in nulls and Exceptions, so a rewrite of that would be needed.
@jarkko You mean the repurposed Smalltalk JIT? ;)
I just meant to say that it's always easy to say that #nutech isn't necessary, because we already have #oldtech at home. Just like it's always easy to find minor differences to justify #nutech ("It doesn't use begin/end statements", "It uses actors/coroutines/threads not threads/actors/coroutines!")
(I'd also say that Java's direct competitor is Go, whereas Rust just seems like new source for JNI bits & pieces, I don't want to digreess too much)
@jarkko I was asking for some context for your comparison.
Rust is making inroads to kernel dev, where Java will never be able to go.
Java has a rich set of GUI libraries, whereas the GUI story for Rust is... lacking.
Rust provides a lot of useful mechanisms for safe concurrency, but Java only provides some very basic primitives.
So, when you say "all the goodies", what do you mean?
@jarkko Oh yeah, because Java has easy, safe parallelism and no garbage collection overhead...