3 ms·
1) Learn Compiler Design 2) Write a Compiler for a better language 3) In new language, write a compiler for your new language 4) Retire from C programming, o
by keithnz 10y ago
1) Learn Compiler Design
2) Write a Compiler for a better language
3) In new language, write a compiler for your new language
4) Retire from C programming, occasionally come to Hacker News to reminisce about C programming and ways to avoid shooting yourself in the foot
- qznc 10y agoFortunately, Walter Bright did that. Now I can simply use his language to retire from C to D. :)
- e19293001 10y agoWriting a compiler in C that can compile it's source code is for me, the best thing to do before retiring from C programming.
- pjmlp 10y agoDid 1, 2 and 4 around 20 years ago.
- zild3d 10y agoor 1) Learn Embedded Design 2) Stay in C for another few decades
- nonsince 10y agoI'm in embedded, but I have a fair measure of autonomy so I've got some Rust code on our device. If nothing else, the cross-compilation story for Rust is absolutely _beautiful_. Just stick the toolchain path in a config file somewhere.