3 ms·
I am a big fan of single header libraries. And libraries that i not just link to, but which i am allowed to reuse and compile myself. Then i gut that library an
by Arwill 4y ago
I am a big fan of single header libraries. And libraries that i not just link to, but which i am allowed to reuse and compile myself. Then i gut that library and remove everything i don't need. Less code, less space, less runtime and less potential bugs hopefully.
For example there is a single header library HTML renderer and its fast, but does not run JavaScript.
And there is for example Chromium, which is the complete browser experience, but its 10GB source code, no sense in trying simplifying any of that.
- _gabe_ 4y ago> For example there is a single header library HTML renderer and its fast, but does not run JavaScript. What library is this and does it support CSS? I'm using RML UI right now, and I'm pretty happy with it but it's pretty bloated imo. I'd love to switch if I could :)
- Arwill 4y agoIts technically not a single header, but almost. I was thinking about litehtml. Specifically this recipe: https://twitter.com/ocornut/status/890210588600565762 https://twitter.com/ocornut/status/890210588600565762 I am already using ImGUI, and its a bonus if i don't have to include another font engine.