WebAssembly Target

classic Classic list List threaded Threaded
61 messages Options
Reply | Threaded
Open this post in threaded view

Re: WebAssembly Target

Reimar Grabowski
On Wed, 12 Apr 2017 08:49:08 -0500
[hidden email] wrote:

> Why run webgl through javascript if you could just make something like a
> flash plugin object (like youtube videos) that plays opengl scenes using
> some native format similar to how flash uses SWF files, or whatever?
First of all you don't run anything through anything. Web/OpenGL (ES) are in effect just a bunch of commands sent to the driver. It is not really impacted by the language from where you call it. It is just a graphics library
Second OpenGL scenes are not played, they are interactive.
Third people don't want to deal with (buggy) plugins they want sh!t that just works across browsers.

> It seems like almost the web browser is trying to become Emacs,
> everything and the kitchen sink, though...
Maybe, but "direct" (yeah I know it's not really direct, that's what Vulcan is for) access to your graphics card inside the browser is IMHO a nice feature.
> If it includes opengl or webgl, and video players
That's what your graphics card/chip gives you even on low end systems like the pi out of the box, so why not expose this inside the browser?

> under the sun.. it makes me wonder whether we should really not be going
> back to exe's again... I.e. if you want to download a opengl
> application, you just download an exe/elf program instead of running it
> in the web browser ;-)
Only that the stuff in the browser seldom is what you call an OpenGL application (whatever that term means) and as noted above people are not going to download apps for stuff like this.



Btw, all the links above will infect your computer with all kinds of nasty malware. Clicking them will kill every first-born egyptian child, etc
You have been warned, so go there on your own risk
fpc-pascal maillist  -  [hidden email]