Release of programming language V 0.4.4

After two months of development, a new version of the statically typed programming language V (vlang) has been published. The main goals in creating V were ease of learning and use, high readability, fast compilation, improved security, efficient development, cross-platform use, improved interoperability with the C language, better error handling, modern capabilities, and more maintainable programs. The project is also developing its graphics library and package manager. The compiler code, libraries and related tools are open sourced under the MIT license.

Among the changes in the new version:

  • Attributes have been moved to use the new syntax.
  • For structures and unions, the attributes β€œ@[aligned]” and β€œ@[aligned:8]” are implemented.
  • In addition to the expression β€œ$if T is $array {”, support for the constructs β€œ$if T is $array_dynamic {” and β€œ$if T is $array_fixed {” has been added.
  • Setting referenced fields to zero can now only be done in unsafe blocks.
  • Added "r" and "R" line repeat flags, for example "'${"abc":3r}' == 'abcabcabc'".
  • An experimental version of the x.vweb module has been prepared with the implementation of a simple but powerful web server with built-in routing, parameter processing, templates and other capabilities. Now the language standard library has both a multi-threaded and blocking web server (vweb) and a single-threaded non-blocking one (x.vweb) similar to Node.js.
  • A library for working with ssh - vssh - has been implemented.
  • Added a module for working with one-time passwords (HOTP and POTP) - votp.
  • The development of a simple operating system on V - vinix has resumed.

Source: opennet.ru

Add a comment