Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add pthread support wasm build #492

Open
mcbarton opened this issue Jan 29, 2025 · 1 comment
Open

[Feature Request]: Add pthread support wasm build #492

mcbarton opened this issue Jan 29, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@mcbarton
Copy link
Collaborator

Description of new feature

Emscripten builds can be built with pthreads support (see https://emscripten.org/docs/porting/pthreads.html). I've tested locally and it is possible to build CppInterOps with pthread support, but given its limited browser support (as far as I can tell from the link it only currently works on very recent versions of Firefox, but don't know how often the documentation is updated). It may not be worth putting in for now. Leaving this issue as a potential future improvement once pthreads is better supported by more browsers.

@mcbarton mcbarton added the enhancement New feature or request label Jan 29, 2025
@mcbarton
Copy link
Collaborator Author

@anutosh491 can you comment on how useful you think pthreads support would be for the wasm build? It is currently experimental (but what isn't when it comes to emscripten), but maybe we can make use of multithreading to get better performance for xeus-cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant