Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Re-implementing an old DOS game in C++ 17 (2019) (lethalguitar.wordpress.com)
54 points by throwup238 on Jan 25, 2024 | hide | past | favorite | 4 comments


Related:

Re-implementing an old DOS game in C++ 17 (2019) - https://news.ycombinator.com/item?id=31046598 - April 2022 (25 comments)

Re-implementing an old DOS game in C++ 17 - https://news.ycombinator.com/item?id=20037813 - May 2019 (23 comments)


Will be nice to see a side by side "exe" comparison. And memory usage.


What do you want to compare?

x86 real mode code with 16-bit pointers writing directly to the VGA framebuffer vs. amd64 code with 64-bit pointers calling high-level libraries.


How different is "if" and "for" between oldest C and the newest C++? If you don't change your approach to programming, such as by switching to map/filter/reduce, how can you reduce number of lines?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: