-
Notifications
You must be signed in to change notification settings - Fork 122
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
Benchmark requests #112
Comments
Thank you for the suggestion. I would like some benchmarks of course but first I would need some useful JS package which could be converted. It's a bit tough for me to implement due to time constraints. Eventually, this compiler would be self-hosted so there would be a good A/B comparison to be made there, on a large codebase. There are some toy examples in the walt-explorer GitHub page. Like the naive Fibonacci example it is much faster than a JS equivalent. The JS equivalent might even hang indefinitely. I'll leave the issue open, maybe someone will come along and implement a few. If you have some ideas of benchmarks you'd like to see that would be helpful. |
Hi ballercat, |
Hi! First of all, thank you for offering to help, the project could use it.
I think that's precisely it. In general, there seems to be a demand for examples of benefits with using wasm over JS for performance critical tasks. Going through the exercise of making these comparisons would be beneficial to the general wasm enthusiast community.
I think this is a great idea. I would love to see this done, but for a slightly different reason. I'd like to see us build something useful with Walt so that we can identify the pain points and fix/document them. What difficulties would someone new to the project (or wasm) face? That's a much more interesting question IMO. It's difficult for me to answer that question today because I'm so involved in the whole thing and know what to expect already. And if the performance is better compared to JS that's a great bonus. |
Hi Ballercat, thank you for your input. Very helpful for me to understand your vision / the bigger picture. Walt crossed my way as I was researching how to get started with wasm, would be interesting to see what wasm "democratization" could look like. Next steps could be:
Let me know if this would work! |
Sounds good to me! |
Hi @ballercat , Here are some note about [2], sorry, time flew :) Here's my experience when getting started with Walt. Context: I know JS. I'm new to Walt, but au fait with Wasm (with Rust). TL;DR:
Detailed version:Caption: [-] for pain points and [+] for pleasant devX Onboarding part 1
Onboarding part 2
const arr: i32[] = [1, 2]; // compiling error So I head to the Syntax wiki page; it's very detailed, but it's missing more examples.
What do you think? |
I was pleasantly surprised when I found this repo. However, please provide some benchmarks that can push people like me to start using this. Great work btw!
The text was updated successfully, but these errors were encountered: