3 ms·
Exciting. Imagine shipping GCC at runtime and compiling a whole new program from a JSON configuration file, optimized to exactly that configuration.
by squirrellous 1y ago
Exciting. Imagine shipping GCC at runtime and compiling a whole new program from a JSON configuration file, optimized to exactly that configuration.
- dwrodri 1y ago> Imagine shipping GCC at runtime The security engineer in me had a facial twitch, but for the right usecases this would be indeed be interesting!
- vardump 1y agoThat’s like having extra configuration dependent ASLR on top! If carefully implemented the compiler and linker could omit code that the configuration didn’t require. Wouldn’t less code mean better security and performance?
- drysine 1y agoWhat is the problem? Not being able to audit the code running on the machine?
- drysine 1y agoAs opposed to generating C++ code by a Python script reading that json.