3 ms·
For any graphic intensive application it would be obviously be necessary to use a GPU. But for quick hacking / porting old demos / writing emulators and also t
by stephc_int13 4y ago
For any graphic intensive application it would be obviously be necessary to use a GPU.
But for quick hacking / porting old demos / writing emulators and also text based UI it can be fast enough.
With the added benefit of small footprint, high compatibility and fast startup time.
The Lite editor https://github.com/rxi/lite https://github.com/rxi/lite is using pure software rendering (on top of SDL) in a rather naïve fashion but it still renders full 32bit colors at full resolution at more than 60FPS on my computer, not the best solution but still surprisingly fast given the simplicity of the renderer.
This is typically a case where simple/naïve can beat a juggernaut like Electron.
- wokwokwok 4y ago> is using pure software rendering (on top of SDL) in a rather naïve fashion https://github.com/rxi/lite/blob/master/src/rencache.c#L4 https://github.com/rxi/lite/blob/master/src/rencache.c#L4 I think you'll find that they found the naive approach was sufficiently poor, performance wise, that additional optimizations had to be applied on-top. > But for quick hacking / porting old demos / writing emulators and also text based UI it can be fast enough. /shrug If you want to use it, use it. It's 'good enough'... > if you vastly lower your expectations