3 ms·
> Modern Java(which looks more and more like an OCaml on the JVM) Could you please elaborate on that? Is it related to the new features, like lambdas, pattern
by ldeangelis 6y ago
> Modern Java(which looks more and more like an OCaml on the JVM)
Could you please elaborate on that? Is it related to the new features, like lambdas, pattern matching with switch and so on?
- johnnycerberus 6y agoAlgebraic Data Types (sealed classes/sum types + records/product types), pattern matching, local type inference. Moreover, Substrate VM (part of Graal) will help you achieve faster startup time and lower runtime memory overhead since it will be AOT compiled to a standalone executable, something that OCaml does right now.