Carbon: Google’s new programming language

carbon language

some of the problem occurred during using C++ are:-

Accumulated technical debt (eg: Integer promotion rules) across various functionalities. Backward compatibility with C makes it even more hard to fix tech debt and make code changes hard to implement.

Evolution process to add new functionalities to C++ is very difficult as it needs to adhere to ISO process overhead, preventing from experimentation etc.

As of now most of the programming language that are popular among programmers have disappeared or are disappearing.

For example typescript was replaced with Java by Microsoft, Apple replaces objective C with Swift, Google previously itself replaced Java with Kotlin. So ,it may be possible that carbon will become a  successor of C++

Carbon can replace C++ if things become better. If we talk about C++, it is widely used by many production Systems and it also gives high performance

Features of Carbon-language:-

  1. Performance matching C++ using LLVM (low level virtual machine), with low-level access to bits and address.
  2. Interoperate with your existing C++, that means you can call C++ language code from carbon language and Vice-versa.
  3. Fast and scalable builds that works with your existing C++ build systems.
  4. Built with open- source community with clear goals and priorities with robust governance.

  5. Scalable migration, with some level of source-to-source translation for idiomatic C++ code. As Carbon language is in experimental phase, there is no working compiler or toolchain.

  6. Modern and evolving
  • Solid language Foundations that are easy to learn, if you have use C++ in past
  • Safer Fundamentals, and an incremental path towards a memory-safe subset

What we want from CARBON Language

carbon language
  1. Performance-critical software
  2. Software and language evolution
  3. Codes which are not difficult in reading, understanding and writing
  4. Practical safety and testing mechanisms
  5. Fast and scalable development
  6. Modern OS platforms, hardware architectures, and environments
  7. Interoperability with and migration from existing C++ code

When many languages share subsets of all these goals, the combination of carbon programming distinguishes it from other languages.

Thanks For Reading
abhishek singh
Abhishek Singh

Leave a Comment

Your email address will not be published. Required fields are marked *