Closed jmarcosfer closed 7 months ago
@albincorreya let me know what you think about the 2 notes in question, please
The new default compiling method looks clean. Is there any major performance difference between these methods?
I assume we will migrate the python scripts to python3 in another PR?
I don't see any noticeable performance difference between the two methods, so I'll stick to the newer default way, which also looks cleaner as you say :) The change to Python3 should be included in this PR, that was the initial goal of this PR, but then along the way I found I should update Emscripten too. I guess it's okay to include the two as updating the build pipeline.
Two main changes to the build pipeline before other development tasks:
Notes:
-c
,-r
, or-shared
flag is given. Therefore commands have changed slightly and we have two options: either (1) build to object files first, like we used to do, but individually forbindings_essentiajs.o
andessentiajs.o
because now it doesn't accept multiple files with-o
flag; (2) use the new default way, which also means fewer commands, and go directly from C++ to JS+WASM.