cppfront
carbon-lang
cppfront | carbon-lang | |
---|---|---|
4 | 174 | |
66 | 32,216 | |
- | 0.4% | |
4.9 | 9.8 | |
about 2 months ago | 4 days ago | |
CMake | C++ | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cppfront
-
Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
Any good CMake integration besides https://github.com/modern-cmake/cppfront?
-
Good reasons to NOT use CMake
For another example, the CMake wrapper I wrote for cppfront automatically translates .cpp2 files to .cpp. This is simply impossible in Meson which, again, requires end-users to find the cppfront binary, write a generator rule, and then run it.
-
Using cppfront with Meson
And this is the equivalent CMake code using the modern-cmake/cppfront project:
-
Using cpp2/cppfront with CMake
cmake_minimum_required(VERSION 3.23) project(example) include(FetchContent) FetchContent_Declare( cppfront GIT_REPOSITORY https://github.com/modern-cmake/cppfront.git GIT_TAG main # or an actual git SHA if you don't like to live dangerously ) FetchContent_MakeAvailable(cppfront) add_executable(main main.cpp2)
carbon-lang
- Carbon Copy Newsletter No.2
-
Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
The roadmap for Carbon [0] mentions wanting to have basic, non-trivial programs written in Carbon by the end of 2024. They're aiming for a v0.1 release in 2025. If it gains traction, they're aiming for a v1.0 beyond 2027.
I don't think anyone outside Google will seriously adopt this before it reaches v1.0. Even within Google, they may choose other options.
[0] - https://github.com/carbon-language/carbon-lang/blob/trunk/do...
- Carbon Language Newsletter, the Carbon Copy, February 2024
-
Odin Programming Language
Carbon was started by Chandler Carruth, at Google, but they wanted to move it to broader governance quickly. It's not under the Google GitHub today, but its own org.
https://github.com/carbon-language/carbon-lang/blob/trunk/do...
-
C++ Should Be C++
What do you think about Carbon[1]? I am hopeful.
[1] https://github.com/carbon-language/carbon-lang
- The NSA advises move to memory-safe languages
- Carbon Language: An experimental successor to C++
-
Toward a TypeScript for C++"
https://github.com/carbon-language/carbon-lang/blob/trunk/do...
next year 0.1 will be usable, 1.0 is about 3 years away, sigh, back to my rust fight
-
Programming Languages Every Developer Should Watch Out For
1. Carbon
What are some alternatives?
meson-brainfuck - A proof that Meson is actually Turing-Complete
rust - Empowering everyone to build reliable and efficient software.
ProxImaL - A domain-specific language for image optimization.
crubit
meson - The Meson Build System
cppfront - A personal experimental C++ Syntax 2 -> Syntax 1 compiler
cmake-init-use-pkg-config - Using a dependency that does not support clients using CMake
Odin - Odin Programming Language
go - The Go programming language
hylo - The Hylo programming language
Rustler - Safe Rust bridge for creating Erlang NIF functions
jakt - The Jakt Programming Language