this post was submitted on 21 Oct 2024
7 points (88.9% liked)

C & C++

891 readers
2 users here now

founded 5 years ago
MODERATORS
7
submitted 3 weeks ago* (last edited 3 weeks ago) by bunitor to c/cpp@lemmy.ml
 

i've been playing with cppfront for a few minutes now and it's been a surprisingly pleasant experience so far. i'm tempted to try it out at work to see what happens, but i wanna know if anyone tried to use it in production and what your experiences are

for those who haven't heard of it, cppfront is a cpp2 to c++ compiler, a bit like coffeescript for js. cpp2 is herb sutter's proposal of a new and cleaner c++ syntax with better ergonomics, better orthogonality, and better defaults

top 1 comments
sorted by: hot top controversial new old
[–] bunitor 1 points 3 weeks ago

i found something: https://old.reddit.com/r/cpp/comments/1dz2hyp/will_herb_sutters_cpp2_eventually_evolve_to_a/lcg6jnb/

First, thanks for the interest!

Actually the language is pretty stable, and I take the (rare) breaking changes seriously... at least seriously enough that I write extra code to help users migrate through the change.

The main blocker for commercial use is that I've deliberately used a CC non-commercial license to emphasize that it's an experiment and so make it clear commercial use isn't yet allowed. I expect to change that soon though, as I think it's about ready for "alpha use-at-your-own-risk" Apache-licensed commercial use. We'll see, I have a couple more things I want to achieve in the coming weeks before calling it "0.8" and switching to a commercial-use-allowing license...

it's been three months, so maybe we're now close to a commercially-viable-ish version? even though 0.8 hasn't been released yet