Post

Avatar
There was a period where we thought the web browser could become a low level general purpose runtime and we'd install things like sqlite or ffmpeg as wasm bundles I haven't dug deeply enough to say that dream is 100% dead, but I can tell you that ffmpeg.wasm is not a winning solution
Avatar
just the ffmpeg flags list alone would require a 6TB download
Avatar
We should go back to ActiveX controls and Java applets. We used to be a country.
Avatar
the lake ripples were SO realistic
Avatar
My eye just twitched at the mention of ActiveX I thought I had worked past that
Avatar
I have seen things you people wouldn't believe. Microsoft ActiveX controls running in Netscape Navigator via Java applet wrappers.
Avatar
Avatar
Avatar
VBscript used to work in Internet Explorer
Avatar
I supported a Medical Transcription application that was essentially that in an ActiveX app This software ran in a Hospital... A HOSPITAL!!!
Avatar
Avatar
C beams firing off the shoulder of Orion
Avatar
Avatar
All those moments will be lost in time, like cookies in a cache. Well, time to defrag.
Avatar
Oh good lord no—those words alone still hurt me to the core
Avatar
Had to support one of these as a core business process. The Java applet wrapper was hard coded to some piece of shit Java 1.3 client
Avatar
Avatar
Avatar
we, uh, still have some customers using our long-since-deprecated flash interface for things at work.
Avatar
Avatar
brb going to install runescape
Avatar
I wrote an ActiveX control once. Once.
Avatar
WASM was supposed to replace JS and instead JavaScript is alive and WASM is being used to embed LLMs into fonts
Avatar
Avatar
everyone realized there's no money to be made in the browser, so everything these days is focused on the server-side use case
Avatar
The bundle size is bad enough but then runtime performance is a nonstarter. I haven't looked deeply enough to say if there are optimizations in ffmpeg's build or wasm runtime features to add which could improve the situation.
Avatar
But your point seems to be, even if there were, they're not going to happen
Avatar
at least not any time soon, yeah. which also gets to another problem with wasm: totally insular. there is no way to really know what's going on, because they don't talk about it
Avatar
anyway i'm mostly just bitter because i bought into that early vision hard and it didn't have to go this way. but it did. and just to be clear, i do think server side wasm is also a good idea. but both were very cool conceptually.
Avatar
Can you perhaps explain what you mean by "insular"? From my perspective wasm is developed very openly, in public repos/meetings/talks. I'm not sure what more we can do, so suggestions are welcome! (Apologies if I've misunderstood your point here. I read it a few times but am not sure I follow.)
Avatar
Interning with y'all at mozilla wasm (and a lot of the other things in ET) was so cool and exciting, it's sad it turned out this way :(
Avatar
Avatar
I’d love to be wrong!
Avatar
i think y'all are right for the current moment, but on a longer time scale (5+ yrs, e.g.) i think we'll see wasm find more purchase. prolly not gonna be installing fmmpeg, tho, to paul's point)
Avatar
gif unrelated - i just had to use it 🤣
Avatar
haha :) i do love that show
Avatar
"lick rust" actually seems pretty accurate for modern WASM development
Avatar
Avatar
There are also practical reasons for sqlite in frontend web jlongster.com/future-sql-web ("10x perf improvement")
A future for SQL on the webjlongster.com
Avatar
now with sqlite's official opfs (origin private filesystem) based wasm implementation, it's a lot faster, only being about 2-4x slower than native for large amounts of queries sqlite-wasm-opfs.glitch.me/speedtest.html
Performance Comparison of SQLite/OPFS versus WebSQLsqlite-wasm-opfs.glitch.me
Avatar
okay this is fucked up
Avatar
funny how we're circling back to sqlite in web again after we replaced websql for indexeddb
Avatar
Not as much as saying bringing back ActiveX would fix the issues wasm had would be.
Avatar
are wasm vector intrinsics that bad?
Avatar
When supported they're not terrible, but they'll never outcompete hw accel
Avatar
oh right I forget codecs actually get their own space on the chip