There's still some work to do for tweaking, but #embed is going into Clang 19 and the PR I originally opened has been carried through to completion by Aaron Ballman, Corentin Jabot, h-vetinari, and many other truly wonderful people.
.... It's done.
the swift programming language is my fault to some degree. mostly here to see dogs, shitpost, fix old computers, and/or talk about math and weird computer programming things. for effortposts check the #longpost pinned tag. asks are open.
There's still some work to do for tweaking, but #embed is going into Clang 19 and the PR I originally opened has been carried through to completion by Aaron Ballman, Corentin Jabot, h-vetinari, and many other truly wonderful people.
.... It's done.
Oh wow! I could have used this in the 90's! Why wasn't this in ages ago? (checks the spec) Oh.
While I'm still a bit sad defer didn't make it in C23, with this and changes to enumerations, this is the most excited about C I've been probably since I started learning it years ago.
Congrats on getting this merged!
I used to be coworkers with Ballman. He was great. My company fired him because they didn't want to pay for his trips to the C++ committees they baked into his contract. I don't work for said company any more...
Anyways, this is so great! DEFINITELY one of the bigger things to be added to C as of late. Can't wait to get to use it!