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

Idea: implement fd in webassembly #109

Open
pvdz opened this issue Jul 2, 2016 · 0 comments
Open

Idea: implement fd in webassembly #109

pvdz opened this issue Jul 2, 2016 · 0 comments

Comments

@pvdz
Copy link
Contributor

pvdz commented Jul 2, 2016

Where asm.js works with code annotations forcing/hinting the types to the browser, webasm is more close to classic assembly than anything else available right now. However, it is still in an infancy state, browser support and tools are very limited and it'll be quite some work to port the lib to webasm.

You would have full control, though. And in some cases of the code that could be a huge win. And if webasm is supported in node.js then we could already profit from it on the server side, reducing running costs considerably.

Additionally we could also decide to only port hot code to webasm, certain tricky things in domain.js for example where we know the browser has trouble optimizing for some reason or the other. No need to port the entire library. At first...

Obviously coding in asm is on a completely different level from js or higher languages in general.

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

No branches or pull requests

1 participant