3 ms·
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
by Conscat 3y ago
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.
- phire 3y agoThis 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).
- Conscat 3y agoOmg that's huge!
- paulclinger 3y agoFWIW, there is ongoing work on dlopen; it was introduced 2 weeks ago (https://github.com/jart/cosmopolitan/commit/5e8c928f1a37349a8c72f0b6aae5e535eace3f41 https://github.com/jart/cosmopolitan/commit/5e8c928f1a37349a...) and continued after that.