←back to thread

233 points monax | 4 comments | | HN request time: 0.652s | source

We’ve been working on Vaev, a minimal web browser engine built from scratch. It supports HTML/XHTML, the CSS cascade, @page rules for pagination, and print-to-PDF rendering. It even handles calc(), var(), and percentage units—and yes, it renders Google.com (mostly).

This is an experimental project focused on learning and exploration. Networking is basic (http:// and file:// only), and grid layouts aren’t supported yet, but we’re making progress fast.

We’d love your thoughts and feedback.

1. throwaway2037 ◴[] No.44026229[source]
This C++ code is wildly modern. Very impressive. Using only the GitHub web interface, I could not find the definition for Gc::Ref. Where can I find it?
replies(2): >>44026358 #>>44026626 #
2. Lockal ◴[] No.44026358[source]
Probably this - https://github.com/skift-org/karm/blob/main/src/libs/karm-gc...

And this is not a garbage collector in the traditional sense, more like arena with smart pointers.

replies(1): >>44026392 #
3. monax ◴[] No.44026392[source]
It's just a placeholder implementation, we will have a proper GC when we get to it
4. lodovic ◴[] No.44026626[source]
I had the same reading the source code - it's an interesting mix of traditional c++, while some of the projects use the latest c++20 features with modules. The GC::Ref seems to come form the karm-gc library. (according to copilot)