cppfront
cppfront
cppfront | cppfront | |
---|---|---|
4 | 86 | |
66 | 5,120 | |
- | - | |
4.9 | 9.5 | |
about 2 months ago | 9 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)
cppfront
-
Compilation of gripping C++ conference talks from 2023
C++23 is done. But C++ is not! In this talk, the author shares his personal perspectives on an ongoing and very active evolution of C++, updates on his cppfront experimental compiler, and why compatibility is essential to the further success of the C++ development.
- Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
- Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
-
C++ Safety, in Context
https://github.com/hsutter/cppfront
But his side project at Microsoft didn't gain traction with gcc, clang, etc and everybody else in the industry. So at this point, the C++ committee will be perceived as "so far behind" ... because there's nothing for them to vote on.
- Cppfront: Experimental C++ Syntax 2 –> Syntax 1 compiler
- Odin Programming Language
- Cppfront
-
C++ Should Be C++
C++ has major flaws that cannot be rectified without serious breaking changes. With that said, Herb has been experimenting with a new cpp frontend with sane defaults [1].
In my opinion, the world is on standby until Anders Hejlsberg feels like tackling a modern, next generation systems language.
[1] https://github.com/hsutter/cppfront
- Why is the committee so reluctant to add new features to the language itself instead of stuffing them into the STL?
- C++ Lambda Idioms [video]
What are some alternatives?
meson-brainfuck - A proof that Meson is actually Turing-Complete
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
ProxImaL - A domain-specific language for image optimization.
jakt - The Jakt Programming Language
meson - The Meson Build System
serenity - The Serenity Operating System 🐞
cmake-init-use-pkg-config - Using a dependency that does not support clients using CMake
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
exotracker-cpp
LoopModels - "Full speed or nothing." - James Hetfield
modern-cpp-features - A cheatsheet of modern C++ language and library features.
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++