4 ms·
I've been dipping back into native/systems programming lately and it's honestly no better over there. I starting writing code in C again, because I really enjo
by llmblockchain 2y ago
I've been dipping back into native/systems programming lately and it's honestly no better over there.
I starting writing code in C again, because I really enjoy the simplicity. I wanted to use some nice-isms in C++ (function overloading, some encapsulation with struct) so I wrote C code, but leveraged the C++ compiler with a few features enabled by C++.
1) C++ programmers hate my code because I don't use the stl, containers, etc.
2) C++ programmers hate my code because I don't use referencing counting, "safe" pointers. Instead I raw dog it and wrote my own memory arenas (I alloc memory once at program start and free at the end).
3) C programmers hate my code because it leverages some C++-isms when it's convenient.
4) Rust programmers hide in fear and regard everything I do as unsafe, dangerous and borders on undefined behavior (they are like helicopter moms).