Hacker News new | ask | show | jobs
by flohofwoe 44 days ago
OTH all the complexity ends up baked into the browser where it will be frozen forever (even the shitty/overengineered ideas, like WebAudio). At least frameworks can be discarded and replaced when something better comes along.

IMHO even HTML+CSS should be completely implemented outside the browser in the 'framework layer', but I guess that's not a very popular opinion among the more 'conservative' web devs ;)

3 comments

That would mean some shitty load times for even the most basic web site.

But there is probably a world where what you’re describing is possible with WASM and Canvas. Would need to solve for accessibility though.

If that means having an "HTML+CSS framework" that I could easily swap out for a "Typst framework" and publish my blog using Typst, then sign me up!

Meanwhile, there's Typst bundles [1], still experimental, that implement the same idea backwards: convergint a Typst project into a set of output files (which can be HTML).

[1] https://typst.app/docs/reference/bundle/

I support this idea if only for how grandiose it is. It gave me many ideas... lets see how many downvotes they may earn.

We could version js, css and html and and <script version="2026"> with a distributed archive of polyfills to preserve all of the well intended left handed screwdrivers, board stretchers, blinker fluids, chocolate teapots, inflatable dartboards and other fool's errands, the entire stampede of white elephants.

An even wilder idea is to move all of the [sound] pro-framework talking points into the browser. People who don't like it can stay in 2026.

But the ultimate vision is to just support all programming languages. <script type="text/COBOL"> <script type="text/FORTRAN"> <script type="application/brainfuck"> etc etc