Closed Geequlim closed 1 month ago
Also, there are some errors in the godot.d.ts (lines 4686 and 47134, I think), it would be nice to fix them, along with #126.
Also, there are some errors in the godot.d.ts (lines 4686 and 47134, I think), it would be nice to fix them, along with #126.
I've fixed the first issue with #135. @Geequlim could you take a look?
Can you estimate the effort to add wasm support? Or describe how you would do it?
Can you estimate the effort to add wasm support? Or describe how you would do it?
WASM is supported by V8 directly. For QuickJS backen we can using wasm3
For note Latest stable V8 build is ready at https://github.com/Geequlim/v8-builder
Puerts seems integrated nodejs for unity and unreal engine on both desktop and mobile platforms with https://github.com/puerts/backend-nodejs
Do you prefer v8 or quickjs + wasm3?
For different usage choose different backend. QuickJS is smaller so it is suitable for most game projects.
v8 is large but fast with jit and much more stable with better toolchains including debugger/profiler etc.
We'd better develop games with v8 and publish with your choice.
The principle of the backend to choose is based on your project. If performance more important using V8 or if size is more important choose QuickJS.
Note:
Heya, @vignetteapp would love to help you out with the GDExtensions work item and (potentially) the CommonJS/ESM implementation, is there any progress in the 4.1 branch so far?
The master branch has had active work by @nmerget
Note These are plans about this project todo but not found enough time to make it happen yet.
[ ] #212
[ ] Improved TypeScript support
[ ] Improved debugger for QuickJS
[x] Standard ESModule/CommonJS implementation
jsx
tomjs
for esmodule[ ] Add operators as methods like
op_add
op_divide
to builtin math types for compatibility with more backends[ ] Samples for complicated projects
without ship new version on App Store/Google Play/Steam[ ] Port to godot 4.x
[ ] Some demo projects
Documentations
About backends and improvements to current workflow