3 ms·
> Type inference There's a proposal[0] for local variable type inference, but it's not scheduled for any specific java version. > Dynamic typing you can run
by the8472 10y ago
> Type inference
There's a proposal[0] for local variable type inference, but it's not scheduled for any specific java version.
> Dynamic typing
you can run dynamic languages on the JVM. groovy, javascript, ruby, ...
> Performance: Things like structs, or being able to create an array of objects
part of valhalla[1].
[0] http://openjdk.java.net/jeps/286 http://openjdk.java.net/jeps/286
[1] http://openjdk.java.net/projects/valhalla/ http://openjdk.java.net/projects/valhalla/
- kartickv 10y agoBeing able to run dynamic languages on the VM isn't a substitute for the occasional situations in which dynamic typing in Java would help, say when working with JSON.