HaxeFoundation / HaxeFoundation/hashlink

Fails to run when compiled with emscripten for WASM

Open
#455 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
901
Forks
201
Avg merge
18h 9m
Merged PRs (30d)
8

Description

I've tried compiling Hashlink with emscripten, it compiled with a few adjustments.

When running the project it quickly fails with an exception when it gets to the C part, around hl_global_init() in hlc_main.c: too much recursion or stack is full.

More info with the sources and binaries here
https://github.com/Lerg/hashlink-emscripten

I don't have much experience debugging WASM projects or understanding the underlying of Hashlink, but I hope it can run in a browser with a few fixes.

I need WASM because my work project based on Heaps is too slow when running the plain JS export.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.