The Java Digital Machine is gaining a brand new language, referred to as Concurnas, which is a free, open supply, compiled programming language positioned to be used in constructing high-performance, distributed techniques.
Emphasizing concurrency and parallelism, Concurnas is statically typed and garbage-collected, and it makes use of sort inference. Concurnas code is alleged to be usually indistinguishable from Python whereas providing efficiency akin to Java.
Concurnas helps crucial computing constructs reminiscent of for loops, whereas loops, assertions, and exceptions. Its concurrency mannequin permits builders to write down concurrent code with out tedious boilerplate for managing threads, crucial sections, or locks.
Different options of Concurnas embrace:
- Object orientation, with superior assist for lessons together with summary, concrete, and inheritance in addition to capabilities together with generics, enumerations, and annotations. Tuples, object suppliers, and usage-based generic sort inference are supported.
- Assist for GPU computing, with builders in a position to write idiomatic Concurnas code and run it on the GPU without having to modify to C/C++.
- Reactive programming assist, providing the power to write down code that can react mechanically to modifications in enter parameters.
- Off-heap reminiscence capabilities, for interacting with non-heap-managed, non-garbage-collected reminiscence. This helps in working with huge knowledge, customized databases, and GPUs.
- Null security.
- A concise syntax.
In growth for 3 years, Concurnas has a standalone compiler and a REPL (read-eval-print loop) shell. Concurnas can be utilized in a Jupyter pocket book and within the Visible Studio Code, Atom, and Elegant Textual content editors.