Earlier quoted context omitted.
The early 2000s were too early for that for Java. Before Java 6 in 2006 JVM wasn't a good target for dynamically typed languages. In Java 6 they added some support but it wasn't very efficient. In 2008 they started serious work on fixing this, and that work went into Java 7 in 2011. The .NET CLR on the other hand was designed from the start to be a good target for all types of language and was superior to JVM at this…
Before 2006 there was very little demand for dynamically typed languages. So it was not an issue. Dynamic typing was even accepted thing for general purpose programming. It was just a curiosity. It's strange how mainstream programmers are always stuck into fads and superstition.
Making WebAssembly a first-class language on the Web
271–280 of 287 posts
Re: Making WebAssembly a first-class language on the Web
#272Earlier quoted context omitted.
I am excited by the prospect of booting Wasm binaries without any JS glue, but when I've looked at the documentation for the component model and WIT it says that resources are references passed using a borrow checking model. That would be a serious downgrade compared to the GC-managed reference passing I can do today with Wasm GC. Do you know if there are any plans to resolve this mismatch?
Relevant: https://github.com/WebAssembly/component-model/issues/525 In my experience people are often disappointed by the shared-nothing architecture of the component model. I guess that shared-nothing architecture makes it impossible to properly share GC objects across component boundaries. But they can still be shared across core module boundaries.
Re: Making WebAssembly a first-class language on the Web
#273The WASM cliff is very real. Every time I go to use it, because of the complexity of the tool chain and process of going from zero to anything at all, I feel like I'm already paying a cognitive tax. I worry that I should update my tooling, look into the latest and greatest, understand the tooling better, etc... It would be incredible to see that improved. The difference in perf without glue is crazy. But not surprisi…
The whole WASM thing just went sideways from the start. It feels like the property of being practically unreadable and unwritable for humans was a design criterium, it is certainly the primary "feature" enabled by the stack approach. Then there is the single array of memory that makes modern memory allocators not really work, resulting in every WASM compiler scrounging up something that mashes the assumptions of the…
Re: Making WebAssembly a first-class language on the Web
#274Earlier quoted context omitted.
I don't follow? when you write userscripts you modify the dom not the already running scripts usually, no?
Wouldn't there be a point where the mainstream approach is to just have compiled blobs write directly to the canvas, say a point where someone compiles a qt application and hosts it on their website. What can you even modify there, when all the structure is flattened into a single layer
Re: Making WebAssembly a first-class language on the Web
#275Earlier quoted context omitted.
> Web Bluetooth, Web NFC These are things that literally everyone but Google thinks are terrible ideas. Why don't you flip the conspiracy around and ask yourself why Google, the world's largest advertising agency and data hoover, wants browsers, a category dominated by Google, to have unmediated access to ever more user, system, and local network data?
That's nonsense. There's plenty of people that want those APIs that don't work at Google. And it does not give Google "unmediated access" - you have to explicitly opt-in to allow the browser to use them when a website requests access to these APIs. But of course, don't let the facts get in the way of your fanboyism for Apple.
>> But of course, don't let the facts get in the way of your fanboyism for Apple.
Mate, I didn't even mention Apple. You're the one with the fixation here. Mozilla/Firefox is also deeply opposed to these anti-features.
Re: Making WebAssembly a first-class language on the Web
#276Not only are they a decade late while everyone expected WASM to liberate us from JS, and it ended up being a useless toy in JS whose improvements would have been crushed by having to send all progress to JS to apply it, but then giving it access to DOM is also something you'll realize wasn't enough a decade later. Flutter doesn't need DOM; it has all of its own engine. The browser should give the whole viewpoint to t…
And it would be 100% inaccessible.
Re: Making WebAssembly a first-class language on the Web
#277Earlier quoted context omitted.
That's nonsense. There's plenty of people that want those APIs that don't work at Google. And it does not give Google "unmediated access" - you have to explicitly opt-in to allow the browser to use them when a website requests access to these APIs. But of course, don't let the facts get in the way of your fanboyism for Apple.
And when it's normalised for firmware updates to happen via WebHID and WebUSB? Saying no will seem as fringe as browsing the web with NoScript. It's already the main way to upgrade keyboard firmware for a lot of mechanical keyboards, and it only works on Chrome. Thrilling developments for Google. >> But of course, don't let the facts get in the way of your fanboyism for Apple. Mate, I didn't even mention Apple. You'r…
Mozilla is irrelevant, and they don't have a hardware platform where they forbid all other browser engines from it like Apple does.
If Apple weren't total assholes and didn't forbid Chrome from actually being Chrome on iOS, then I wouldn't care, I'd simply tell users to install Chrome. But Apple forces all browsers on iOS to use Safari, which they have intentionally crippled and refuse to let other browsers use their own engine.
If you don't think that's abusive business practices and deserves the DOJ lawsuit, then you're just another Apple shill.
Re: Making WebAssembly a first-class language on the Web
#278Earlier quoted context omitted.
And when it's normalised for firmware updates to happen via WebHID and WebUSB? Saying no will seem as fringe as browsing the web with NoScript. It's already the main way to upgrade keyboard firmware for a lot of mechanical keyboards, and it only works on Chrome. Thrilling developments for Google. >> But of course, don't let the facts get in the way of your fanboyism for Apple. Mate, I didn't even mention Apple. You'r…
>Mozilla/Firefox is also deeply opposed to these anti-features. Mozilla is irrelevant, and they don't have a hardware platform where they forbid all other browser engines from it like Apple does. If Apple weren't total assholes and didn't forbid Chrome from actually being Chrome on iOS, then I wouldn't care, I'd simply tell users to install Chrome. But Apple forces all browsers on iOS to use Safari , which they have…
>> If Apple weren't total assholes
>> Apple forces all browsers on iOS to use Safari
>> you're just another Apple shill.
I've still not even mentioned Apple once.
You seem extremely fixated on Apple.
I'm not aware of any major corporation, group, standards body, or OSS project that would agree with Google's attempts to extend the browser so deeply beyond the web. The general consensus is that it is deeply reckless.
Google failed to get stuff like WebHID into the standard - because everyone thinks it's a terrible idea - so they've just rolled it out on their own anyway, using their browser monopoly to force facts on the ground. Facts favourable to Google, unsurprisingly.
When Microsoft did this sort of thing, we used to call them out on it. I have no idea why you seem so adamant to defend this. I can only suspect that you've let yourself become completely partisan in some grand Google-Apple war that you've imagined, which is why you keep bringing up Apple out of nowhere?
Re: Making WebAssembly a first-class language on the Web
#279Earlier quoted context omitted.
>Mozilla/Firefox is also deeply opposed to these anti-features. Mozilla is irrelevant, and they don't have a hardware platform where they forbid all other browser engines from it like Apple does. If Apple weren't total assholes and didn't forbid Chrome from actually being Chrome on iOS, then I wouldn't care, I'd simply tell users to install Chrome. But Apple forces all browsers on iOS to use Safari , which they have…
>> Mozilla is irrelevant, and they don't have a hardware platform where they forbid all other browser engines from it like Apple does. >> If Apple weren't total assholes >> Apple forces all browsers on iOS to use Safari >> you're just another Apple shill. I've still not even mentioned Apple once. You seem extremely fixated on Apple. I'm not aware of any major corporation, group, standards body, or OSS project that wo…
Also doesn't this argument apply to WebAssembly and other standards (like WebGPU) as well? Why should I be able to render a video game in the browser but have no way to manage input devices (like multiple controllers) to make it a suitable platform for fully-fledged video games in the future? Like I understand why Apple (OR Microsoft for that matter) doesn't want Stadia-like services to suddenly run on all their devices without any cut in monetization, so naturally they sabotage such efforts in Safari...
Like here is my own reason to support that effort: I use Linux, and there are a ton of proprietary applications that if there were developed on the web platform would become accessible to me.
I understand the privacy concerns with some of those APIs, but the argument isn't that the user shouldn't have agency over those features, do you see how that's a separate conversation?
So now: Why are you against it?
Re: Making WebAssembly a first-class language on the Web
#280Earlier quoted context omitted.
You seem to be implying that these goals were optional, but I don’t understand how #2 cross-lang interop could ever have been optional. Isn’t running non-JS languages the entire point of WebAssembly? Given that, do you really think goal #1 non-Web APIs really added much additional delay on top of the delay necessitated by goal #2 anyway?
> but I don’t understand how #2 cross-lang interop could ever have been optional This problem hasn't been solved outside the web either (at least not to the satisfaction of Rust fanboys who expect that they can tunnel their high level stdlib types directly to other languages - while conveniently ignoring that other languages have completely different semantics and very little overlap with the Rust stdlib). At the cor…