logoalt Hacker News

dmitrygrtoday at 3:54 AM2 repliesview on HN

There is absolutely no reason for css to be turing complete. None. That being said, well done


Replies

notepad0x90today at 5:30 AM

Can an argument be bade that CSS only exists becuase javascript failed to develop a styling component to displace it?

I like to think webassembly is the right track. But ECMAScript and CSS alike need(ed) to devolve into a simpler byte-code like intermediary language syntax.

Browsers supporting complex languages has always been a bad idea, what they need to support is capabilities, and access and security primitives. wasm hasn't displaced javascript, because afaik, the wasm spec for browsers doesn't require them to implement javascript (and ideally, CSS) via wasm.

Instead of distilling, simplifying and speccing CSS and Javascript, browsers caked on layers upon layers of complicated features. The idea that browsers should define and regulate the languages developers use to write front-end code needs to die.

show 2 replies
naillangtoday at 12:16 PM

[dead]

show 1 reply