[Pas2js] Possible WebGL demo?
Michael Van Canneyt
michael at freepascal.org
Fri May 4 10:01:52 CEST 2018
On Thu, 3 May 2018, Stephen Wright via Pas2js wrote:
> Hi Michael
> I have been using a great single page Javascript utility (gpu.js) to allow accelerated computation using WebGL without needing to know anything about WebGL. It is released under an MIT licence and is a really good entry level introduction to parallel computing.
> If you substituted the WebGL calls for the PAS version of these calls and left the rest as an ASM block this would be a good test for the Pas2JS webGL calls because we could do a back to back test with the original version? and could be a starting point for then having a Pascal version of this utility ??
> If we used reverse engineering we could have a Pas Version (while still keeping it in line with the JavaScript version from time to time?) and credit the original authors as well. Perhaps WarleyAlex might have some ideas on how practical this reverse engineering is?
> If others think this is a good idea and that it will be OK with the original authors then I will be happy to do some work on this.
I think that would be a nice demo indeed, so if you could create an import
unit (or replace it entirely with a "native" pascal implementation) and a
demo: I would welcome it !
Michael.
More information about the Pas2js
mailing list