Concurnas language taps JVM for high-performance apps

The Java Virtual Machine is gaining a new language, called Concurnas, which is a free, open source, compiled programming language positioned for use in building superior-performance, dispersed techniques.

Emphasizing concurrency and parallelism, Concurnas is statically typed and rubbish-gathered, and it makes use of variety inference. Concurnas code is said to be normally indistinguishable from Python while presenting performance akin to Java.

Concurnas supports essential computing constructs this sort of as for loops, while loops, assertions, and exceptions. Its concurrency model allows builders to produce concurrent code without monotonous boilerplate for running threads, crucial sections, or locks.

Other functions of Concurnas include:

  • Item orientation, with innovative support for classes which include abstract, concrete, and inheritance as perfectly as abilities which include generics, enumerations, and annotations. Tuples, object providers, and utilization-primarily based generic variety inference are supported. 
  • Guidance for GPU computing, with builders capable to produce idiomatic Concurnas code and operate it on the GPU with no need to swap to C/C++.
  • Reactive programming support, presenting the means to produce code that will react quickly to improvements in input parameters. 
  • Off-heap memory abilities, for interacting with non-heap-managed, non-rubbish-gathered memory. This assists in doing work with major information, custom made databases, and GPUs.
  • Null basic safety.
  • A concise syntax.

In progress for 3 decades, Concurnas has a standalone compiler and a REPL (go through-eval-print loop) shell. Concurnas can be made use of in a Jupyter notebook and in the Visual Studio Code, Atom, and Sublime Textual content editors.