Deconstructing WebAssembly Components by Ryan Levick @ Wasm I/O 2024

  Рет қаралды 6,452

WASM I/O

WASM I/O

Күн бұрын

Пікірлер: 8
@tenthlegionstudios1343
@tenthlegionstudios1343 5 ай бұрын
Great talk. I amCurious about the potential con's of shared memory model. I understand all the pro's, and was going to ask about the perf hit of not sharing memory. But this was the first question asked. It does seem like a potential blocking point for some people to adopt this model. Unless there is a work around for sharing memory - outside of just not using the component model. When you look at rust, people always like to bring up zero copy. And in a world where many of these components are running and sharing/passing data - copying into a share nothing architecture could be a huge perf hit. You could make perf critical code all in the same component - but that can kind of misses the point. The pro's for shared nothing is huge for security concerns. Sandboxed environments that execute safely. It also makes it much easier for components to plug and play / connect with one another in shared nothing (imo). Great work though and great talk.
@coderedart
@coderedart 3 ай бұрын
As the author mentioned, the workaround for sharing memory is to use resources. Resources also take care of "lifetimes", by providing borrowing, as well as ownership transfer. Its also how native memory is provided to wasm guests (eg: mmap of a file or opengl buffer). The default of shared-nothing is useful because the representation of types may not be the same between different languages. A C++ array of 3 floats is different from a python or js list of 3 numbers.
@0xedb
@0xedb 5 ай бұрын
Great talk
@HarrysKavan
@HarrysKavan 5 ай бұрын
good talk, thanks. I learned a lot :)
@davidykamau6300
@davidykamau6300 14 күн бұрын
He explains well, he also should have used diagrams to explain unshared memory part. But thankx
@abharti
@abharti 5 ай бұрын
can we get the slides?
@capability-snob
@capability-snob 5 ай бұрын
I would love to find out where this fits on the capability systems heirarchy e.g. how close it is to the model offered to javascript. Are parameters always data, or can I pass encapsulated functions? Does it have native eq - can a caller tell when it is passed the same value twice?
@luiscarlosjayk
@luiscarlosjayk 2 ай бұрын
Amazing talk, very well explained in simpler words, thanks a lot for it!
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 19 МЛН
Building a large-scale Flutter mobile banking application - LeanCode
43:36
Flutter & Friends
Рет қаралды 2,4 М.
Using WebAssembly Now: It's Easier Than You Think
34:31
Cloud Native Rejekts
Рет қаралды 1,7 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН