Carbon (プログラミング言語)
Carbonは、「C++の後継言語」としてGoogleで作成された実験的な汎用プログラミング言語である。この言語は、2022年7月の CppNorth conference で Chandler Carruth によって一般に初めて公開された[1][2][3]。この言語は、C++のいくつかの技術的な負債を修正することを目的としているが[4]、それ以外はC++と同様の機能を提供する。この言語の主な目標は、可読性と「双方向の相互運用性」であるので、Rustのような言語を学ぶ上での壁がない。この言語は、C++が採用しているISOでの標準化過程とは対照的に、GitHubで言語の設計と開発が行われている[5][6][7]。
![]() Carbonのロゴ | |
| 登場時期 | 2022年7月19日 |
|---|---|
| 開発者 |
Google |
| 評価版リリース | 0.1 / 2022年7月19日 |
| 型付け | |
| 影響を受けた言語 |
C++、Go、Rust |
| プログラミング言語 | C++ |
| プラットフォーム | クロスプラットフォーム |
| ライセンス |
Apache-2.0 |
| ウェブサイト | |
| 拡張子 |
.carbon |
| 関連言語 | C言語 |
この言語は、Apache License 2.0の下でフリーかつオープンソースのプロジェクトとして開発されている[8]。
例
Hello, world!
package sample api;
fn Main() -> i32 {
Print("Hello, world!");
return 0;
}
脚注
- “CppNorth2022 Keynote” (英語) (2022年7月21日). 2022年7月21日閲覧。
- “Carbon Language: An experimental successor to C++ - Chandler Carruth - CppNorth 2022” (英語). 2022年7月25日閲覧。
- Bradshaw, Kyle (2022年7月19日). “Carbon, a new programming language from Google, aims to be C++ successor”. 9to5Google
- “Difficulties improving C++” (英語) (2022年7月21日). 2022年7月21日閲覧。
- Illidge, Myles (2022年7月21日). “Google’s Carbon programming language aims to replace C++”. MyBroadband 2022年7月24日閲覧。
- Jackson, Joab (2022年7月20日). “Google Launches Carbon, an Experimental Replacement for C++”. The New Stack 2022年7月24日閲覧。
- Mustafa, Onsa (2022年7月20日). “Carbon, A New Programming Language from Google As A C++ Successor”. PhoneWorld 2022年7月24日閲覧。
- “carbon-lang/LICENSE”. GitHub (2020年6月16日). 2022年7月24日閲覧。
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.
