Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WebAssembly support #312

Copy link
Copy link
@syoyo

Description

@syoyo
Issue body actions

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

torcoste

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.