Remix.run Logo
tromp 4 days ago

How does "a very small (hence Pico), very simple, yet very secure encryption tool" come to depend on OpenGL, threatening its future on MacOS?

Timshel 4 days ago | parent | next [-]

> It's not easy to fix in the code either because it'll require major changes to the GUI library which can get messy, especially since GUIs were never a strength of Go.

Cthulhu_ 4 days ago | parent [-]

There just doesn't seem to be a lot of viable competition to web based UIs these days.

kevingadd 4 days ago | parent | prev | next [-]

If you're using a portable library that needs to render graphics on mac, it's probably using OpenGL to do it unless it has a platform-specific backend.

nicoburns 4 days ago | parent [-]

Historically, yes. These days it might well be using wgpu.

rollcat 4 days ago | parent | prev [-]

Immediate mode UI toolkits are designed for pluggable backends, some even can discover the appropriate backend at runtime. If you're writing a game, you're expected to (and actually, you must) build your own integration.

ImGUI and Nuklear each have 20+ backends in their repos: <https://github.com/ocornut/imgui/tree/master/backends> <https://github.com/Immediate-Mode-UI/Nuklear/tree/master/dem...>