Live data from Hacker News

Embed the resource files into the executable program

github.com

1–5 of 5 posts

Re: Embed the resource files into the executable program

#4

Hate to rain on your parade, but linkers already do this as a built in feature. For example, binutils can embed a binary file and it shows up as a symbol.

My script/tool can embed a directory with it's structure, the files(memory block) can be found by path/filename. It's suitable for my app like 'webd file server' which has a lot files embed in it.