News for hackers. Stuff that matters.
Re:Kosmonaut: web browser from scratch in Rust by untog on Saturday August 15, 2020 @03:16PM (#24171451)
In theory. The Sciter engine is not far off that, though it uses its own scripting language:

https://sciter.com/

EDIT: reply to c-smile below (HN won’t let me reply, sigh):

My “in theory” was referring to Kosmonaut. Then I pointed out Sciter as evidence that something similar has already been done.

Re:Kosmonaut: web browser from scratch in Rust by UnnoTed on Saturday August 15, 2020 @03:29PM (#24171577)
The logic can be written in Rust with [1], it's exactly like he wants: rust[2] + css + html.

[1]: https://github.com/sciter-sdk/rust-sciter [2]: https://github.com/sciter-sdk/rust-sciter/blob/master/exampl...

Re:Kosmonaut: web browser from scratch in Rust by c-smile on Saturday August 15, 2020 @03:36PM (#24171654)
Why "in theory"? Here are real life applications: https://sciter.com/#customers
Re:Kosmonaut: web browser from scratch in Rust by untog on Saturday August 15, 2020 @06:19PM (#24172916)
My “in theory” was referring to Kosmonaut. Then I pointed out Sciter as evidence that something similar has already been done.