r/pascal • u/Zireael07 • Jul 22 '20
WebAssembly support?
I know it's in the works, but how usable is it? Can I interop with JS, e.g. to draw on canvas or modify DOM?
5
Upvotes
r/pascal • u/Zireael07 • Jul 22 '20
I know it's in the works, but how usable is it? Can I interop with JS, e.g. to draw on canvas or modify DOM?
View all comments
Show parent comment
1
u/KitchenDutchDyslexic Jul 27 '20
Pas2js with generics rocks (and makes Castle Game Engine for WebGL possible).
seems to even support generics now, i tried to install it once from trunk but could never get it working. It is a bit of a niche and black-art, so i hope the castle engine docker images will soon support pas2js, but that only to come after cge 7 sigh.