Rust for JavaScript Devs | Re-writing an Express.js chat app (web-sockets) in Rust

Поділитися
Вставка
  • Опубліковано 14 гру 2022
  • In this workshop, you will learn all about language fundamentals, features like ownership and error handling, and the maturity of the ecosystem by writing an app together.
    Within three hours Rust Linz organizer Stefan Baumgartner will take you from project initialization to deployment, highlighting use cases, benefits, pitfalls, and major differences to other programming languages.
    We will take an Express.js based chat application that uses web-sockets and re-write it in Rust using the Axum framework. In doing so, we go through basic concepts that are unique to Rust, and see where we can benefit from using this exciting new language.
    Stay curious, because Rust is fundamentally different to your most favorite scripting language: You will become blissfully aware of memory management and concurrency. Stefan has been mainly using JavaScript for the last 15 years and will guide you through the biggest differences.
    At the end of this session, you will understand where and when to use Rust, and if Rust is a good tool for your work.

КОМЕНТАРІ • 10

  • @thirdvect0r
    @thirdvect0r Рік тому +3

    vod starts at 0:50

  • @DevOpsBoss
    @DevOpsBoss 10 місяців тому

    Fantastic workshop! Having access to such high-quality content for free is just mind-blowing 🤩

  • @sawood2010
    @sawood2010 10 місяців тому

    Best explanation of ownership!

  • @fumano2679
    @fumano2679 Рік тому

    Stark Stefan!

  • @MardukNHR
    @MardukNHR Рік тому +1

    Missed opportunity to have called the application "Ristcord"

  • @oleksrow
    @oleksrow Рік тому +1

    Hey, what vscode extension is giving you that nice inline errors and warns?

    • @MardukNHR
      @MardukNHR Рік тому +4

      rust-analyzer + clippy (I think)
      to change the color, add this to your "settings.json"
      "workbench.colorCustomizations": {
      "editorInlayHint.background": "#00000000",
      "editorInlayHint.foreground": "#ff0000"
      },
      to use clippy
      "rust-analyzer.checkOnSave.command": "clippy",

    • @sbaumg
      @sbaumg Рік тому +1

      Error Lens! Works with all LSPs

  • @Tszyu01
    @Tszyu01 10 місяців тому

    Is this example in GitHub? If so, can you share a link.

  • @GilbertoAlbino
    @GilbertoAlbino Рік тому

    Hi, thanks for sharing. I wasn't able to enter in Discord, and got really mad about that, because I schedule to my team some hours off for that. Please, stop using that Discord thing!