4 ms·
It's interesting to see Windows in the list of platforms to be supported. LibJS itself was very interesting, but unfortunately it depends on a bunch of other S
by gigel82 4y ago
It's interesting to see Windows in the list of platforms to be supported.
LibJS itself was very interesting, but unfortunately it depends on a bunch of other Serenity libraries (AK, LibCore, etc.) which in turn heavily depend on POSIX.
I'm curious if that means they want to make LibWeb / LibJS actually portable C++ code and how they plan on achieving that (hopefully without introducing a POSIX compatibility layer on win32 like msys or whatever).
- myfonj 4y agoFAQ in there [1] states "Windows (WSL)" with no mention about plans for native Windows build. [1] https://awesomekling.github.io/Ladybird-a-new-cross-platform-browser-project/#q-which-platforms-will-ladybird-support https://awesomekling.github.io/Ladybird-a-new-cross-platform...
- gigel82 4y agoThat's just confusing, they shouldn't include Windows at all. WSL is a virtual machine running a Linux kernel. It's akin to saying Microsoft Office runs on Linux; you just need to set up a VM running a Windows kernel first :)
- webprofusion 4y agoYes it's confusing and running on WSL isn't really the same as running on Windows. I've just tried it, and it's early days- there are hundreds of thousands of edge cases to consider just to get it really "working" on linux, so it's no easy task. On the other hand , implementing a posix compatibility layer for Windows for just the things you need to support in the browser is relatively easy.
- niutech 4y agoTheoretically it should be possible to build Ladybird for Windows using Cygwin. For now, you can run an AppImage in WSL: https://github.com/SerenityOS/ladybird/issues/33#issuecomment-1192095045 https://github.com/SerenityOS/ladybird/issues/33#issuecommen...