21 pointsby ibobev7 months ago1 comment
  • squirrellous7 months ago
    Exciting. Imagine shipping GCC at runtime and compiling a whole new program from a JSON configuration file, optimized to exactly that configuration.
    • dwrodri7 months 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!

      • vardump7 months 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?

      • drysine7 months ago
        What is the problem? Not being able to audit the code running on the machine?
    • drysine7 months ago
      As opposed to generating C++ code by a Python script reading that json.