Skip Navigation
106 comments
  • C holding a gun: "if you segfault it's your own fault"

    • Assembly (Octopus swimming alone since birth): "compiler? what's a compiler"

  • Use streams, or fmt. fprintf is for C. It's like people buying a cheap android phone, then going for an iPhone.

    I don't blame you though, C++ carries a lot of baggage. Modern C++ is pretty nice, though, as is Rust.

  • A quick -Werror=format -Werror=format-nonliteral -Werror=format-security will solve all your printf woes.

106 comments