Hacker Newsnew | past | comments | ask | show | jobs | submit | linusgroh's commentslogin

Because someone will ask this question: yes, there was an attempt to use Rust, and it's archived here: https://github.com/ADKaster/serenity-rust/


What issues did you guys run into?


Andreas (creator of SerenityOS) recently answered this on his livestream[1] at the 5:00 mark.

In his opinion, he says Rust was not good at modeling object-oriented programs and that Serenity is primarily object-oriented GUI programs.

1: https://www.youtube.com/watch?v=9U9rv4TqY80


Being closely integrated with the rest of the system & libraries is a feature, not a bug - no plans to change anything about it :^) That being said, it's definitely possible to use it outside of SerenityOS as a regular library, just need a checkout of the serenity source for that. See https://github.com/linusg/libjs-test262 for an example, specifically the CMake files and `src/main.cpp`.

The separate website is just to have a nice & short link to the test262 graph and whatever else we'll put there eventually; and also because it's built/deployed in a slightly different way than the main serenityos.org website.


Will LibWeb get its own site too?


"Maybe. Maybe not. There is no plan." [1]

Perhaps for WPT results, once we capture those regularly.

[1]: https://github.com/SerenityOS/serenity/blob/master/Documenta...


Lagom covers many libraries, including various ones used in the Browser/LibWeb (e.g. LibJS, LibWasm), but LibWeb itself is not part of Lagom and doesn't currently build or run on Linux. It's absolutely possible, but no one is working towards it specifically at the moment. There's a list of things needed to make that happen here: https://github.com/SerenityOS/serenity/issues/10968


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: