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

Prototype Emscripten Bindings #70

Open
ihedvall opened this issue Jan 27, 2024 · 4 comments
Open

Prototype Emscripten Bindings #70

ihedvall opened this issue Jan 27, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ihedvall
Copy link
Owner

No description provided.

@ihedvall ihedvall converted this from a draft issue Jan 27, 2024
@ihedvall ihedvall added the enhancement New feature or request label Jan 27, 2024
@ihedvall
Copy link
Owner Author

@sachitv
How is it going with the prototype?

@sachitv
Copy link
Collaborator

sachitv commented Aug 21, 2024

Hi @ihedvall I had a prototype branch up and running. I had tried reading a few mf4 files but the performance was pretty slow. I haven't had the time to root cause though.

@ihedvall
Copy link
Owner Author

@sachitv
For Your Information.
I'm changing the standard C (FILE*) interface to a std::streambuf interface. It is now possible to use non-file stream interfaces. I don't know if this solves (or causing) some problems within an Emscripten MDF4 interface. The change is made so the library can be used in the cloud against non-file interfaces.

@sachitv
Copy link
Collaborator

sachitv commented Nov 21, 2024

That's a good idea. I noticed that being a slowdown in another project as the WORKERFS seems to run very slowly with the file interface. The repeated overhead of calling slice() on blobs seems to cause bottlenecks.

The fix highlighed here seemed to alleviate this issue in that other project.
emscripten-core/emscripten#6955

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
Development

No branches or pull requests

2 participants