Hacker News new | past | comments | ask | show | jobs | submit login
Use embed from C23 today with the Cedro pre-processor (sentido-labs.com)
16 points by AlbertoGP 2 days ago | hide | past | favorite | 1 comment





> “C23 is around the corner and we already know which features it will add to the C language.

> “One of them is the new pre-processor directive #embed, which allows including binary files as byte arrays.

One year ago I presented my C preprocessor Cedro (https://news.ycombinator.com/item?id=28166125, https://news.ycombinator.com/item?id=31193138), and today I wrote this brief note about how you can use it to play with the #embed directive from C23 today.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: