Live data from Hacker News

CSS is DOOMed

nielsleenheer.com

111–120 of 120 posts

Re: CSS is DOOMed

#111
post #27

Earlier quoted context omitted.

The only thing missing is the ergonomics of a real programming language.

I like the declarative nature of it. It makes it so easy to debug anything, with "simple" introspection tools. I feel that many horrors will be created when we introduce control flow to CSS. And this project kinda show how far you can go, still, if you really want it :D

A functional language should be able to do both.

Re: CSS is DOOMed

#112

This feels like one of those “because we can” projects that accidentally reveals where the platform is going. CSS started as purely declarative styling, but between things like conditionals, math functions, and now these rendering tricks, it’s slowly creeping into “programmable system” territory. Not because it’s the right tool for it, but because browsers are becoming the real runtime. The interesting question isn’t…

My first thought along these lines was "do I now need a NoCSS plugin along with NoScript"

at what point is CSS powerful enough to become a malware vector.

Re: CSS is DOOMed

#114

Is CSS that awesome? It's still a language designed for styling webpages with 30 year of added features. I'd argue something purpose built would be a much better tool for the potential usecases people try to use CSS for now. I guess I am asking, if modern CSS is so awesome, it's awesome compared to what exactly?

I'm asking the same question! No doubt the very loudly opinionated not-web-dev community, who have So Much To Say about web devs and web tech, have produced an uncontroversial, perfect layout system, styling system, and language to produce the replacement for this awful web tech. Where is it? What is it? Please provide (the better version of) a hyperlink to the docs.

There's decades of UI frameworks where the structure of the elements/widgets dictates the layout. HTML/CSS doesn't do that, because it is clearly made to style text documents, not UIs.

So yes I will argue that Qt6 and GTK are better than flexboxes.

Because you asked for it, here's some documentation to a UI framework which I believe to work better than the web stack: https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/index.html

Re: CSS is DOOMed

#116

CSS is /the/ spec to look at to understand how awful something designed by committee gets. In web specs closely rivaled by SVG. You can pick which one is uglier and you'll be right.

Crazy that the future of software development now looks like we'll all be making UIs with specs that just a few years ago didn't allow you to trivially center a widget in a container.

Re: CSS is DOOMed

#117
post #69

The fact that Claude is killing CSS officially means we need to switch back to IRC or something. AI is a parasite we cannot integrate but only avoid. (P.s. if you work in AI, stop, you are literally destructive to humanity.)

How is Claude killing CSS? I don't get it.

Re: CSS is DOOMed

#118

This feels like one of those “because we can” projects that accidentally reveals where the platform is going. CSS started as purely declarative styling, but between things like conditionals, math functions, and now these rendering tricks, it’s slowly creeping into “programmable system” territory. Not because it’s the right tool for it, but because browsers are becoming the real runtime. The interesting question isn’t…

LLM generated comment

Re: CSS is DOOMed

#119
post #7

Creating 3D scenes with CSS has always been possible[0], but like this project, it's required JavaScript for interactivity. But there's a lot more CSS features now. While in the past, Turing completeness in CSS required humans to click on checkboxes, now CSS can emulate an entire CPU without JavaScript or requiring user interaction.[1] So I wonder if DOOM could be purely CSS too, in real time. [0]: https://keithclark…

The author links to th CSS x86 project: > Yes, Lyra Rebane build a x86 CPU completely in CSS, but that technique is simply not fast enough for handing the game loop. So the result is something that uses a lot of JavaScript.

(author of x86css)

not only do i think doom in css is possible, but both me and another css person were also planning on actually making it into reality

but it sort of feels demotivating to see js-powered css projects like this hit the frontpage, because if we do eventually make a css-only doom people will think its a repost or nothing special

edit: and to be clear, that demotivation is more of a problem of how the internet, virality, and news cycles work. the actual project here is still pretty cool!

Re: CSS is DOOMed

#120

While standalone CSS is not yet Turing complete, I worry about the new attack vector categories opened up by moving it towards that state. Already I believe attackers have a choice to spread the attack payload between CSS, HTML and JavaScript to evade current detectors and analysis at the network borders, and evade CSP's since we're well into undecidability territory, like using CSS attribute selectors if the CSP all…

> While standalone CSS is not yet Turing complete Looks like it is, though? https://news.ycombinator.com/item?id=47558097

Oh yep, looks Turing complete just not performant enough for that use case. But that’s not an issue for APT-style attacks that take their sweet time. So am I off base here?
Post reply on HN