Web Assembly (WASM) in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • Learn the fundamentals of Web Assembly in 100 Seconds, then build your first WASM binary with AssemblyScript. fireship.io
    - WASM Docs developer.mozi...
    - Figma's Story www.figma.com/...
    - AssemblyScript www.assemblysc...
    #webdev #wasm #100SecondsOfCode
    Install the quiz app 🤓
    iOS itunes.apple.c...
    Android play.google.co...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font

ความคิดเห็น • 773

  • @oskarszwajkowski
    @oskarszwajkowski 3 ปีที่แล้ว +3795

    We live in times where you learn JS to write server side code and desktop apps (electron), and you also learn C++ / Rust to create browser apps.

    • @basharmously2162
      @basharmously2162 3 ปีที่แล้ว +386

      It is actually more nuts the more you think about it.

    • @Fireship
      @Fireship  3 ปีที่แล้ว +952

      Things have really come full circle, haha.

    • @SpaghettDev
      @SpaghettDev 3 ปีที่แล้ว +63

      @@Fireship yes, a fire circle

    • @djordjenikolic6560
      @djordjenikolic6560 3 ปีที่แล้ว +45

      A lot would think it's a joke...no...no it's not

    • @Amaraticando
      @Amaraticando 3 ปีที่แล้ว +9

      Ironic...

  • @GirishKumar-gi7ky
    @GirishKumar-gi7ky 3 ปีที่แล้ว +3016

    petition for a full-blown WASM course in Fireship 🔥

    • @winkleraron8175
      @winkleraron8175 3 ปีที่แล้ว +15

      This would 100% be my first course in fireship. I've been looking for a course targeting wasm but haven't found any outstanding ones yet.

    • @mikemartire1612
      @mikemartire1612 3 ปีที่แล้ว +1

      I would love to see a video using ionic or reactNative with WA to do some cool things in a PWA

    • @user-iq7xy8is3f
      @user-iq7xy8is3f 3 ปีที่แล้ว

      @@mikemartire1612 me too, tell me if u Fond a solution

    • @mikemartire1612
      @mikemartire1612 3 ปีที่แล้ว

      ​ @Zakariyya Abdullahi ive been looking and havent found anything. I've specifically been looking for a way to turn sophisticated animations or images into video in the frontend. It doesnt look like it has been done yet in a non-native way

    • @wasifahsan2718
      @wasifahsan2718 3 ปีที่แล้ว

      Agreed agreed agreed!
      (≧▽≦)

  • @MrDropMotion
    @MrDropMotion 3 ปีที่แล้ว +877

    A more in depth video would be great!

  • @echoo200
    @echoo200 3 ปีที่แล้ว +487

    Me: watches 100 secs about web assembly
    Me later:
    *Adds to resume

    • @lardosian
      @lardosian 3 ปีที่แล้ว +5

      You beat me to it!!!

    • @edwinthatsnotmyname3670
      @edwinthatsnotmyname3670 3 ปีที่แล้ว +19

      *Has to apply to 300 jobs just to get a single interview because everybody added to resume.

    • @echoo200
      @echoo200 3 ปีที่แล้ว +6

      @@edwinthatsnotmyname3670 we'll see yah in the interview hahaha

    • @JJCUBER
      @JJCUBER 3 ปีที่แล้ว +29

      Don’t forget to add your 10 years of experience!

    • @Atulnavadiya
      @Atulnavadiya 3 ปีที่แล้ว +1

      Lmao

  • @abcdefg-nu4xj
    @abcdefg-nu4xj 3 ปีที่แล้ว +4359

    “If”? Literally everyone wants to see an in depth video

  • @samarthpatel8070
    @samarthpatel8070 3 ปีที่แล้ว +487

    I'd love to see you make a simple project where you use c++ and react

    • @Fireship
      @Fireship  3 ปีที่แล้ว +316

      I was thinking about something similar, but with Rust.

    • @Soremwar
      @Soremwar 3 ปีที่แล้ว +46

      @@Fireship Give Rust some love

    • @nikola1912ify
      @nikola1912ify 3 ปีที่แล้ว +27

      @@Fireship Definitely Rust!

    • @amazecreations1853
      @amazecreations1853 3 ปีที่แล้ว +29

      I think not everyone is familiar with rust , in that case if you use c++ most people can understand it

    • @arsen2202
      @arsen2202 3 ปีที่แล้ว

      @@Fireship 🔥🔥🔥

  • @GamingBlake2002
    @GamingBlake2002 3 ปีที่แล้ว +93

    I can't believe I'm just now learning about WASM. I've always wondered how 3D modeling sites are capable of such powerful rendering

    • @Psychopatz
      @Psychopatz 2 ปีที่แล้ว +10

      Same and also I respect Figma more hehehe

    • @circuit10
      @circuit10 2 ปีที่แล้ว +31

      WebGL is the main reason for that

  • @christianmartinez2179
    @christianmartinez2179 3 ปีที่แล้ว +6

    This single 100s long video explains everything better than any article I've read since wasm announcement

  • @ZachHixsonTutorials
    @ZachHixsonTutorials 3 ปีที่แล้ว +189

    I would love to see a more in depth video about this. I tried to learn it about a year or so ago and it was pretty confusing since there were loads of tutorials teaching you how to run simple code, but not a lot actually explaining what was going on, and what the different files were

    • @kreuner11
      @kreuner11 2 ปีที่แล้ว

      Emscripten gives you a nice API for this

    • @ZachHixsonTutorials
      @ZachHixsonTutorials 2 ปีที่แล้ว +1

      @@kreuner11 idk, the tutorials I followed used emscripten but usually spit out files that weren't explained, or never gave good next steps past the basic "hello world," example. I'll probably give it another shot today since it's been a while though

    • @briangschneider9961
      @briangschneider9961 2 ปีที่แล้ว

      i 100% agree .. I did exactly the same thing. I think it was at least twice. I got a few very very basic examples working. But to understand anything you had to try to piece together a bunch of different stuff that wasn't exactly directly related. It was a mess

  • @sheneshperera
    @sheneshperera 3 ปีที่แล้ว +25

    I'd like to point out that there are huge/major misconceptions when it comes to WASM in the community, especially because it's something new. I've literally had new devs ask me if they should just learn WASM because "it's the future and everything is fast that way". I really liked the fact that you specifically mentioned that WASM can at best be a compilation target only and it will never replace Javascript. Maybe when you do your in-depth video, you could mention the fact that WASM is best used for edge-case optimizations and not something you should write your next app in because it's "fast".
    Or be a job-post requirement "Has 7+ professional experience in WASM because we only write the fastest code"

    • @masoodhk258
      @masoodhk258 3 ปีที่แล้ว +7

      that last line reminds me of the time when Swift was introduced and I saw a job post that wanted a developer with "6-12 months experience with Swift"

    • @circuit10
      @circuit10 2 ปีที่แล้ว +8

      WebAssembly isn’t just for performance, it’s for also for using non-JS language on the web and it’s a really good portable, secure, JIT or AOT compilable binary format

    • @yash1152
      @yash1152 2 ปีที่แล้ว +4

      > _"... WASM is best used for _*_edge-case_*_ optimizations and not something you should write your next app in ..."_
      (highlight mine)
      the parent comment was good untill the last second sentence quoted above which seems like it's coming from a JS fanboy and who has not seen anything other than that.

  • @faraonch
    @faraonch 2 ปีที่แล้ว +1

    This is the only topic that deserves a 1 hour in depth deep dive video.

  • @ithinkimhipster502
    @ithinkimhipster502 3 ปีที่แล้ว +37

    Yes, I would love a more in depth video for webassembly. If you could produce a concise video that details the entire process, from c++ to using it in the browser, that would be amazing!

    • @StEvUgnIn
      @StEvUgnIn 3 ปีที่แล้ว +1

      Check emscripten

  • @pinch-of-salt
    @pinch-of-salt 3 ปีที่แล้ว +8

    I had seen some articles earlier on assemblyscript and this language seems like the right direction. Some might debate like they did for running JS in the backend. But AS has one of the best transpilers for WASM and it's very close to JS.

  • @DJ-Illuminate
    @DJ-Illuminate ปีที่แล้ว

    I am an animator and found Ruffle that is built in WASM and replaces Flash plugins. Now I am trying to understand WASM. I really appreciate this video you did because it instantly gave me the understanding I needed. Not even chatgpt was able to help with this.

  • @ScaerieTale
    @ScaerieTale 2 ปีที่แล้ว +29

    Thanks for this :) C# 10/.NET 6 is adding Web Assembly support, and as someone who's just learning C# as her first language, I wasn't familiar with the concept. This was massively helpful :)

    • @S_O_O_C
      @S_O_O_C ปีที่แล้ว

      Kinda late to the party, but check out Blazor, absolute gem of a framework.

  • @alaaal-khater8034
    @alaaal-khater8034 3 ปีที่แล้ว +31

    Blazor WASM in 100 seconds 🔥

    • @nhan1503
      @nhan1503 3 ปีที่แล้ว

      YES PLEASE!

  • @RexGalilae
    @RexGalilae 3 ปีที่แล้ว +1

    I both hate and love that cliffhanger at the end. You better make an in-depth video now 😤

  • @Rider0fBuffalo
    @Rider0fBuffalo ปีที่แล้ว +3

    I love writing client side functions in C# ... It is just so nice. MVVM client pages are my favorite. Just need more creation of components for Blazor! Getting there.

  • @jacobshore
    @jacobshore 3 ปีที่แล้ว +1

    Yes, in fact I would like more on this topic

  • @matthewao
    @matthewao 3 ปีที่แล้ว +2

    Everytime Fireship uploads a video it feels like unboxing a Christmas gift

  • @the_primal_instinct
    @the_primal_instinct 3 ปีที่แล้ว +33

    For me WASM still stands for Watcom Assembly. I feel old.

  • @SinPulseII
    @SinPulseII 3 ปีที่แล้ว +9

    A more in depth video would be amazing. Specifically maybe comparing ease of use of using c++ and wasm to create a website compared to the normal processes

  • @freekeys
    @freekeys 3 ปีที่แล้ว +41

    Django in 100 seconds ❤️

  • @adtc
    @adtc 3 ปีที่แล้ว

    NEED A COURSE! THIS IS PHENOMENAL! A few years from now, ALL software would run in a browser!!! You would no longer have "Windows software", "Mac software" and "Linux software" (except the browsers). It will just be "software". EXCITING!!!!

  • @misterkevin_rs4401
    @misterkevin_rs4401 3 ปีที่แล้ว +2

    Today is my birthday and I really love the fact of having this video uploaded today 🚀
    Been following you since IONIC days

  • @love4photos
    @love4photos 3 ปีที่แล้ว +8

    This was exactly the droids I was looking for! Great 100 second intro! Thank yooou 🤗💕

  • @MoinkAndKilo
    @MoinkAndKilo 22 วันที่ผ่านมา

    Thank you for the content. Your 100 seconds videos are always on point.

  • @azatecas
    @azatecas 3 ปีที่แล้ว +10

    can you do your biography in 100 seconds? that would be really interesting

  • @mtsurov
    @mtsurov 3 ปีที่แล้ว +53

    I'd pay for a WASM masterclass. (If done by you and priced competitively).

    • @Mroskas
      @Mroskas 3 ปีที่แล้ว +6

      A lot of requirements for a nobody

    • @stbuchok
      @stbuchok 3 ปีที่แล้ว +16

      @@Mroskas He's not a nobody, he's a potential customer. You do understand that don't you?

    • @nhanNguyen-wo8fy
      @nhanNguyen-wo8fy 3 ปีที่แล้ว +6

      @@Mroskas most people don't want to pay. I don't want to pay.
      This guy is a good customer. I see he could pay 49.99$ top.

    • @Mroskas
      @Mroskas 2 ปีที่แล้ว

      @Par ler Because I didn't like the comment

    • @Mroskas
      @Mroskas 2 ปีที่แล้ว

      @Par ler you have some real work to do if you can't tell the difference between a comment and a person. Take care, buddy!

  • @Adam_Lyskawa
    @Adam_Lyskawa 2 ปีที่แล้ว

    The best 100 seconds use I've seen on TH-cam so far.

  • @Stridsvagn69420
    @Stridsvagn69420 3 ปีที่แล้ว +2

    now I get how they made Unity and Unreal "browser-compatible"
    this is awesome, ngl

  • @gauravpandey1657
    @gauravpandey1657 3 ปีที่แล้ว

    Make a full video please. I really want to understand more about web assembly and your way of describing things is way too good. Keep it up and looking forward for more tutorials.

  • @melkileo
    @melkileo 3 ปีที่แล้ว +1

    I translated a CPU intensive app I made in typescript to AssemblyScript (using the right number types for optimizations purposes) and it happened to be slower than the js version !

  • @ibrahimfadel7711
    @ibrahimfadel7711 3 ปีที่แล้ว +4

    Definitely would like to see a longer video on Webassembly

  • @jimjones1010
    @jimjones1010 ปีที่แล้ว

    This 100 sec was great. Thanks! Love to see an expanded version and will be on the lookout. The time is right.

  • @chrisray9653
    @chrisray9653 3 ปีที่แล้ว +3

    A very needed change. More videos on this WASM please.

  • @mohamedsalman3205
    @mohamedsalman3205 3 ปีที่แล้ว

    Loving Blazor for the past 6 months

  • @bharat1031
    @bharat1031 3 ปีที่แล้ว +1

    You continue to amaze me with how high quality your videos are.

  • @marianpazdzioch5437
    @marianpazdzioch5437 3 หลายเดือนก่อน

    this is the only channell that I have to slow motion to follow

  • @muhammadhamzashujaat6767
    @muhammadhamzashujaat6767 3 ปีที่แล้ว

    Yes a full-blown tutorial/video about this will be much appreciated.

  • @willinton06
    @willinton06 3 ปีที่แล้ว +6

    Not meant to replace JS, but it will, and it’ll be glorious, we’re months away from WA 2.0 with multi threading support, the things we’ll make are going to be beautiful

  • @lmamakos
    @lmamakos 3 ปีที่แล้ว +3

    Conceptually this seems identical to when you had a JVM embedded in a browser. These days, you'd augment your vanilla JVM with a JIT compiler to reach closer to native code performance. (And probably that's still happening here, just starting with a different virtual machine model.) What's different this time?

  • @darrenfinch1935
    @darrenfinch1935 ปีที่แล้ว +1

    WHY DID I NOT KNOW ABOUT THIS SOONER? As a Java/C# guy, JS has been kind of a low-key pain. I may have just found a replacement :)

  • @micmacha
    @micmacha 2 ปีที่แล้ว

    Every program I write for the web now starts with C and Emscripten. I might use Qt or even straight-up SDL for the interface. *It's just cleaner.*

  • @cbbcbb6803
    @cbbcbb6803 2 ปีที่แล้ว

    I'm glad you said "even COBOL"!

  • @mubarekabdi
    @mubarekabdi 3 ปีที่แล้ว

    Absolutely yes to the in-depth video on WebAssembly

  • @supernenechi
    @supernenechi 3 ปีที่แล้ว

    That... Is the most amazing this ever. Native compiled code straight in the browser??!?! Madness!!!

  • @jasonreviews
    @jasonreviews 3 ปีที่แล้ว

    funny how i have learned more from your channel than my coding bootcamp....

  • @ankidemi-rider8550
    @ankidemi-rider8550 3 ปีที่แล้ว

    In depth! In depth! In depth!

  • @user-vq6pe5px9k
    @user-vq6pe5px9k 3 ปีที่แล้ว

    5k likes in just 28932 views, man, u see how audience wants some good and detailed in depth course about this technology.

  • @abdelhakimkhabir
    @abdelhakimkhabir 2 หลายเดือนก่อน

    write web software with languages other than js
    run on all modern browsers => no compatibility issues
    Process: language X =compile=> web assembly => go touch some grace
    Aha moment: combine them together like what figma does react for no resource demanding stuff and web assbly to... you know!

  • @dubba7451
    @dubba7451 3 ปีที่แล้ว +1

    Maybe for the more in depth video take a look at how to use rust with parcel. I really like how they integrated it.

  • @mrala
    @mrala 3 ปีที่แล้ว +1

    that background music is addictively positive 👍

  • @azulamazigh2789
    @azulamazigh2789 3 ปีที่แล้ว

    now you are just fishing for comment. you know we want in depth video. awesome video by the way.

  • @samuelwaller4924
    @samuelwaller4924 2 ปีที่แล้ว

    Wow, you can compile basically anything to run on the web, so you don't just have to use javascript? This is awesome!
    **compiles javascript to wasm**

  • @talderson1
    @talderson1 3 ปีที่แล้ว +3

    Did he make one? I remember see something about this a number of years ago. With all the realtime and offline capabilities coming into their own this seems really powerful. Or as a data exchange converting serialized objects back and forth.

  • @TheDorac1
    @TheDorac1 3 ปีที่แล้ว

    I have been searching for a good tutorial on WebAssembly. There isn't really a tutorial. This would be great!

  • @anteusify
    @anteusify 2 ปีที่แล้ว

    I like this guy's just slightly raspy voice - it makes him very trustworthy! ^_^

  • @OurWorldIsBroken
    @OurWorldIsBroken 3 ปีที่แล้ว

    Been using WASM for my last 2 projects, this is great stuff...

  • @C0llinsW0rth.
    @C0llinsW0rth. 3 ปีที่แล้ว +1

    Agreed, more in depth would be amazing! Thank you for these!

  • @SalMakes
    @SalMakes 3 ปีที่แล้ว

    AIGHT I'll be now waiting for the In Depth Video.
    BTW thanks you made me love web development and now I got my first apprenticeship in the field

  • @amatureteacher5009
    @amatureteacher5009 3 ปีที่แล้ว

    Yes. More content on Web Assembly.

  • @nonameneeded405
    @nonameneeded405 3 ปีที่แล้ว

    Go deeper. This channel is amazing! Thanks for all you do.

  • @muhammadadibzaini
    @muhammadadibzaini 3 ปีที่แล้ว +40

    Finally, C can go brrr on the Internet

  • @VeryBlueBot
    @VeryBlueBot 3 ปีที่แล้ว

    Thanks and yea, defiantly would be wonderful to get more in depth vids on wasm

  • @nasimuddin6821
    @nasimuddin6821 3 ปีที่แล้ว

    We want more in-depth video on Web Assembly

  • @code4chaosmobile
    @code4chaosmobile 3 ปีที่แล้ว

    An in-depth video gets my vote

  • @thedave4369
    @thedave4369 2 ปีที่แล้ว +1

    What makes WASM different from eg embedding jvm or clr in a web browser? And thinking in this direction what’s the big deal with WASI?

  • @peterpeets5798
    @peterpeets5798 7 หลายเดือนก่อน

    Yes - would like to hear more on this topic.

  • @nathangeneral2414
    @nathangeneral2414 3 ปีที่แล้ว +1

    Awesome video. Definitely need a full-length tutorial with real-world use cases. Keep up the good work ;)

  • @fahadbawazir1771
    @fahadbawazir1771 ปีที่แล้ว

    Please make full length video on Docker, kubernetes,Git, Jenkins, DevOps..

  • @RawPeds
    @RawPeds 3 ปีที่แล้ว

    Fascinating topic. I would be happy to see a more in-depth video about it.

  • @tim_allen_jr
    @tim_allen_jr 9 หลายเดือนก่อน

    I need in depth Assembly videos so I'll hafta do it myself.

  • @TheSaintsVEVO
    @TheSaintsVEVO 3 ปีที่แล้ว

    duh ofc we want a more in-depth video. this is great

  • @helker999
    @helker999 6 หลายเดือนก่อน +2

    hope we get rid of JS some day, this is the first step

  • @xenialxerous2441
    @xenialxerous2441 3 ปีที่แล้ว +1

    Hi! Please do an indepth video on #WebAssembly and also, please share the resources pertaining the same. I appreciate your work and indebted to you honestly. Thanks!!

  • @SayantanDeyIshanz23
    @SayantanDeyIshanz23 3 ปีที่แล้ว

    Yes. An in depth video on WASM please.

  • @trevva23
    @trevva23 3 ปีที่แล้ว

    Been waiting for this one man. Please please please do in depth!

  • @OussamaBouguerne
    @OussamaBouguerne 3 ปีที่แล้ว +1

    I don't just want to see an in-depth video on this topic but a whole course if possible

  • @alexanderbambionaah3899
    @alexanderbambionaah3899 3 ปีที่แล้ว

    Good and brief description. Thanks. Awaiting to have deeper dive into wasm.

  • @omotoye
    @omotoye ปีที่แล้ว

    It'll be great to see Yew in 100 seconds video. Please make it happen 🙃

  • @sjn_
    @sjn_ 3 ปีที่แล้ว

    I wonder who even dislikes this guy's contents and for what reason

  • @emanuelgustafzon1284
    @emanuelgustafzon1284 2 หลายเดือนก่อน

    please make a comprehensive course on this topic fireship style, time efficient.

  • @madhavjha5289
    @madhavjha5289 3 ปีที่แล้ว

    An in depth video is what we all would love😁👍

  • @tomsawyer283
    @tomsawyer283 ปีที่แล้ว

    I really only C for everything I use, but WASM makes me think maybe I could get by with a good working setup with C and WASM

  • @flarnchain4087
    @flarnchain4087 ปีที่แล้ว

    Please do a full in depth video on Webassembly!

  • @0mdshuvo0
    @0mdshuvo0 3 ปีที่แล้ว

    You should make a WordPress tutorial for people to already know web developement

  • @el7284
    @el7284 3 ปีที่แล้ว

    You had me at OTHER than JavaScript

  • @ZachPetch
    @ZachPetch ปีที่แล้ว

    Awesome! Looks like the future. I'd love to see a more in-depth video, if you have the time.

  • @MikeDolar1
    @MikeDolar1 3 ปีที่แล้ว

    A deeper dive into the topic will be appreciated

  • @mayukhchanda5805
    @mayukhchanda5805 2 ปีที่แล้ว

    It was even more fun when I used to code Assembly on Intel 8085/8086 microprocessors during my undergrads. 😁
    P. S. I toasted a few MPs. 😃

  • @floriaaan1
    @floriaaan1 3 ปีที่แล้ว

    Please do a full in depth video on web assembly

  • @ronan696
    @ronan696 3 ปีที่แล้ว

    Awesome! Looking forward to the in-depth video on Web assembly.

  • @PutraSurya-78
    @PutraSurya-78 3 ปีที่แล้ว

    THANKS!! i finally understand the big picture of wasm

  • @2002budokan
    @2002budokan 2 ปีที่แล้ว

    Naturally we want to see more in depth wasm videos, moreover we want a webassembly playlist. Rust is my language of choice but a language independent approach may reach a greater audiance.

  • @niravpatel2382
    @niravpatel2382 3 ปีที่แล้ว

    Ya we need in depth video from your side and thank you for high quality education content 🙏

  • @jakubgajzler4607
    @jakubgajzler4607 3 ปีที่แล้ว

    More of web assembly, YES please

  • @nukemonk
    @nukemonk 3 ปีที่แล้ว

    Are you reading my mind? I just needed this!

  • @the-nasim
    @the-nasim 3 ปีที่แล้ว

    Yes, We want in depth video about WebAssembly

  • @estebanromo344
    @estebanromo344 3 ปีที่แล้ว +19

    I was just thinking about asking for this video yesterday. How do you continue doing this??