May 31, 2020

ptemplates

Born to play

Concurnas language taps JVM for high-performance apps

The Java Digital Machine is getting a new language, termed Concurnas, which is a free,...

The Java Digital Machine is getting a new language, termed Concurnas, which is a free, open supply, compiled programming language positioned for use in setting up substantial-performance, dispersed programs.

Emphasizing concurrency and parallelism, Concurnas is statically typed and rubbish-collected, and it uses type inference. Concurnas code is said to be normally indistinguishable from Python although giving performance akin to Java.

Concurnas supports crucial computing constructs these as for loops, although loops, assertions, and exceptions. Its concurrency design enables developers to produce concurrent code devoid of tedious boilerplate for taking care of threads, essential sections, or locks.

Other characteristics of Concurnas consist of:

  • Object orientation, with highly developed help for classes together with abstract, concrete, and inheritance as very well as abilities together with generics, enumerations, and annotations. Tuples, item providers, and utilization-dependent generic type inference are supported. 
  • Help for GPU computing, with developers ready to produce idiomatic Concurnas code and run it on the GPU with no want to swap to C/C++.
  • Reactive programming help, giving the potential to produce code that will react mechanically to variations in enter parameters. 
  • Off-heap memory abilities, for interacting with non-heap-managed, non-rubbish-collected memory. This will help in performing with significant knowledge, personalized databases, and GPUs.
  • Null basic safety.
  • A concise syntax.

In enhancement for a few years, Concurnas has a standalone compiler and a REPL (read-eval-print loop) shell. Concurnas can be made use of in a Jupyter notebook and in the Visual Studio Code, Atom, and Sublime Text editors.