3 ms·
You can write raw pixels to the screen with a HTML canvas and JS - no need to do it with low level code and making your own OS.
by chrisseaton 10y ago
You can write raw pixels to the screen with a HTML canvas and JS - no need to do it with low level code and making your own OS.
- corysama 10y agoI bet you could go from main() to displayBufferOnScreen(unsigned char *buffer) in a couple dozen lines of C using SDL.
- voltagex_ 10y agoThis is a good idea, as is the Javascript one above.
- vram22 10y agoOr with different desktop GUI toolkits for different languages: C++ w/Qt, C++ w/ wxWidgets, wxPython, Perl/Tk, Python +Tkinter, Delphi, Lazarus, or many other lang/toolkit combos. Even many BASICs have that ability built-in (from the early days of personal computers).