|
You might want to have a look at Soie: https://soie.slitaz.org/ https://news.ycombinator.com/item?id=50767072 https://hg.slitaz.org/soie >"Soie is a web engine written from scratch in plain C99: HTML, CSS, JavaScript and video in under 60,000 lines of code, plus QuickJS and FFmpeg as dependencies. It fits in a download under 800 KB, runs on the 32-bit PCs every big browser has left behind and leaves the memory of new machines to the work that matters." Soie is written in C (C99) -- but keep in mind that you could potentially ask your AI/LLM of choice to convert parts of it to Rust, as you needed, or you could use those samples of code as examples and prompt something like: "I need a clean-room implementation of the above code, written in Rust. Do not translate it line-by-line, instead, use it as an example to search for similar open-source code on the web, and then write me a clean-room implementation in Rust". Soie, as far as I can tell, is web browser source code which is not overengineered, that is, it doesn't run into millions of lines of unnecessary source code, and it correctly farms out JavaScript interpretation to QuickJS, which is another excellent not-overengineered library for JavaScript, and FFmpeg for video playback -- which is a reasonable choice. Anyway, good luck in your quest! |