Show HN: Bamboo – build-time, Rust/Oxc, type-safe, zero-runtime CSS-in-JSbamboocss.com 1 pointgajus4 days ago2 commentsSaveHideCopy link On HNComments−gajusOP4dThere is a lot of jargon in the title, but the key things to know about Bamboo are that:* it eliminates all runtime overhead for static styles* it pre-computes all dynamic styles leaving only boolean logic in runtime* parsing all your source code is computationally expensive, therefore parts of Bamboo are written in Rust and leverage Oxc to make it fastHappy to take any questions−gajusOP4dIf you are curious how it compares against StyleX and Panda, I made a public benchmark https://github.com/gajus/css-in-js-arena
Comments
There is a lot of jargon in the title, but the key things to know about Bamboo are that:
* it eliminates all runtime overhead for static styles
* it pre-computes all dynamic styles leaving only boolean logic in runtime
* parsing all your source code is computationally expensive, therefore parts of Bamboo are written in Rust and leverage Oxc to make it fast
Happy to take any questions
If you are curious how it compares against StyleX and Panda, I made a public benchmark https://github.com/gajus/css-in-js-arena