Carbon (programming language): Difference between revisions

Content deleted Content added
Fixed typo in syntaxhighlight tag
No edit summary
Line 22:
}}
 
'''Carbon''' is an experimental [[general-purpose programming language]] created at [[Google]] to be a "[[C++]] successor language". It was first presented to the public by Chandler Carruth at the CppNorth conference in July of 2022.<ref name="cppnorthkeynote">{{Cite web |date=2022-07-21 |title=CppNorth2022 Keynote |url=https://cppnorth2022.sched.com/event/140f8/keynote-chandler-carruth-nulbscience-experiment-timenulb?linkback=grid |access-date=2022-07-21 |language=en}}</ref><ref>{{Cite web| title=Carbon Language: An experimental successor to C++ - Chandler Carruth - CppNorth 2022|url=https://www.youtube.com/watch?v=omrY53kbVoA|language=en}}</ref><ref>{{cite news |last1=Bradshaw |first1=Kyle |title=Carbon, a new programming language from Google, aims to be C++ successor |url=https://9to5google.com/2022/07/19/carbon-programming-language-google-cpp/ |work=9to5Google |date=19 July 2022}}</ref> The language intends to fix several perceived shortcomings of C++<ref name="difficulties_improving_cpp">{{Cite web |date=2022-07-21 |title=Difficulties improving C++ |url=https://github.com/carbon-language/carbon-lang/blob/b62b7464a4f99f9101edbe3ea5b76d6cb2cdbc9b/docs/project/difficulties_improving_cpp.md |access-date=2022-07-21 |language=en}}</ref> but otherwise provide a similar feature set. The main goals of the language are readability and "bi-directional interoperability" so there will not be a language barrier like [[Rust (programming language)|Rust]] had. The language will be designed and developed on [[GitHub]]. Similar to the [[C++#Standardization|ISO process]] used by C++, changes to the language will be decided by [[Consensus decision-making|community consensus]].<ref>{{cite web |url=https://github.com/carbon-language/carbon-lang/blob/trunk/docs/project/evolution.md |title=carbon-lang evolution and governance |date=2022-07-23 |website=GitHub |access-date=2022-07-25}}</ref><ref>{{Cite news |title=Google’s Carbon programming language aims to replace C++ |url=https://mybroadband.co.za/news/software/453410-googles-carbon-programming-language-aims-to-replace-c.html |last=Illidge |first=Myles |date=2022-07-21 |access-date=2022-07-24 |work=MyBroadband}}</ref><ref>{{Cite news |title=Google Launches Carbon, an Experimental Replacement for C++ |url=https://thenewstack.io/google-launches-carbon-an-experimental-replacement-for-c/ |last=Jackson |first=Joab |date=2022-07-20 |access-date=2022-07-24 |work=The New Stack}}</ref><ref>{{Cite news |title=Carbon, A New Programming Language from Google As A C++ Successor |url=https://www.phoneworld.com.pk/carbon-a-new-programming-language-from-google-as-a-c-successor/ |last=Mustafa |first=Onsa |date=2022-07-20 |access-date=2022-07-24 |work=PhoneWorld}}</ref>
</ref><ref>{{Cite news |title=Google’s Carbon programming language aims to replace C++ |url=https://mybroadband.co.za/news/software/453410-googles-carbon-programming-language-aims-to-replace-c.html |last=Illidge |first=Myles |date=2022-07-21 |access-date=2022-07-24 |work=MyBroadband}}</ref><ref>{{Cite news |title=Google Launches Carbon, an Experimental Replacement for C++ |url=https://thenewstack.io/google-launches-carbon-an-experimental-replacement-for-c/ |last=Jackson |first=Joab |date=2022-07-20 |access-date=2022-07-24 |work=The New Stack}}</ref><ref>{{Cite news |title=Carbon, A New Programming Language from Google As A C++ Successor |url=https://www.phoneworld.com.pk/carbon-a-new-programming-language-from-google-as-a-c-successor/ |last=Mustafa |first=Onsa |date=2022-07-20 |access-date=2022-07-24 |work=PhoneWorld}}</ref>
 
The language is developed as a [[Free and open-source software|free and open source]] project under the [[Apache License]] (version 2).<ref>{{Cite web |url=https://github.com/carbon-language/carbon-lang/blob/31df852738aea520a1a1800259120bc10ce7a005/LICENSE |title=carbon-lang/LICENSE |date=2020-06-16 |access-date=2022-07-24 |website=GitHub}}</ref>