I would argue that Kotlin is vastly better then Java, so in that regard the lawyers have improved the situation by forcing a change here.
Rust isn't a replacement for Java, Unless Rust can be compiled to an vm/bytecode environment such as JVM that has been ported to every platform ever.
Also Rust doesn't have classes, among many many other features. The whole point of the language is to not have any features that inflict a cost when unneeded(such as class vtables for virual functions). Personally I don't mind it, but the cultish community isn't worth dealing with.
Only the first line of the three is correct. C# and Perl5 are fine and not going anywhere. F# and Erlang (what even made you compare Perl with it?) have different usecases from them.
The problem with Scala is that it isn't being updated to use the latest JDK. AFAIK it only relatively recently indicated that JDK11 can be used (rather than 8).
Traits are not the equal to vtables, They are entirely a compile time feature. And do not allow inheritance. The compiler can not wire the function if it doesn't know the type.
No Java app I've ever seen has been truly cross-platform, so the bytecode thing is really a non-issue. Make it easy to cross-compile instead, which is something eg. Go and Rust already do.
"An organization dries up if you don't challenge it with growth."
-- Mark Shepherd, former President and CEO of Texas Instruments
Self created problem. (Score:5, Insightful)
Google would still be recommending Java for Android development if Oracle didn't sue them.
Has there ever been an issue where both parties didn't suffer once lawyers got involved?
Re:Self created problem. (Score:3)
Rust isn't a replacement for Java, Unless Rust can be compiled to an vm/bytecode environment such as JVM that has been ported to every platform ever.
Also Rust doesn't have classes, among many many other features. The whole point of the language is to not have any features that inflict a cost when unneeded(such as class vtables for virual functions). Personally I don't mind it, but the cultish community isn't worth dealing with.
Re: (Score:2)
Java is getting long in the tooth, but Kotlin is concise to the point that it's almost as unreadable as Perl. I prefer Scala
Re: (Score:2)
The movement has started.
Java -> Kotlin
C# -> F#
Perl -> Erlang ?
Re: (Score:1)
Re: (Score:2)
C# to F# is a pretty natural transition that is worth to look at. I think it's a good idea to look at starting to consider F# for part of the design.
The last one Perl to Erlang was mostly a joke. Therefore the question mark.
Re: (Score:2)
Re: (Score:3, Interesting)
Rust is only better than C++ (Score:2)
It lacks real garbage collection, which is the key to Lisp/Java/.Net. Also not Git.
Re: (Score:1)
It lacks real garbage collection, which is the key to Lisp/Java/.Net. Also not Git.
Lacks GC, so what? Which is the key... that is a dubious statement. Also not Git... it is not clear what you mean here.
Re: (Score:0)
Re: (Score:0)