Hello WebAssembly
mono-project.com
mono-project.com
* we already transpile HTML, CSS and Javascript,
* react.js keeps an entire virtual DOM,
* the web isn't going away.
And if those new fat-apps are browser independent and cross-platform it still seems like a win :)
How will you install a webapp version of Adobe Photoshop? Will you download multi-GB every time you use it?
But imagine an app where each function (like, say, the levels filter) was downloaded as needed and cached. That might be possible sooner rather than later.
I'm sure there are plenty of reasons why that's a non-starter. But I don't think that it's impossible to have an application of whatever complexity running in a browser... I mean, I remember when doom came out and I had a hard time running it on my machine without tweaking the configuration. And now...
"Punish them" was not quite appropriate an expression indeed. Anyway, why should it bother you that Apple exists and continues to sell phones?
and please, please whoever is doing it - the performance will be crap compared to instant desktop. you can't get around it. it doesn't matter how powerful PC or how fast internet connection will be. I see it on gmail with my 100 mbs connection all the time, PC being quite performant one. when it was 800 mbs nothing changed.
I can accept it in gmail/facebook/whateva where expectations are low, but for anybody doing serious work in these tools, it will be frustrating, annoying experience for foreseeable future. As an complement to desktop app (say on the roads), why not. But nothing more
Also https://blog.figma.com/webassembly-cut-figmas-load-time-by-3...
Browsers usually maintain a cache of compiled bytecode.
Somebody is going to come up with a CMS that "compiles" websites to monstrosity WASM applications. Hopefully the types of websites I interact with won't be the kinds for whom such a horrible idea has appeal.
I see a lot of ways this could go wrong.
WebAssembly has the potential to say play video games, including AAA titles, without having to install anything on your computer. Same goes for many software projects such as CAD, office, video editing... You could use all this from your browser.
I don't know about you, but I find this perspective very exciting.
It depends on how you define "being installed". All files living on FileAPI and IndexedDB does not make too much difference than using direct file access and SQLite. They will be cached and they will live on your computer. Well, at least until your browser faces storage pressure and decides to randomly delete website data.
I mean, yeah, everything lives in a sandbox and there's potentially less security issues. Not having to give admin privileges to an application which allows you to build houses out of blocks is a good idea. On the other hand, the capabilities of the platform is increasing like crazy and it's just a matter of time before it converges with the operating system itself.
So, I don't know. The whole situation is weird. I think we needed better operating systems with granular permissions and we're getting there using a very convoluted way.
Precisely. It's sandboxed. I very much like the idea that I could run any proprietary software inside a sandbox, and reserve "hard install" to FOSS.
Also, I just can't ignore the convenience factor.
I could even imagine something like a browser but with no HTML or DOM. With just WebGL and maybe a few other APIs you could have a really awesome app platform.
Regardless, when there does come a time that WASM has full DOM access you'll just be replacing a ton of JavaScript and other code with WASM bytecode. Today you can already transpile many languages to JavaScript and some frameworks even allow you to never even touch JavaScript and still create web applications. I don't see this being much different with the exception that you'll no longer be required to used or transpile to JavaScript and this could end up faster (that's a big COULD and will probably depending on what you're doing and how).
You can run Qt apps in the browser, for instance.
If by "just" you mean "exclusively," then no.
I would be willing to bet that the vast majority of content on the web even today isn't "webapps" but basic HTML, maybe with some JQuery or Google analytics somewhere, but more or less still just documents. Webassembly augments what can be done in the browser, but it still serves a niche set of use-cases when the whole web is considered.
Until the day comes when you can't publish anything to the web without a compiler toolchain then I wouldn't worry.
-Encrypt web content with a hash of the current time
-Tell Ad provider that hashing method and have them serve that decryption key with each ad
-Embed a HTML renderer inside wasm which decrypts the web content and renders directly to canvas, ads included
-If Ad provider is domain blocked, mine bitcoins to pay equivalent cost of an ad click, trading the bitcoins for the decryption key
It's the end of ad block and userscripts.
[1] https://github.com/SteveSanderson/Blazor / https://github.com/ncave/dotnet-js
It's also mature enough nowadays, so I'm going to use Mono for future projects.