Language success is in large parts driven by what system adopts that language. Objective-C’s success was driven by iOS. C’s success was driven by Unix. C++’s early success was driven in large part by 90’s GUI frameworks ( MDC, OWL, Qt, etc. I think Wasm is shaping up to be huge in that you can safely run, high performance code across multiple operating systems/CPU’s. Of all the languages, I think Rust has the best WA…
> Objective-C’s success was driven by iOS. Well, Objective-C is from 1984 and its major success was being cloned to make a programming language called Java.
Prime Video Uses WebAssembly
151–160 of 254 posts
Re: Prime Video Uses WebAssembly
#152Re: Prime Video Uses WebAssembly
#153Earlier quoted context omitted.
Your comment seems to rooted in your dislike of Rust, rather than provide any technical arguments. The Rust tooling certainly was the best, no question. As the Mozilla WASM devs have moved on the WASM tooling has stagnated, sadly, and The C++ tooling has caught up. Languages like C# and Go are inherently worse for WASM because they require GC and have big runtimes they have to bring along.
I can dislike Rust too, but the facts are facts. Emscripten is the leader of WASM world and lot of its code is based on C++.
However, when targeting wasm outside browsers wasm32-wasi is usually a better option.
Re: Prime Video Uses WebAssembly
#154> Prime Video > xyz [4K/UHD] 4K is not available when using a computer > HD is not available because you're not using Windows when using Windows > HD is not available because you don't have HDCP Graphics driver begs to differ. Prime SD is usually somewhere between 240p and 320p, HD looks like a decently encoded 720p file. Never seen it but I'm guessing 4K might actually approach the quality of a 2007 Blu-Ray.
Prime 4K's bit-rate is ~15Mb/s. A UHD Blu-Ray has a bit-rate that's more like 70Mb/s, and a 1080p Blu-ray has a bit-rate of ~28Mb/s. Of course, 4K is usually encoded with H.265 while 1080p is encoded with H.264, so the raw bit-rate numbers are not as useful for comparison - but still, that's almost twice the bit-rate for a quarter of the pixels, and H.265 isn't magic.
Apple TV has been the best platform so far for 4K and Atmos content, if you also want an option to purchase a title.
https://www.highdefdigest.com/news/show/everything-on-amazon...
Re: Prime Video Uses WebAssembly
#155Earlier quoted context omitted.
It all kind of undermines your original comment tho that they're trying to avoid native. It seems more likely that they're goal is to reach as many devices as they can and be able to do updates frequently. In the first paragraph of the linked article the guy says the trade-off is between "updatability and performance".
I am really sick of fast-churn and forced updates. Guys. Settle. Write a native app or three. It’ll be ok.
There are too many different stacks with their own languages (which means different library ecosystems), no good FFI/IPC options that work across stacks, massive test matrix for every little piece of the code etc. All of this, when the native differences that supposedly should make each platform unique are so few, and virtually all UI and application logic is identical. Our platform lords have basically not standardized a single thing.
Re: Prime Video Uses WebAssembly
#156Earlier quoted context omitted.
I, for one, would love if UIs looked like it's 1995 again. Imagine the crispness, everything is fast, responsive and written in sensible languages. A simpler, and better time.
While I agree in some cases, tech companies aren't marketing to those with that specific taste pallete
Re: Prime Video Uses WebAssembly
#157The egui framework they mention is pretty neat: https://emilk.github.io/egui/ It an entirely custom toolkit, so don't expect it to have a native look and feel, but it's a GPU-first design with multiple back-ends. It can be used in native OpenGL apps too. It's an immediate-mode UI, so it's very easy to build and update even complex windows. Great choice if you want to prototype a game.
Re: Prime Video Uses WebAssembly
#158Earlier quoted context omitted.
> we built an application that overlays debugger information on an application scene render using egui, a Rust GUI library This is the context. They use egui to display debugger information - performance does not matter for the debugger information.
It does if you're debugging performance issues.
Re: Prime Video Uses WebAssembly
#159Earlier quoted context omitted.
Uber is a bad example because they need to have support for literally every payment method on the planet. And all of that needs to be preloaded ahead of time just in case the user decides they're going to fly to Mumbai tomorrow. Their app absolutely needs to be bloated or it won't work at all. Likewise, Amazon needs to run on all sorts of different smart TV platforms, not just iOS and Android. All of those apps need…
>And all of that needs to be preloaded ahead of time just in case the user decides they're going to fly to Mumbai tomorrow. This is Interesting. So essentially Uber is a "Global" App by default?
* of course where Uber are on the local market, i doubt it works in North Korea
Re: Prime Video Uses WebAssembly
#160Earlier quoted context omitted.
The biggest downside of this is that everything is painted as "graphics", and you can no longer use the web inspector to modify the fonts, colours, etc. While few people (like myself) do this directly, lots of people use it indirectly through extensions like Adblock, Stylus, etc. For example, I find the fonts hard to read due to the colour choices; then I zoom in and it's better, but now this "Widget gallery" no long…
Yes, I really hope this doesn't become common. By not utilising the DOM, you're killing accessibility, autofill, customization (things like reader mode, automatic dark themes...)... These are things that regular people rely on every day (not just us techies writing userscript a and Stylus themes).