Comment

Comment by nicoburns

If you don't need JavaScript, then you might be interested in https://github.com/DioxusLabs/blitz.

It pulls in Servo/Firefox's CSS engine Stylo (and Servo's HTML parser html5ever) and pairs it with our own layout engine (which we are implementing mostly as libraries: Taffy [0] for box-level layout and Parley [1] for text/inline layout) and DOM implementation. Rendering and networking are abstracted behind traits (with default implementations available) and you can drive it using your own event loop.

Minimal binary sizes are around 5mb (although more typical build would be more like 10-15mb).

[0]: https://github.com/DioxusLabs/taffy [1]: https://github.com/linebender/parley

parent nicoburns 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton