Our great sponsors
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.
circle
-
Toward a TypeScript for C++"
The real Typescript for C++ is Circle.
Just like Typescript to JavaScript, the syntax is an evolution of what already exists, not a completely different syntax.
-
A Metaobject Protocol for C++ [pdf]
Sean Baxter's Circle [1] is arguably the spiritual successor to MOP.
-
Circle Evolves C++ [video]
Context: https://github.com/seanbaxter/circle/blob/master/new-circle/...
Note that Circle is not an F/OSS compiler as someone pointed out before. This however doesn't make Circle less relevant, because it is actually a testament to show that C++ could have been much better without the claimed breakage. If Circle does provide a number of desirable features and its compiler can be built by a single person, then why shouldn't the committee do the same?
-
My (Herb Sutter's) C++ Now 2023 talk is online: “A TypeScript for C++”
From all wannabe C++ replacements candidates, the only language that is really a TypeScript for C++, is Circle.
For whatever reason, Herb Sutter decided to ignore this language on the presentation.
This is the only one with the syntax based on C++, incrementally changing the features via #pragma settings.
"Circle Fixes Defects, Makes C++ Language Safer & More Productive"
https://www.youtube.com/watch?v=x7fxeNqSK2k
"Circle Evolves C++"
- File for Divorce from LLVM
-
Making C++ Safe Without Borrow Checking, Reference Counting, or Tracing GC
The second someone makes a successor language that seamlessly/directly interops with C++ _AND_ has the level of build/IDE tooling that C++/Rust have, I'm on board.
The closest thing right now is Sean Baxter's "Circle" compiler in "Carbon" mode IMO:
https://github.com/seanbaxter/circle/blob/master/new-circle/...
Unfortunately, Circle is closed-source and there's no LSP or other tooling to make the authoring experience nice.
- Circle-lang: A feasible, simple, and immediate way for C++ to break out of the rut it's been in. Surprised more people aren't talking about it.
-
Recurrence-expression is a programmable superset of fold-expression
I read through the whole of https://github.com/seanbaxter/circle/blob/master/new-circle/README.md and man, I'm drooling. Awesome work, kudos.
-
Dropping support for old C++ standards
Have a look at Circle from Sean Baxter [0]. It's pretty impressive.
[0]: https://github.com/seanbaxter/circle/blob/master/new-circle/...
meta
-
Trying out Reflection TS experimental
I guess I'm confused which compiler to use. Is this by lock3 the "demo" implementation which is superseded by clang 15.0-reflection (godbolt says that's the compiler used). I'm using clang for now
-
Experimental Clang implementation of TS Reflection is now available.
Is it related to the "meta" branch or a completely independent work ? (https://github.com/lock3/meta/wiki)
-
Adding reflection to an existing codebase
then there's no pure C++ solution, you either have to use alternative compilers such as https://github.com/lock3/meta/wiki or Circle, or use an external reflection system such as Qt's moc
-
Code generation using attributes
https://github.com/lock3/meta/wiki/Metaprogramming-Introductory-Tutorial for a fork of clang with the reflection & metaclass feature
open issue for attribute reflection: https://github.com/lock3/meta/issues/215
-
C++ Reflection
and https://github.com/lock3/meta/wiki/Reflection-Introductory-Tutorial for a tutorial
-
Discussion on possibility of a compile-time printf
yup, that would be the "CPPX" compiler developed for prototyping reflection and metaprogramming features, also available here
What are some alternatives?
dts2hx - Converts TypeScript definition files (d.ts) to haxe externs (.hx) via the TypeScript compiler API
raspberry-pi-os - Learning operating system development using Linux kernel and Raspberry Pi
mdspan - Reference implementation of mdspan targeting C++23
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management
shaders - Circle C++ shaders
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
hypervisor - lightweight hypervisor SDK written in C++ with support for Windows, Linux and UEFI
jakt - The Jakt Programming Language
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
Pi1541 - Commodore 1541 emulator for the Raspberry Pi