| Tweetovi |
|
Thomas Lively
@tlively52
|
30. sij |
|
It’s exciting to see SIMD get closer and closer to standardization and shipping. It’s certainly been a long road to get here. Huge thanks to @dptig for all the work she’s been doing to drive the proposal forward. twitter.com/v8js/status/12…
|
||
|
|
||
|
Thomas Lively
@tlively52
|
18. sij |
|
At least the upside of prioritizing PRs by number is that I'll have a much shorter wait the next time around. I wonder if anyone has ever squatted a PR number to get ahead in the queue, though 🤔
|
||
|
|
||
|
Thomas Lively
@tlively52
|
18. sij |
|
I just waited 10 days for my two-line bugfix to make its way to the head of the Rust merge queue and I was so excited to see it finally get there.
And then the tests failed because of a network error.
Guess I'll just wait some more 🙃🙃🙃
|
||
|
|
||
|
Thomas Lively
@tlively52
|
28. pro |
|
How are you using Binaryen? C API? Binaryen.js? CMake subdirectory?
|
||
|
|
||
|
Thomas Lively
@tlively52
|
24. stu |
|
True, locals would be the extra fun part to handle. But on the other hand, it is possible to have runs of code with no locals at all that can be trivially matched. That’s the stack machine advantage.
|
||
|
|
||
|
Thomas Lively
@tlively52
|
24. stu |
|
This would be really cool to implement in Binaryen, though! WebAssembly being a stack machine with structured control flow should make outlining easier and more powerful. Multivalue will help, too!
|
||
|
|
||
|
Thomas Lively
@tlively52
|
17. stu |
|
Yes, it would be possible for an engine to do that optimization based on runtime profiling, but it’s currently difficult for the toolchain to provide optimization hints. I know there’s interest in using custom sections for optimation hints, though.
|
||
|
|
||
|
Thomas Lively
@tlively52
|
17. stu |
|
It’s not clear what the benefit would be, given that there’s currently no way of encoding that information explicitly in a wasm module and there are no guarantees about what engines will do with the branch arms.
|
||
|
|
||
|
Thomas Lively
@tlively52
|
17. stu |
|
No, thank you for finding our bugs for us 😅
|
||
|
|
||
|
Thomas Lively
@tlively52
|
11. stu |
|
So exciting! I’m looking forward to it 😄 twitter.com/DasSurma/statu…
|
||
|
|
||
|
Thomas Lively
@tlively52
|
2. stu |
|
Very cool! Are there any instructions you feel are missing from the proposal that could help you go faster?
|
||
|
|
||
|
Thomas Lively
@tlively52
|
28. lis |
|
At least it’s not a thesis resented to the department of computer science!
|
||
|
|
||
|
Thomas Lively
@tlively52
|
19. lis |
|
It’s happening! 😍🚀 twitter.com/kripken/status…
|
||
|
|
||
| Thomas Lively proslijedio/la je tweet | ||
|
Alon Zakai
@kripken
|
5. lis |
|
Emscripten reached 20,000 commits earlier today. Thanks to everyone that contributed, code and otherwise! pic.twitter.com/qhJUT2o003
|
||
|
|
||
|
Thomas Lively
@tlively52
|
15. ruj |
|
We also just added narrowing operations! They don’t have a built in store, but if you need to narrow and store multiple vectors they would still be useful.
|
||
|
|
||
|
Thomas Lively
@tlively52
|
11. ruj |
|
Feature detection libraries like this will dovetail nicely with the upcoming conditional compilation proposal to allow users to trade off number of separate builds and binary size while still targeting multiple feature sets. twitter.com/DasSurma/statu…
|
||
|
|
||
|
Thomas Lively
@tlively52
|
13. kol |
|
That would be super cool! You could even try it out now using emscripten’s SIMD support emscripten.org/docs/porting/s… I know Rust and AssemblyScript support SIMD as well. Would love to see what you create!
|
||
|
|
||
|
Thomas Lively
@tlively52
|
24. srp |
|
Next stop, multivalue! 🚂 twitter.com/kripken/status…
|
||
|
|
||
|
Thomas Lively
@tlively52
|
7. srp |
|
This is a problem we would like to solve... somehow. We just don’t know how general a dynamic feature detection feature should be. I guess we should probably come up with some options and do science on them.
|
||
|
|
||
|
Thomas Lively
@tlively52
|
4. srp |
|
Curious about where WebAssembly is heading? SIMD is a performance-critical part of that picture. In this @wasmsf talk I explained what SIMD is and how you can try it out today. Let us know how it works for you! twitter.com/WebAssemblyEU/…
|
||
|
|
||