Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if you do that you could also do base64 ;)


But you can’t? Base64 won’t be recognized by the C compiler, you’ll end up having to decode it at runtime.


yep. That's a small piece of c-code you need to invest. See https://stackoverflow.com/questions/342409/how-do-i-base64-e...


So, by encoding in base64, you’ve made a more complicated solution which is also slower and harder to use? This seems like it is worse in every conceivable way. The only reason I can see for embedding base64 is if you need the source code to be compact, which makes sense for e.g. JavaScript but makes no sense for C.

I’ll take the simple, fast, and easy solution, thank you.




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

Search: