-
Notifications
You must be signed in to change notification settings - Fork 0
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
WASM support (try it out website) #13
Comments
I could probably build this it I learn how After a quick look at the docs, we may need to create a second repository for |
Just thought about this and there are more than 1 use cases for this, Oh and this way we can provide the compiler via a npm package so you can just do But also now i'm thinking of it it's kinda ironic we use WASM while this language provides a way to compile into native code. But in our case this is for good reasons :) |
I'm not quite sure how language-talpa can be implemented in this way. I don't know how Atom and VS Code implemented it. I'm not sure if NPM would be the best way to publish it. Although I must admit I've never published a tool like this. I'm not quite sure how you normally publish a command line tool binary (like a compiler). |
Once we have a wasm file we can just load the bytes of it into vscode and execute it directly if it supports executing wasm files or via a polyfill. For how the contents of the wasm file i think it should contain the contents of the
Totally true, it's essentially just an alternative to creates.io but talpa will be way slower, you will have the overhead of spawning javascript to execute the wasm and threads support is still a bit shitty. |
This could help us if we do publish to NPM: Publishing a Rust binary on npm |
As we getting to a
v0.1.0
release it might be worth it to have a site where users can try out the language.Like the Go Playground or the Rust Playground.
Rust projects can be compiled into WASM (web assembly) binaries so we could create a website where users can tryout our language and see if they like it without installing it.
I think it would be amazing if someone could just write some code and see in real time (if possible) the compiled output.
We could even add debug information if we want to.
The text was updated successfully, but these errors were encountered: