3 ms·
C/C++ is a good choice, today. Perhaps have Zig, Rust and Julia (etc) as a companion chapter, on other languages?
by erwincoumans 5y ago
C/C++ is a good choice, today. Perhaps have Zig, Rust and Julia (etc) as a companion chapter, on other languages?
- _vvhw 5y agoSure, C is a fine choice today. However, since the subject matter in this book can potentially have a half life of 10-20 years, perhaps a more modern C in the same performance space with easy compilation and quick learning curve might be better?
- adgjlsfhk1 5y agoI think Julia would be a great choice for this. It's features like @code_native to get machine code are great for doing this sort of performance analysis. Also, it has many of the algorithms mentioned already implemented in the language, so it would be relatively easy to translate.