3 ms·
You must view the browser with JS and WASM as a unit. The browser renders it's own GUI too, it's not OS native The browser uses lots of resources too. The br
by croes 5y ago
You must view the browser with JS and WASM as a unit.
The browser renders it's own GUI too, it's not OS native
The browser uses lots of resources too.
The browser is kind of a plugin to the OS and must be updated separately.
Java nowadays is pretty fast too.
Java VM serves a platform for multiple languages like Scala, Kotlin, Clojure.
Let's face it, the browser is the new JVM and a soon it gets the same permissions like the JVM to access the file system and such, we get the same problems.
- Dzugaru 5y ago> a soon it gets the same permissions like the JVM to access the file system and such Like... never? We get better systems as we get more experience. That's why C# was better than Java, Java today is better than Java was when C# launched. That's why we now have amazing languages like Rust and also that's why the same problems will never be the same given we have a ton of experience with VMs, docker, sandboxing in browsers etc.
- westurner 5y agoFrom https://news.ycombinator.com/item?id=24052393 https://news.ycombinator.com/item?id=24052393 re: Starboard: > https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres... : "Subresource Integrity (SRI) is a security feature that enables browsers to verify that resources they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match." > There's a new Native Filesystem API: "The new Native File System API allows web apps to read or save changes directly to files and folders on the user's device." https://web.dev/native-file-system/ https://web.dev/native-file-system/ > We'll need a way to grant specific URLs specific, limited amounts of storage. [...] > https://github.com/deathbeds/jyve/issues/46 https://github.com/deathbeds/jyve/issues/46 : > Would [Micromamba] and conda-forge build a WASM architecture target?
- kierangill 5y ago> You must view the browser with JS and WASM as a unit “Web” assembly is a bit of a misnomer. It’s an IR at the end of the day and can be run without a browser[1]. But your other points could be true one day if the de facto WASM runtime becomes bloated or decides to ship with some GUI renderer. [1] https://github.com/bytecodealliance/wasmtime https://github.com/bytecodealliance/wasmtime