WHY WEBASSEMBLY IS IMPORTANT | USE CASES | Introduction to WebAssembly (WASM)

  Рет қаралды 8,765

Chris Hay

Chris Hay

Күн бұрын

Пікірлер: 34
Жыл бұрын
It gives Java's "write once run everywhere" capabilities to any compiled language.
@iambassmills
@iambassmills 2 жыл бұрын
I insta-subscribed to your channel based on the content and quality level of this video alone. Great job!
@chrishayuk
@chrishayuk 2 жыл бұрын
Yay, thank you!
@Alex-hr2df
@Alex-hr2df Жыл бұрын
I totally agree with you on one thing: WASM will become the "lingua franca" of integration for industries such as banking and e-commerce. A software engineer with 15 years of coding exp here.
@DysoniaMultiverseNews
@DysoniaMultiverseNews 3 ай бұрын
Thanks for the video series. I think of WAT2WASM more as a "web assembler" translating "WAT" (WebAssembly textual source) to (WebAssembly Virtual Machine Language [ VML ] akin to P-Code) and high-level languages like Javascript (web "BASIC" or web "Pascal"). This is because WAT2WASM is more like Assembly to Machine Language translation versus compilers which are higher up in the totem from Low, to Intermediate, to High-level programming languages. Assembly language for various native CPUs were considered intermediate-level languages. A step closer to the "bare metal" of machine language than C or Pascal or BASIC were at source. BASIC, albeit were commonly interpreted, did have compilers that existed. On 8-bit computers like C64, we had many. Several that compiled to P-Code which was a VM bytecode thing much like this is. Not quite ML speed but considerably faster than interpreters and gave performance boosts. It is unclear how the speed is compared to JIT compiled JS once it had been ran through JIT compiling but this is a binary that is platform independent than native binary of x86 or ARM or whatever.
@DysoniaMultiverseNews
@DysoniaMultiverseNews 3 ай бұрын
Just bear in mind that what I said about WAT text in relation to binary format is analogy not as exactly literal like assembly language to Machine language because a direct parallel of WASM to assembly like text would be to inverse the hex values of machine code to the instruction in the instruction set table in binary but really... close enough. You can if you are careful eye, can correlate the WAT textual instruction to the particular hexadecimal values and the particular instruction set and opcode of the WASM binary in a textual mneumonic style that would correlate in some fashion with the instruction set table for the WASM version (presuming a future version of WASM can break compatibility with the older/current if they want to make room for expanding and the version number begins to have greater importance in the future at some point in the future. However, WASM binary hex code values will or should correlate closely with the instruction set table of the particular WASM version. WASM version would matter, of course. Si it would be conceivable to write an almost pure WASM Assembly Opcode/Operand mneumonic format to hexadecimal format. When I say, mneumonic style, I am referring to ( webassembly.github.io/spec/core/appendix/index-instructions.html ) but of course, there is stuff one has to kind of observe between WAT to WASM and analyzing the hex values and understanding the structure of the system altogether. But at first, working in WAT then "assemble" to WASM would be a good place to start and over time, explore how to manipulate the wasm binary code and then write code straight in the binary for those that want to explore that but I would not say it would be practical for professional work involving a lot of code. Coding WAT by hand, maybe if you get it down to science, you can do some impressive stuff but in a lot of cases, most just won't get into that level of tight woven advanced handwritten webassembly like some ML coder did in the demo scenes or old school programmers of the age of NES/SNES/DOS/C64/Amiga era and how we got into the nuts and bolts.
@antferdom
@antferdom 3 жыл бұрын
You have became an instant click KZbin channel. What a great content you deliver, wow.
@chrishayuk
@chrishayuk 3 жыл бұрын
Wow, thanks! glad you're enjoying the content
@richerram1
@richerram1 3 жыл бұрын
Very nice explanation. Thank you very much.
@chrishayuk
@chrishayuk 2 жыл бұрын
Glad it was helpful!
@andydataguy
@andydataguy 2 жыл бұрын
Great video! Been trying to wrap my mind around the benefits of WASM. Thank you 🙏🏾
@LewisCampbellTech
@LewisCampbellTech 2 жыл бұрын
Cool video. I'd been following WASM for a while, but thought "it can't access the DOM, javascript is already pretty fast - who cares?". This gave me some more stuff to ponder.
@andrewbeef8758
@andrewbeef8758 Жыл бұрын
after 12 seconds of starting the video I subscribed , keep up the good work .............
@chrishayuk
@chrishayuk Жыл бұрын
Glad you liked
@david2am
@david2am 2 жыл бұрын
Hi Chris, I have recently discovered your channel, and is awesome I enjoy it. Your video makes me think a few questions: what medium WASM runs above, an engine as V8? Can it run apart from a browser? Thank you in advance
@chrishayuk
@chrishayuk 2 жыл бұрын
yes, it very much can independent of browser. check my webassembly playlist, loads more on WASM
@songpandy9590
@songpandy9590 2 жыл бұрын
Great Video! more contents like this please!
@TheDuckPox
@TheDuckPox Жыл бұрын
I am not sure if your example of Docker being bloaty is applicable in Linux. Since, Docker's underlying technology is Linux namespace, it makes sense that at the end of the day if you want to install it on any other non-Linux OS, you have to use a VM (e.g. Docker Desktop, WSL). I would argue that wasm is not going to replace linux container, not only from the level of control, but also the overhead introduced from the containerisation and inability to directly interface with non-wasm system libraries.
@ChumX100
@ChumX100 2 жыл бұрын
I've seen some services (beyond cloud providers) allowing users to upload code to handle specific workflows: Things like transactional mail and authentication services. Pretty much all of them would accept JS scripts and would expose a well defined API to interact with the service. Isn't JS already sandboxed enough for these scenarios?
@chrishayuk
@chrishayuk 2 жыл бұрын
they're usually ran within a container in the backend, so heavier weight
@ChumX100
@ChumX100 2 жыл бұрын
@@chrishayuk there's also V8 isolates, which are also a popular choice for running Wasm. But I guess you were thinking more of Wasm-specific runtimes like Lucet.
@chrishayuk
@chrishayuk 2 жыл бұрын
@@ChumX100 yeah, i was.. but i like your call on V8 isolates.. i think cloudflare uses that for their edge network.. i think this could be some interesting vid ideas.. i like it.. THANK YOU!!!
@matveysafronov2813
@matveysafronov2813 Жыл бұрын
hope than business people will believe in the wasm possibilities )
@mrRambleGamble
@mrRambleGamble 4 ай бұрын
The music is loud and the volume is chaotic in the intro
@chrishayuk
@chrishayuk 4 ай бұрын
agree, hence why i cut it for later videos. a bad experiment, appreciate your feedback
@mrRambleGamble
@mrRambleGamble 4 ай бұрын
@@chrishayuk I didn't realize it was old. It's good content in any case. I had been watching your other videos; keep up the great work!
@chrishayuk
@chrishayuk 4 ай бұрын
Cheers, appreciate it, weirdly I think webassembly is gonna become very relevant for ai. I think the thoughts in this video hold pretty true
@user-kw9cu
@user-kw9cu 11 ай бұрын
WHY THE MUSIC IS SO LOOOOOOUD???
@aucklandbranchnzart2924
@aucklandbranchnzart2924 2 жыл бұрын
Good content, crap audio and background distracting 'music?'.
@chrishayuk
@chrishayuk 2 жыл бұрын
still experimenting on the audio. i've adjusted latest video. glad you enjoy the content
@ArlindoHonkRP
@ArlindoHonkRP 2 жыл бұрын
@@chrishayuk I think the music is okay to give the exciting feeling about the content, but it should be quieter then I think it would be perfect.
@ArlindoHonkRP
@ArlindoHonkRP 2 жыл бұрын
@@chrishayuk Really nice content, btw. I found a painting web app that uses web assembly then it got me interested. Thanks.
@Coding-to4zj
@Coding-to4zj Жыл бұрын
you dont make any sense
@chrishayuk
@chrishayuk Жыл бұрын
I often don’t
Getting Started with WebAssembly (WASM) with Rust Lang
33:10
Chris Hay
Рет қаралды 11 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 80 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
WASI: a New Kind of System Interface
37:12
InfoQ
Рет қаралды 19 М.
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,3 МЛН
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 181 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 59 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Patching WebAssembly Binary with C++
3:16:27
Tsoding Daily
Рет қаралды 36 М.
Getting started with AssemblyScript | WebAssembly | Tutorial
22:44
WebAssembly (WASM) vs. Docker - Our Expert Analysis
19:53
KodeKloud
Рет қаралды 92 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 80 МЛН