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

WebAssembly support #312

Open
syoyo opened this issue Jul 30, 2021 · 0 comments
Open

WebAssembly support #312

syoyo opened this issue Jul 30, 2021 · 0 comments
Assignees

Comments

@syoyo
Copy link
Collaborator

syoyo commented Jul 30, 2021

Describe the issue

Although tinyobjloader is written in C++, people want to have performant .obj parser in non-C/C++ environment, especially on the browser(JavaScript), python, container-environment, etc.

Compiling tinyobjloader using emcc and write a binding using embind will enable portable tinyobjloader module.

For example, in Python situation, we don't need to provide prebuilt binary(through cibuildwheel) or need to build from source if tinyobjloader is provided in wasm binary. We can use wasmer-python to run wasm binary on Python: https://github.com/wasmerio/wasmer-python

Initial experiment is done in branch webassembly https://github.com/tinyobjloader/tinyobjloader/tree/webassembly

@syoyo syoyo self-assigned this Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant