Google develops Carboon programming language, aimed at replacing C ++

Google develops programming language carboon , which is positioned as experimental replacement C ++, expanding this language and eliminates the existing disadvantages . The language supports the basic tolerance with C ++ and can integrate with the available C ++ code and provides tools to simplify the migration of existing projects that automatically translate C ++-libraries to Carboon code. For example, you can rewrite a specific library on Carbon and use it in an existing C ++ project. Carboon compiler is written using LLVM and Clang.

The main features of Carboon:

  • productivity of the resulting code comparable to C ++, while maintaining the possibility of low -level access to addresses and data at the bit level.
  • tolerance with the existing code on C ++, including class inheritance and templates.
  • Fast assembly and the ability to integrate with existing assembly systems for C ++.
  • Simplification of migration between different versions of Carbon.
  • Providing funds for safe memory, the use of which allows us to protect against vulnerabilities caused by an appeal to the memory area after its release, the sequence of zero signs and the exit beyond the boundaries of the buffer.
/Media reports.