SimulaVR / godot-haskell

Haskell bindings for GdNative
BSD 3-Clause "New" or "Revised" License
171 stars 18 forks source link

Investigation into using GHCJS for web export? #37

Open lambdadog opened 3 years ago

lambdadog commented 3 years ago

I've done some reading into Godot web exports and it looks like there is an export setting for GDNative support, but it specifically uses WebAssembly. While Asterius does exist, it doesn't exactly boast fantastic performance as of yet as opposed to GHCJS.

It might be worthwhile to pursue whether or not there's some pathway for using GHCJS to export your godot-haskell project to web or, failing all else, at least document how godot-haskell could tie in Asterius down the line since it's being actively developed on and will hopefully pan out into a viable option in the future.

YellowOnion commented 3 years ago

WebGHC might be a good alternative, as it's designed as a less ambitious webasm target, you don't really need the Asterius features that target native JS for a game engine in written in C++.