3 ms·
I'm both excited about cross-language but also I think the people you describe as potential beneficiaries are those most apt to suffer under the new (anti-)regi
by jauntywundrkind 3y ago
I'm both excited about cross-language but also I think the people you describe as potential beneficiaries are those most apt to suffer under the new (anti-)regime.
> And the fact that now you can program a website in a language other than Javascript (or TypeScript) is a very tangible accomplishment that people who aren't enamored with computer science can appreciate, understand, and repeat.
Industrial software dev has resulted in gross difficult minified bundles & absurdities like vdom that are hard to view-source hack. But there's pretty ok un-minifying & it's surprisingly possible to get really far, if a user wants to seize the power & do some userscripting.
And many in the webdev world have steadily been trying to push back against this rampant industrialization. HTTP2 and ESM were hopefully going to make unbundling more viable, but that's still long suffering (ex: import-maps don't work for workers, https://github.com/WICG/import-maps/issues/2 https://github.com/WICG/import-maps/issues/2), and now that the http cache doesn't work cross-site many of the possible re-use upsides are dead. Still a goal for many though. WebComponents is still a vast un-frameworking potential; in many implementations it unravels the descent into abstraction that React framework begat. Classic web devs have a lot of heart to make the web pro-user, to un-framework things, but the industrial demands are hard to re-satisfy on these better paths & so much momentum is elsewhere.
Now compare to the wasm world. We have basically pure machine code running our web in wasm. It's utterly unintelligible. There's dozens of hundred of kb libraries that languages bring in to userland just to do the language thing. I think people will have an incredibly poor time learning the web, think the worst risk wasm has is in scaring people off from view-source, from casually observing & learning anything. Wasm is god smiting the tower of Babel, is a one language breaking & being cast down & a hundred different tribes speaking their own language. So much good will come from this diversity, we'll see so many different styles & tries from so many camps, and that will be a benefit, but it will in my view be drastically harder for those "who aren't enamored with computer science can appreciate, understand, and repeat." Intelligibility is the loser, when Babel falls.
- gwbas1c 3y ago> We have basically pure machine code running our web in wasm. It's utterly unintelligible. Whenever technology changes there's always an argument against the new thing. In this case, I don't think that argument has merit. We've been running various flavors of compiled code since (almost) the beginning of computers, and the merits and drawbacks of that approach are well understood.
- jauntywundrkind 3y agoThe web has been distinct & unique & closer to "the language of the gods" for being much better, more pro-user than the old industrial-computing compiled ways. Many webdevs got their start from view-source (and many would have been lost to computing if we were just another compiled blackbox). The aliveness of the web contrasts to the dead programming variety. The erosion of this aliveness & legibility has been mourned, and should be. It is worth fighting for the user. I don't think your argument has merit, that merits can be ignored because this is how computers always used to be. Wasm's return to the dark times of industrialized blackbox computing will cut off the best users from the joy of being closer to the machine that they had on the web, and that return to darkness is a sad plight for mankind, even if that's how it always used to be. I treasure the light of the open alive web, and hope somehow it can survive this voyage into shadow.
- ryukafalz 3y agoWe can and should provide a "view source" equivalent for native code as well. Package managers like Guix that know where to find the source and how to build it are a good step forward there. Text formats can be minified and obfuscated, binary formats can include mechanisms to see and experiment with the source. It's all about the tooling you have, what that tooling makes easy, and what it makes hard.
- c-cube 3y agoAnd what, pray tell, does view-source look like in typical SPA? Even in the debugger (if the beginner knows what that is), what will the minified bundle of 50 libraries look like?
- jauntywundrkind 3y agoSure, we can Whataboutism the good to death. There's so much Whataboutism to find here. Does that Whataboutism wet blanket mean it should be that way? Does it mean we should make the situation even more infernal and bad?
- cercatrova 3y ago