5 ms·
> Any application that can be written in JavaScript, will eventually be written in JavaScript. - Jeff Atwood (2007)
by oneweekwonder 2y ago
> Any application that can be written in JavaScript, will eventually be written in JavaScript. - Jeff Atwood (2007)
- peutetre 2y agoThe game is changing with WebAssembly though. Large JavaScript applications are replacing JavaScript bits with wasm: https://web.dev/case-studies/google-sheets-wasmgc https://web.dev/case-studies/google-sheets-wasmgc Any application that is written in JavaScript will have more and more of it replaced with WebAssembly.
- wiseowise 2y ago> Any application that is written in JavaScript will have more and more of it replaced with WebAssembly. Which is not a lot when it comes to web. Sure some algo heavy stuff like Figma will benefit from it, but GUI around it is still written in what?
- peutetre 2y agoJust do the whole thing in WebAssembly. Minimal dependencies and pixel perfect in all browsers. The distinction is applications versus documents. Works for Dart with Flutter: https://flutter.dev/ https://flutter.dev/ https://www.youtube.com/watch?v=Nkjc9r0WDNo https://www.youtube.com/watch?v=Nkjc9r0WDNo https://www.youtube.com/watch?v=qx42r29HhcM https://www.youtube.com/watch?v=qx42r29HhcM https://wonderous.app/web/ https://wonderous.app/web/ Works for C# with Avalonia UI: https://avaloniaui.net/ https://avaloniaui.net/ https://www.youtube.com/watch?v=6mwQDPlbF5Y https://www.youtube.com/watch?v=6mwQDPlbF5Y https://solitaire.xaml.live/ https://solitaire.xaml.live/ And so on.
- wiseowise 2y agoAmazing, just awesome. Long standing applause. Let’s regress to level of native apps without benefits of said native apps. No standardization, no performance, no unified integration. Let’s get rid of browser plugins that allow us to fight invasive ads and malicious JS scripts, let’s dump decades of expertise and optimizations, let’s undo all advancements of web just to be able to write same old <div> in C#. Nothing better than a single blob of <canvas>. It’s ironic that some of people in this thread convict JS devs of using only JS and then you use those “frameworks” as an example of a good thing when they don’t even have a separation of presentation (like HTML and JS) that would allow other languages tap into it. And all of this is with much worse performance and stability.* * - for now
- peutetre 2y ago> No standardization, no performance, no unified integration. WebAssembly has all of these things. WebAssembly already there, lurking your browser. That's why it will succeed. It's interesting how threatened you are by WebAssembly. But change is normal. Embrace the change.
- wiseowise 2y ago> WebAssembly has all of these things. Is that why Flutter demo you’ve linked takes 7 seconds to load on Firefox on iPhone 14 Pro and then barely works skipping frames? I can’t even select text on the page, since it’s just a big canvas, lmao. > WebAssembly has all of these things. WebAssembly already there, lurking your browser. That's why it will succeed. You mean how every of those frameworks that you’ve listed have to reimplement a11y every team, since WASM is pure logic? How all of them have to reimplement OS shortcuts and OS integrations? Is that what you call “unified integration”? > It's interesting how threatened you are by WebAssembly. But change is normal. Embrace the change. Why did I even bother replying to you, sigh.
- peutetre 2y agoAh, so what you want is Uno. It uses WebAssembly and the DOM: https://platform.uno/ https://platform.uno/ > Why did I even bother replying to you, sigh. I think it's because you're overwrought. Don't fear WebAssembly.
- wiseowise 2y agoThat’s actually good. If only it didn’t use XAML, but I guess you have to appeal to C# devs. > I think it's because you're overwrought. Don't fear WebAssembly. Not sure what’s you deal with these comments, as I’m not even a JS dev by trade, but okay.
- peutetre 2y agoI can only judge you by your actions. You have a lot of anxiety.