Earlier quoted context omitted.
Browsers are just “standardised” OS at this point. Really, what is the difference? It seems to me that people basically wants a 1 to 1 mapping between every OS feature to browsers. I wouldn’t be surprised if this standard will fall apart in the next decade once Chrome runs everything. That is to say Chrome is the standard. I am already seeing websites drop support for Firefox and won’t even load using it.
I wonder if you could just duct tape a kernel to a modern browser and boot right into it. Ok, well, I know you can do that, but I wonder if you could get people to use it. You'd need some tinkering to open a new browser window per monitor, couple of routes on 127.0.0.1 for config.
WebGPU Fundamentals
191–200 of 211 posts
Re: WebGPU Fundamentals
#192Earlier quoted context omitted.
Total graphics / shaders / GPU noob here. Does that mean you'll essentially get free visualisations (albeit non-sensical ones) as a byproduct of your computations?
If you wanted to do compute in a shader before WebGPU with WebGL instead, then I think the answer is kind of yes. It wasn't "for free" without any code but it was required to do. But now WebGPU supports compute shaders properly so you don't have to do compute in a shader that produces textures.
Re: WebGPU Fundamentals
#193Earlier quoted context omitted.
Snap, Flatpack, iOS sandbox, Android sandbox, UWP/Windows sandbox,...
Unfortunately, none of those are cross-platform... Closest we get to something similar to the web is either the JVM or APE (Actually Portable Executable) but then those are generally not as isolated as the alternatives you mentioned, sadly.
Plus, plenty of languages have cross-platform runtimes and libraries, so not a big issue, not everything needs to be JavaScript.
Re: WebGPU Fundamentals
#194Earlier quoted context omitted.
> I am already seeing websites drop support for Firefox Examples?
I'm not sure if these are examples of dropped support, but I run into issues on websites that prevent me from doing something I really need to do: - I could not unsubscribe from amazon prime yesterday using firefox. The page where you select the option was not rendering correctly. It was white for half the page vertically and the link/button I need to press was absent. - about 6 months ago I could not sign into apple…
Re: WebGPU Fundamentals
#195Regarding all the arguments about ever-increasing browser complexity and the resulting inefficiency: Why is nobody asking the reverse question: How to make operating systems more like browsers?? From the end user's PoV (consider someone who isn't computer savvy) what are the actual objective differences in usability, between the OS and browser? -- • OS: Apps have their own windows and menu bars. • Browser: Multiple a…
Re: WebGPU Fundamentals
#196Earlier quoted context omitted.
Exactly, the lack of the deep learning frameworks to train decent models on the client side forces us to use pytorch on the server, leading to centralized data collection, privacy concerns, copyright and data ownership issues. Imagine the world where you could trivially train a model entirely on the client side, without uploading all that data to the cloud. Then we can settle on federated learning or simply use ensem…
> Imagine the world where you could trivially train a model entirely on the client side, without uploading all that data to the cloud. You just rediscovered "Federated Learning", but FL also allows you to benefit from the training being executed in other edge nodes, all without disclosing any data. Instead of sending the data to the training server, they send the model to the users to train on a few batches of user d…
Re: WebGPU Fundamentals
#197Question for discussion: when have we reached the point where the Browser Feature-creep is too much and we say "okay, a browser probably doesn't need this"? Because after seeing WebUSB and WebGPU I think my personal limit has been reached.
WebGPU in browser isn't really interesting to me. But I do like WebGPU in native applications, as we are yet again in scenario where Windows prefers DX, OSX their own Metal and Vulkan is yet again mostly linux only player, and popular WebGPU implementations have backends to all of these (+ more).
Re: WebGPU Fundamentals
#198Re: WebGPU Fundamentals
#199Earlier quoted context omitted.
One of the most exciting features of WebGPU, especially over WebGL, is the ability to run compute shaders. That opens up an entire class of 2D vector graphics rendering techniques using compute shaders, including Vello. It's still in early stages, but the current code does include text rendering. There's a very rough demo at https://levien.com/vello-demo (the demo doesn't do variable fonts but the code can), and we'l…
Thanks to Google blocking WebGL compute shaders adoption. We could have had them three years ago.
Re: WebGPU Fundamentals
#200Earlier quoted context omitted.
This is usually done with shaders and a circle of buffers which maintain state.
Fragment shaders can only go so far. Can you do in webgpu something like this? outputTexture2d[inputTexture2d[inputPosition]]++ In other words, if you have a large texture with (x,y) coordinates of points, can you draw another texture that shows a density cloud of these points? In webgl2 it becomes a phd level problem.