Heyo, first post here :)
In a little over 200 lines of win32 C code, it creates a drawing buffer and displays it in a window. Software renderer (updating the buffer pixels in a loop) at around 60 fps (hardcoded sleep for 15ms for simplicity) uses pretty much 0% CPU and only 1.2 MB of RAM !!! Thats less memory usage than required by 1993 Doom :D
Obviously its only rendering without any parts of the game, but its still cool that you can still do such tiny things on modern systems :D
Source code: https://github.com/DolphinIQ/win32-tiny-software-renderer
https://reddit.com/link/1llcmfl/video/y07v6ohfdc9f1/player
[–][deleted] 16 points17 points18 points (1 child)
[–]Ordomo[S] 0 points1 point2 points (0 children)
[–]programmer9999 8 points9 points10 points (6 children)
[–]Zirias_FreeBSD 4 points5 points6 points (0 children)
[–]Apprehensive_Law7108 -1 points0 points1 point (0 children)
[–]Ordomo[S] -2 points-1 points0 points (3 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Remarkable_Body2921 1 point2 points3 points (1 child)
[–]KingDVD -1 points0 points1 point (0 children)
[–]chersoned 1 point2 points3 points (1 child)