
devtools.fm: Developer Tools, Open Source, Software Development Andrey Sitnik - PostCSS, Browserslist, Autoprefixer, Evil Martians
Jul 21, 2023
AI Snips
Chapters
Transcript
Episode notes
Use Lightning CSS For Performance
- Migrate to Lightning CSS for performance and modern architecture when feasible, since it's written in Rust and fixes hard PostCSS core problems.
- Retain PostCSS for experimental plugins or tasks harder to write in Rust until migration is practical.
Data Structure Beats Language Choice
- Performance gains depend more on data structures and algorithms than on whether a tool is written in native code.
- Careful memory and tokenizer design can make JS parsers outperform some native implementations.
Balance Core Features And Plugins
- Ship a small core set of built-in plugins that cover 80–90% of use cases and let teams enable or disable extras.
- Avoid forcing either an all-in-core monolith or a 100%-plugin minimal core as extremes.
