1658599980
Google内で構築される最新のプログラミング言語であるCarbonは、C++の後継として実験的に発表されました。
何年にもわたって、Googleはいくつかのプログラミング言語を作成してきましたが、そのうちのいくつかは他の言語よりも人気があり、目立つようになりました。たとえば、Golang(または単にGo)は、サーバーと分散システムの開発を改善する目的で作成され、その後、一般に採用されています。一方、元々JavaScriptの代替として意図されていたDartプログラミング言語は、Flutterがリリースされるまで主流の人気に達しませんでした。
今日、トロントで開催されたCpp Northコンベンションで、出席してスライドを文書化したConor Hoekstraが共有したように、Google社員のChandlerCarruthがCarbonと呼ばれる新しいプログラミング言語のビジョンを共有しました。シーンを設定するために、Carruthは、今日最も人気のあるプログラミング言語の多くに、開発者が迅速に生産性を高め、現代の言語設計を活用できるようにする後継言語があることを示しました。
Android開発者は、iOS開発者がSwiftがObjective-Cの後継者であることを知っているように、KotlinがJavaの後継者として機能することをよく知っています。MicrosoftのTypeScriptは、JavaScriptを徹底的に強化し、使い心地を維持し、JavaScriptに「トランスパイル」して戻すことができます。Google内でかなりの量の使用が見られるC++は、同様に元のCプログラミング言語の後継です。
もともとはMozillaプロジェクトであり、その後多くの人々に支持されるようになったRustは、C ++の後継であると示唆する人もいるかもしれませんが、Carruthはその類似性がまだ続いているかどうか疑問に思います。Rustは間違いなく新しいプロジェクトを開始するのに最適な言語ですが、JavaやKotlinのような「双方向の相互運用性」を備えていないため、着実に移行することは困難です。
Rustが今日あなたのために働くならば、あなたはそれを使うべきです。しかし、C++エコシステムをRustに移行するのは困難です。
そのために、Carbonには、開発者が「パフォーマンスが重要なソフトウェア」を作成するのを支援するなど、Rustと同じ目標が多数ありますが、Carbonは既存のC++コードと完全に相互運用できることも目的としています。さらに、必要に応じて、C++からCarbonへの移行をできるだけ簡単にすることが目標です。
C ++開発者がCarbonをコードベースに導入することを検討したいと思う理由については、Carruthがステージ上で言語のかなりの数のハイライトを共有しました。
Carbonチームは、言語自体の機能を超えて、Carbonの将来を形作る開発プロセスに注目しました。プロジェクトのコードはGitHubで公開されており、プルリクエストを受け付けています。一方、Carbonの文化は、企業の従業員と個人の両方がアクセスでき、包括的であると概説されています。
とは言うものの、Carbonプログラミング言語の特に十分に概説されていない側面の1つは、Googleの関与です。今日のプレゼンテーションはGoogle社員によって共有され、Carbonの現在のプロジェクトリードは主に(完全ではありませんが)Google社員で構成されていますが、それ以外の点では、CarbonがGoogleプロジェクトであることに言及していません。
これは実際には意図的なものです。CarbonはGoogle内で開始されましたが、チームは、将来の成功を収めるためには、CarbonがGoogle自身の使用だけで推進されるのではなく、「独立したコミュニティ主導のプロジェクト」である必要があることを理解し、オンラインで共有しています。 。同じコメントで、Carruthはさらに、Carbonは現在のところ単なる実験であると強調していますが、一部の企業はすでに初期の関心を示しています。
Carbonの使用を開始することに興味がある場合は、ソースコードをダウンロードして、自分のデバイスで試すことができます。または、無料のコンパイラエクスプローラーWebアプリとの統合により、ブラウザーで直接Carbonプログラミング言語の感触をつかむことができます。
この記事の以前のバージョンでは、CarbonのリードはすべてGoogleの従業員であると誤って記載されていました。私たちは間違いをお詫び申し上げます。
https://9to5google.comの元の記事のソース
#carbonlang #cplusplus #cpp
1624240146
C and C++ are the most powerful programming language in the world. Most of the super fast and complex libraries and algorithms are written in C or C++. Most powerful Kernel programs are also written in C. So, there is no way to skip it.
In programming competitions, most programmers prefer to write code in C or C++. Tourist is considered the worlds top programming contestant of all ages who write code in C++.
During programming competitions, programmers prefer to use a lightweight editor to focus on coding and algorithm designing. Vim, Sublime Text, and Notepad++ are the most common editors for us. Apart from the competition, many software developers and professionals love to use Sublime Text just because of its flexibility.
I have discussed the steps we need to complete in this blog post before running a C/C++ code in Sublime Text. We will take the inputs from an input file and print outputs to an output file without using freopen
file related functions in C/C++.
#cpp #c #c-programming #sublimetext #c++ #c/c++
1597937354
If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends. The following displays some of the issues:
The below code generates no error since a print function can take any number of inputs but creates a mismatch with the variables. The print function is used to display characters, strings, integers, float, octal, and hexadecimal values onto the output screen. The format specifier is used to display the value of a variable.
A signed integer is a 32-bit datum that encodes an integer in the range [-2147483648 to 2147483647]. An unsigned integer is a 32-bit datum that encodes a non-negative integer in the range [0 to 4294967295]. The signed integer is represented in twos-complement notation. In the below code the signed integer will be converted to the maximum unsigned integer then compared with the unsigned integer.
#problems-with-c #dicey-issues-in-c #c-programming #c++ #c #cplusplus
1590587580
In this Video We are going to see how to use Loops in C++. We will see How to use For, While, and Do While Loops in C++.
C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc.
#c #c# #c++ #programming-c
1589816580
In this article, we’ll take a look at using the isdigit() function in C/C++. This is a very simple way to check if any value is a digit or not. Let’s look at how to use this function, using some simple examples.
#c programming #c++ #c #c#
1589791833
C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc.
The goal of this course is to provide you with a working knowledge of C++. We’ll start with the basics, including syntax, operators, loops, and functions. This Course will explain you how to use data structures and create your own Functions. This Course will show you the details of the powerful object and template systems so you can create useful classes and objects.
Youtube channel: ProgrammingKnowledge - https://www.youtube.com/watch?v=_SH1T3y_D7o
#c #c# #c++ #programming-c