News for hackers. Stuff that matters.
Re:Minimal Cross-Platform Graphics by kragen on Tuesday January 24, 2023 @11:43AM (#34506090)
since everyone else is posting links to their similar libraries, i thought i'd post mine too, https://gitlab.com/kragen/bubbleos/-/tree/master/yeso

it's probably a bit more efficient than fenster on x-windows because it uses shared memory, and i think the programming interface is a little nicer (see the readme above for code examples)

apps i've written in yeso include an adm-3a terminal emulator, a tetris game, a raytracer, an rpn calculator, a fractal explorer, and so on

i haven't ported yeso to win32/64, macos, android, or the browser canvas yet, just x-windows, the linux framebuffer (partly), and a window system implemented in yeso called wercam

it includes bindings for c, python (via cffi), and lua (via luajit's ffi), and presumably you could use it from zig or rust in the same way as fenster, but i haven't tried

Re:Minimal Cross-Platform Graphics by carapace on Tuesday January 24, 2023 @03:38PM (#34509961)
* * *
Re:Minimal Cross-Platform Graphics by kragen on Tuesday January 24, 2023 @04:31PM (#34510737)
yay