Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • This video looks at why WebAssembly (WASM) is important. We look at what challenges it solves in the browser and in the backend. Why WASM will succees where browser plugins like flash or silverlight couldn't. How WebAssembly is different from Javascrip. Why Web Assembly could be a replacement for docker and why i think it could revolutionize banking and ecommerce.
    00:00 - Intro
    01:26 - Browser Plugins
    02:49 - WASM vs Javascript
    03:58 - WebAssembly Performance
    04:57 - WebAssembly Modules and ES6 Modules Interoperability
    06:27 - WebAssembly and JavaScript as a hybrid approach
    07:25 - Harvesting Legacy Codebases (C,C++,emscriptem)
    09:40 - WebAssembly as the containers of the future
    13:40 - WebAssembly Sandboxing and Security
    15:23 - WebAsssembly as the integration platform of the future
    17:01 - WebAssembly in ECommerce (Shopify)
    20:11 - WebAssembly and Banking
    23:11 - Docker vs WASM
    24:21 - WebAssembly at Edge (CDN's, Edge Devices)
    28:57 - Conclusion

Комментарии • 34

  •  Год назад +8

    It gives Java's "write once run everywhere" capabilities to any compiled language.

  • @iambassmills
    @iambassmills 2 года назад +8

    I insta-subscribed to your channel based on the content and quality level of this video alone. Great job!

  • @andydataguy
    @andydataguy 2 года назад +1

    Great video! Been trying to wrap my mind around the benefits of WASM. Thank you 🙏🏾

  • @Alex-hr2df
    @Alex-hr2df Год назад +2

    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.

  • @antferdom
    @antferdom 2 года назад +3

    You have became an instant click RUclips channel. What a great content you deliver, wow.

    • @chrishayuk
      @chrishayuk  2 года назад +1

      Wow, thanks! glad you're enjoying the content

  • @richerram1
    @richerram1 2 года назад +3

    Very nice explanation. Thank you very much.

  • @LewisCampbellTech
    @LewisCampbellTech 2 года назад +1

    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.

  • @songpandy9590
    @songpandy9590 2 года назад

    Great Video! more contents like this please!

  • @DysoniaMultiverseNews
    @DysoniaMultiverseNews Месяц назад

    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 Месяц назад

      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.

  • @andrewbeef8758
    @andrewbeef8758 Год назад +1

    after 12 seconds of starting the video I subscribed , keep up the good work .............

  • @david2am
    @david2am Год назад +1

    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  Год назад

      yes, it very much can independent of browser. check my webassembly playlist, loads more on WASM

  • @ChumX100
    @ChumX100 2 года назад +1

    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 года назад +1

      @@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 )

  • @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.

  • @user-kw9cu
    @user-kw9cu 10 месяцев назад

    WHY THE MUSIC IS SO LOOOOOOUD???

  • @aucklandbranchnzart2924
    @aucklandbranchnzart2924 2 года назад +1

    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.

  • @mrRambleGamble
    @mrRambleGamble 2 месяца назад +1

    The music is loud and the volume is chaotic in the intro

    • @chrishayuk
      @chrishayuk  2 месяца назад +1

      agree, hence why i cut it for later videos. a bad experiment, appreciate your feedback

    • @mrRambleGamble
      @mrRambleGamble 2 месяца назад +1

      @@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  2 месяца назад

      Cheers, appreciate it, weirdly I think webassembly is gonna become very relevant for ai. I think the thoughts in this video hold pretty true

  • @Coding-to4zj
    @Coding-to4zj Год назад +1

    you dont make any sense