4 ms·
I'm having a hard time imagining how 20k lines of code gets a browser with no libraries. Just zlib by itself is 12k lines. freetype is 30k lines, or stb_truetyp
by socalgal2 9mo ago
I'm having a hard time imagining how 20k lines of code gets a browser with no libraries. Just zlib by itself is 12k lines. freetype is 30k lines, or stb_truetype is 5k lines. Something doesn't seem like it's adding up. Am I missing something? Is this just calling into the OS for rendering?
- embedding-shape 9mo agoNo Rust dependencies. Commonly available system libraries/frameworks are used for the actual drawing. The README of the repository outlines exactly which ones are being used on what OS.
- senko 9mo agoOn Linux, there are 78 dynamically linked libraries, such as for X11, vector graphics, glib/gobjectlibgobject, graphics formats, crypto, encryption, etc.