News for hackers. Stuff that matters.
Re:Languages Which Almost Became CSS by pcwalton on Tuesday June 28, 2016 @03:18PM (#11996666)
Scheme in the browser would have been fine. Scheme in the hot path of every single restyle, not so much.
Re:Languages Which Almost Became CSS by talideon on Wednesday June 29, 2016 @11:25AM (#12002216)
I 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.
Re:Languages Which Almost Became CSS by panic on Tuesday June 28, 2016 @06:59PM (#11998255)
Why not? Modern JIT compilers generate very fast code.
Re:Languages Which Almost Became CSS by pcwalton on Tuesday June 28, 2016 @08:27PM (#11998661)
"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.