-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comparing to #embed #3
Comments
Hi Johannes, Personally, I'd use the standard way, that way you'll get rid of an extra step in the build procedure. My library was inspired by It worked pretty well on my previous job for storing the binary images of the heterogeneous device programs, we integrated it into CMake as a pre-build step, so as a conclusion I'd say that it's pretty straightforward tool to use until we have a standard way. |
Oh yeah you are right no compiler support for it currently. Although there is an active PR in Clang so perhaps we'll get it soon. llvm/llvm-project#68620 |
It's a good idea to compare the performance against the native embed, and probably even create a PR with some performance improvement. |
Hi,
thanks for the great work!
C23 added #embed https://en.cppreference.com/w/c/preprocessor/embed do you some benchmark that compares this to your lib? Any insight on when to use yours or #embed?
Best, Johannes
The text was updated successfully, but these errors were encountered: