Get the latest tech news
Cppfront: Midsummer Update
Over the winter and spring I spent a bunch of time building my essay “C++ safety, in context” and the related ACCU 2024 safety keynote, and on behind-the-scenes work toward improving C+…
Wrote Cpp2 and cppfront documentation & started numbered releases Cppfront 0.7.0 (Mar 16, 2024), new things include: A “tersest” function syntax, e.g.::(x,y) x>y Support all C++23 and draft C++26 headers that have feature test flags Tracked contracts changes in WG21 (e.g., P2661R1) Generate Cpp1 postfix inc/dec in term of prefix Allow trailing commas in lists More CI These contributors represent people from high school and undergrad students to full professors, from commercial developers to conference speakers, and from every continent (except Antarctica… I think…). — This is the second optimization I can recall in cppfront so far, after Johel Ernesto Guerrero Peña ‘s ~100x improvement last year by just changing the four uses of std::regex to find_if on a sorted vector of strings.
Or read this on Hacker News