Exciting. Imagine shipping GCC at runtime and compiling a whole new program from a JSON configuration file, optimized to exactly that configuration.
dwrodri•7mo 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•7mo ago
That’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•7mo ago
What is the problem? Not being able to audit the code running on the machine?
drysine•7mo ago
As opposed to generating C++ code by a Python script reading that json.
squirrellous•7mo ago
dwrodri•7mo ago
The security engineer in me had a facial twitch, but for the right usecases this would be indeed be interesting!
vardump•7mo ago
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•7mo ago
drysine•7mo ago