Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

Feature request: C23's #embed preprocessor directive

Open leha-bot opened this issue 2 years ago • 1 comments

See https://github.com/cplusplus/papers/issues/700

TL;DR: It allows to include any external binary data into your executable.

see also @ThePhD 's blog posts about this: https://thephd.dev/embed-the-details ; https://thephd.dev/finally-embed-in-c23 and their test library for this feature: github.com/ThePhD/embed

Many thanks for your project and keep moving on <3

When implementing this, see TODO[#174] in the sources.

leha-bot avatar Aug 02 '22 22:08 leha-bot

Right now, Cesium targets to be a C17-compatible implementation.

When/if (yes, I am that pessimistic) C23 comes out, this will automatically become a part of our goal.

The development resources for Cesium are really limited, and the goals are enormous, so I don't believe we can focus our efforts on features on a future version of the standard today.

Moreover, we have a milestone-targeted approach to development and mostly implement features that are required to compile our target milestone programs. As there are not a lot of programs which are viable Cesium milestone targets and simultaneously use #embed, this cannot be our priority at the moment.

We accept contributions, though, and I'd be happy to see an implementation of #embed.

ForNeVeR avatar Aug 04 '22 18:08 ForNeVeR