News for hackers. Stuff that matters.
Re:Cosmopolitan v3.1 by Conscat on Sunday November 19, 2023 @10:16PM (#38341835)
Even without the syscall dispatch, it's a very well optimized standard C library that you can statically link.

Although personally, the lack of dynamic linking or GPU acceleration makes it a hard sell for my projects, unfortunately.

Re:Cosmopolitan v3.1 by phire on Monday November 20, 2023 @03:28AM (#38344662)
This release added cosmo_dlopen, which works on many platforms (but not all).

Should be enough to allow you to find the vulkan loader and dlopen that. I'm not sure what you would do on mac, statically link moltenvk? Or maybe it would be better to use OpenGL on all platforms, and be stuck with OpenGL 4.1 (which isn't too bad, but it would be nice to have image load/store).

Re:Cosmopolitan v3.1 by Conscat on Monday November 20, 2023 @08:15AM (#38347490)
Omg that's huge!
Re:Cosmopolitan v3.1 by paulclinger on Monday November 20, 2023 @03:29AM (#38344670)
FWIW, there is ongoing work on dlopen; it was introduced 2 weeks ago (https://github.com/jart/cosmopolitan/commit/5e8c928f1a37349a...) and continued after that.