hsutter/cppfront
View on GitHub ↗ ★ 6,016 C++
A personal experimental C++ Syntax 2 -> Syntax 1 compiler
55 mentions on Hacker News by 52 people: 6 stories, 49 comments · first 2022-09-17 · latest 2026-09-10
20082026
-
…Cpp2 was Herb's experiment and doesn't seem to be developed much further now, https://github.com/hsutter/cppfront/discussions/1450 Google is still quite keen in having Carbon, for the purpose of migrating existing C++ codebases, for new
comment by pjmlp · 2026-09-10 · in Rust is tier-1 language at Microsoft -
I hope we're getting it for C++ with CppFront, but I'm not hopeful it'll ever become mainstream https://github.com/hsutter/cppfront
comment by cenamus · 2026-07-16 · in SQLite should have (Rust-style) editions -
…That was his last commit to his "CPP2 syntax experiment". Don't expect it to "become a standard". https://github.com/hsutter/cppfront/commits/main/
comment by tialaramex · 2026-06-05 · in C++: The Documentary -
…than my distant memories of C++11, which I don't even have negative memories of per se. [0] https://github.com/hsutter/cppfront
comment by vanderZwan · 2026-05-13 · in Cost of enum-to-string: C++26 reflection vs. the old ways -
…dynamic function call optimization, i wish i didn't have to search asm to check for... [0]: https://github.com/hsutter/cppfront
comment by mackeye · 2026-01-11 · in C++ std::move doesn't move anything: A deep dive into Value Categories -
…2. Is the proposed solution really more practicable than "typescript for c++" [0]? [0] https://github.com/hsutter/cppfront
comment by loglog · 2026-01-05 · in Building a Rust-style static analyzer for C++ with AI -
No need to imagine hypotheticals – this exists: https://github.com/hsutter/cppfront
comment by pwdisswordfishy · 2025-11-22 · in Is C++26 getting destructive move semantics? -
cpp2/cfront could plausibly do this, right? Except he doesn't want to: https://github.com/hsutter/cppfront/wiki/Design-note%3A-cons...
comment by loeg · 2025-10-31 · in John Carmack on mutable variables -
…"What does this line of code mean out of context" in C++. Good luck! I have hope for C++front/Cpp2. https://github.com/hsutter/cppfront (oh and I think you can write a whole book on the different ways to initialize variables in C++). The…
comment by butterisgood · 2025-09-16 · in In Defense of C++ -
…philosophically with making locals const by default, and I think doing so is table stakes: https://github.com/hsutter/cppfront/wiki/Design-note%3A-cons... I mean, c'mon > Show that in today's C++ guidance literature we already teach C++…
comment by quotemstr · 2025-09-07 · in C++26: Erroneous behaviour -
…same language as C++, would have perfect interoperability. Sounds like Herb Sutter's cpp2/cppfront: https://github.com/hsutter/cppfront
comment by aw1621107 · 2025-09-07 · in C++26: Erroneous behaviour -
…approach is to take in an arguably nicer/better/easier/safer syntax, and transpile it into C++ : https://github.com/hsutter/cppfront/
comment by einpoklum · 2025-02-05 · in 21st Century C++ -
▲ 2
Herb Sutter's Cppfront 0.8.0story by agluszak · 2024-11-03 · 0 comments
-
▲ 20
Cppfront v0.8.0story by ahamez · 2024-11-02 · 2 comments
-
…a lot by introducing unifying syntax (that compiles to ordinary C++ -- same semantics in the end) https://github.com/hsutter/cppfront
comment by d0mine · 2024-09-07 · in What's new in C++26 (part 1) -
…using #unsafe when needed, like Rust. C++ does evolve over decades, more like other languages. [1] https://github.com/hsutter/cppfront BTW. Use the AddressSanitizer. Please! The toolchain improved the usage and safety of the language so…
comment by ho_schi · 2024-05-10 · in Trip C++Now 2024 – think-cell -
Herb Stutter's Cpp2 is like that https://github.com/hsutter/cppfront
comment by ape4 · 2024-04-16 · in Show HN: a Rust based CLI tool 'imgcatr' for displaying images -
…cpp2 can call cpp, and cpp can call cpp2 without implementing half of a C++ compiler isn't obvious. https://github.com/hsutter/cppfront/issues/594
comment by grumpy_coder · 2024-04-01 · in Overview: What are Cpp2 and cppfront? How do I get and build cppfront? -
https://github.com/hsutter/cppfront/wiki/Design-note:-Captur...
comment by jiripospisil · 2024-03-31 · in Overview: What are Cpp2 and cppfront? How do I get and build cppfront? -
…everybody else to implement. To Herb Sutter's credit, he did make a "C++2" implementation: 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.…
comment by jasode · 2024-03-12 · in C++ Safety, in Context -
▲ 3
Cppfront: Experimental C++ Syntax 2 –> Syntax 1 compilerstory by ctas · 2024-02-20 · 0 comments
-
…https://dlang.org/ Rust - https://www.rust-lang.org/ cppfront (Herb Sutter's C++ frontend/syntax) - https://github.com/hsutter/cppfront Nim - https://nim-lang.org/ Crystal (not sure if this counts) - https://crystal-lang.org/ Vale -…
comment by frfl · 2024-01-02 · in Odin Programming Language -
▲ 3
Cppfrontstory by belter · 2024-01-01 · 0 comments
-
…standby until Anders Hejlsberg feels like tackling a modern, next generation systems language. [1] https://github.com/hsutter/cppfront
comment by throwat2341 · 2023-12-20 · in C++ Should Be C++ -
You mean like Cpp2? https://github.com/hsutter/cppfront
comment by jhasse · 2023-11-14 · in C++ Lambda Idioms (2022) [video] -
…inc: (inout this) = data++; } main: () = { x: myclass = (); x.print(); x.inc(); x.print(); } -- 1: https://github.com/hsutter/cppfront/wiki/Design-note:-Cpp2-n... 2: https://github.com/ntrel/cpp2
comment by emmanueloga_ · 2023-11-04 · in Cooperative C++ Evolution – Toward a TypeScript for C++ -
…— if it someday becomes ready for that, I'll post more docs." The examples don't have comments. [1] https://github.com/hsutter/cppfront#wheres-the-documentation
comment by Animats · 2023-11-04 · in Cooperative C++ Evolution – Toward a TypeScript for C++ -
…activity on it is nearly zero since then... Is that true? Seems like he is actively working on it: https://github.com/hsutter/cppfront/commits/main
comment by timmg · 2023-11-04 · in Cooperative C++ Evolution – Toward a TypeScript for C++ -
Cppfront: https://github.com/hsutter/cppfront
comment by davedx · 2023-11-04 · in Cooperative C++ Evolution – Toward a TypeScript for C++ -
…whether there's a way we can evolve C++ itself to become 10x simpler, safer, and more toolable." https://github.com/hsutter/cppfront
comment by googlryas · 2023-08-28 · in C++ Papercuts -
…100% linking compatibility, and with 100% source backward compatibility available when desired. [1] https://github.com/hsutter/cppfront
comment by doodpants · 2023-08-28 · in C++ Papercuts -
…that can be mixed freely with the traditional syntax. Seems like it's actively being worked on here https://github.com/hsutter/cppfront . I've not looked at Circle in depth. Do you or anyone else have a perspective on how they compare?
comment by geertj · 2023-08-16 · in Circle Evolves C++ [video] -
…things, prove out some concepts, and share some ideas. [1] https://en.wikipedia.org/wiki/Cfront [2] https://github.com/hsutter/cppfront
comment by selcuka · 2023-08-10 · in R.I.P. Macromedia FreeHand (2007) -
…without the complexity baggage. I think that may be the motivation for Sutter's work on cpp2. https://github.com/hsutter/cppfront
comment by criddell · 2023-06-19 · in Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria -
…working on something like that already. See his work on CppFront as an alternative syntax for C++: https://github.com/hsutter/cppfront
comment by paulmooreparks · 2023-06-19 · in Trip report: Summer ISO C++ standards meeting in Varna, Bulgaria -
…to types I think is bonkers, making critical details hard to find except maybe through convention. https://github.com/hsutter/cppfront > <> for inequality is something SQL got right Maybe I'm not recognizing the biases of my own learning…
comment by epage · 2023-06-05 · in The Rust I wanted had no future -
…old. Every new feature has to account for interactions with the rest of the language. Herb Sutter's https://github.com/hsutter/cppfront could be a good strategy to clean it up.
comment by yvdriess · 2023-06-05 · in Never trust a programmer who says they know C++ -
…safely and avoid some old footguns. [1]: https://github.com/carbon-language/carbon-lang [2]: https://github.com/hsutter/cppfront
comment by delta_p_delta_x · 2023-05-20 · in Intel Explores Transition to 64-Bit-Only X86S Architecture -
…c++". I think google carbon ( https://github.com/carbon-language/carbon-lang ) and hurb sutter ( https://github.com/hsutter/cppfront ) are probably the most advanced "proposal". Both languages are highly experimental and really far away…
comment by soulbadguy · 2023-05-06 · in Ask HN: Is there a “simple C++” language trimmed down to something “modern”? -
…around UB, and can rely on C++ as its unsafe counterpart You're looking for Herb Sutter's CppFront: https://github.com/hsutter/cppfront As Cfront was to C, Cppfront is to C++.
comment by coderjames · 2023-02-28 · in Will Carbon Replace C++? -
…to mention Carbon ( https://en.wikipedia.org/wiki/Carbon_(programming_language) ) and cppfront ( https://github.com/hsutter/cppfront ).
comment by nayuki · 2023-02-14 · in The C++ Killers (Not You, Rust) -
…happens to like Rust. These C idioms continue to be valid and reasonably widely used in C++. [0]: https://github.com/hsutter/cppfront [1]: https://github.com/carbon-language/carbon-lang
comment by ddulaney · 2023-02-08 · in Can sanitizers find the two bugs I wrote in C++? -
…e.g. CppFront is making that choice from the start? (Edit: sounds like it, if this is up to date: https://github.com/hsutter/cppfront/issues/110#issuecomment-... )
comment by oconnor663 · 2023-02-08 · in Can sanitizers find the two bugs I wrote in C++? -
…Val: https://www.val-lang.dev/ Carbon: https://github.com/carbon-language/carbon-lang CppFront: https://github.com/hsutter/cppfront
comment by eps · 2023-01-02 · in The year of C++ successor languages -
…if you want to write a safer language on top of C++, you can watch the talk about it here[1]. [0] https://github.com/hsutter/cppfront [1] https://www.youtube.com/watch?v=ELeZAKCN4tY
comment by norman784 · 2022-12-09 · in C++23: std:out_ptr and std:inout_ptr -
He calls it cpp2 or Syntax 2: https://github.com/hsutter/cppfront
comment by senkora · 2022-11-11 · in NSA urges orgs to use memory-safe programming languages -
As well as https://github.com/hsutter/cppfront
comment by steveklabnik · 2022-11-02 · in C++ is the next C++ -
That will be in cpp2 already: https://github.com/hsutter/cppfront
comment by germandiago · 2022-09-25 · in C++20, How Hard Could It Be -
…is the issue, can't we just use a sandbox or something? Is C++2 really the better option? [1]: https://github.com/hsutter/cppfront/blob/main/regression-tes...
comment by ahgamut · 2022-09-18 · in Cppfront, Herb Sutter's proposal for a new C++ syntax