top | item 24566364

(no title)

ldeangelis | 5 years 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?

discuss

order

johnnycerberus|5 years ago

Algebraic 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.