pipa
pipa•3w ago

How to compile simple C++ file to use in deno via wasm

Hello Everyone! I am doing advent of code this year in deno just as a random choice. I wanted to get my hands dirty with wasm so I coded the day4 problem in c++ so I can then just call that function from Deno. The purpose of this is just to start learning some WASM build process . I have added the C++ code , please do not judge as I did this quick and not paying to much attention to best solution or coding guidelines 😄 I have tried multiple emcc commands with all failing.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?