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: Support WebAssembly as a target #293

Open
Journeycorner opened this issue Jan 20, 2019 · 0 comments
Open

Feature Request: Support WebAssembly as a target #293

Journeycorner opened this issue Jan 20, 2019 · 0 comments

Comments

@Journeycorner
Copy link

Motivation

I was thinking of developing a Visual Studio Code extension to count lines of code. There are JavaScript packages on npm available (VSC is build on NodeJS) that do the job, however I guess it would be much faster to compute in WebAssembly.

Feature request

Shipping the count logic in a module without std/file system apis, which are not available on WebAssembly, would enable it to compile tokei to WebAssembly and ship it to npm. Files could be read with NodeJS or a Web Browser while the WASM module does the heavy lifting and returns the result on a per file basis.

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

2 participants