3 ms·
Scheme in the browser would have been fine. Scheme in the hot path of every single restyle, not so much.
by pcwalton 10y ago
Scheme in the browser would have been fine. Scheme in the hot path of every single restyle, not so much.
- panic 10y agoWhy not? Modern JIT compilers generate very fast code.
- pcwalton 10y ago"Very fast" in this case is not enough for restyling. It is incredibly performance sensitive. A 2x slowdown over the optimized C++ (for example) would be unacceptable.
- talideon 10y agoI don't follow you. If, say, browsers used Scheme rather than JS, they wouldn't be any slower. If a CSS-equivalent used s-expressions but was otherwise CSS, that's just syntax.