The Java Virtual Equipment is getting a new language, named Concurnas, which is a free of charge, open up source, compiled programming language positioned for use in creating superior-overall performance, dispersed techniques.
Emphasizing concurrency and parallelism, Concurnas is statically typed and garbage-collected, and it utilizes form inference. Concurnas code is explained to be generally indistinguishable from Python whilst presenting overall performance akin to Java.
Concurnas supports vital computing constructs such as for loops, whilst loops, assertions, and exceptions. Its concurrency product permits builders to create concurrent code with no laborous boilerplate for controlling threads, significant sections, or locks.
Other attributes of Concurnas include things like:
- Item orientation, with state-of-the-art aid for courses together with abstract, concrete, and inheritance as well as capabilities together with generics, enumerations, and annotations. Tuples, item companies, and use-based generic form inference are supported.
- Assist for GPU computing, with builders in a position to create idiomatic Concurnas code and operate it on the GPU with no need to have to change to C/C++.
- Reactive programming aid, presenting the capability to create code that will respond mechanically to variations in enter parameters.
- Off-heap memory capabilities, for interacting with non-heap-managed, non-garbage-collected memory. This will help in functioning with big details, customized databases, and GPUs.
- Null safety.
- A concise syntax.
In enhancement for 3 years, Concurnas has a standalone compiler and a REPL (study-eval-print loop) shell. Concurnas can be used in a Jupyter notebook and in the Visual Studio Code, Atom, and Elegant Text editors.