Piru wrote:
Yeah static const is ok.
To be more precise, any const data, be it static or not, is ok, as long as it's not put in the BSS section.
Today - with fast HDDs - creating pure apps isn't really required.
Pure executables are also about saving memory, as you don't have to load the TEXT part of the program more than once in memory, much like libraries.
Indeed, libraries are pure executables by force.