8

If I ever get asked to write code in C for a contract again. I am going to use the llvm C++ to C compiler. Then deliver the machine generated C code to them.

Comments
  • 6
    Eh? why?
  • 0
    Which part of C++ is it that you miss so bad and you can't replicate it with macros? Because there aren't many parts to C++ that can't be replicated with macros.
  • 0
    hit 'em with python + nuitka lmao
  • 1
    @homo-lorens why, though? C++ is, at this point, a negligible drawback for extended C. Most, if not all, C compilers will happily do C++ just fine nowadays.
  • 0
    @Parzi Gigantic legacy libraries that use ANSI C macro behaviour.
  • 0
    My torture device was Contiki 2.6, but I'm sure there are others.
Add Comment