⚡zap⚡ - Blazingly Fast Backends in Zig - Rene Schallner - Software You Can Love Vancouver 2023

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 60

  • @yaanno
    @yaanno Рік тому +42

    i think its an ongoing pun between zig and rust folks so try not to be offended. there is much to learn from each projects :) great talk!

    • @aftalavera
      @aftalavera 10 днів тому

      Both groups are a cult. Based people do Go!

  • @r4gus
    @r4gus Рік тому +14

    Great talk Rene! I really enjoy your Zig talks.

  • @HaMMeR33661
    @HaMMeR33661 Рік тому +61

    Are these comment sections *always* so terrible? Let's do a better job of congratulating to outweigh the unreasonable naysayers!
    Great jokes, great solution, impressive performance! Thank you
    I love slim web-related things
    The lack of acceptance for different solutions is astounding.

  • @michaelkastner3611
    @michaelkastner3611 Рік тому +5

    This presentation has blown my mind. A really smart and witty presentation. Now I am really curious about his zig source code. Humbling, I've been programming at least ten years longer than Rene and I haven't acquired a fraction of the skills he has. Zig seems to gain traction quickly and having at least a workable example of a micro framework will definitely be an incentive for many more productive uses.
    Kudos and thank you!!!

  • @lilzin69
    @lilzin69 Рік тому +7

    Great talk! Congrats!

  • @MaRi0-64
    @MaRi0-64 Рік тому +4

    Great presentation! I like the concept of it, using the framework for even something useful for the event itself, good idea. Details are in the code anyways, and there is quite some functionality added since I checked the github repo last time. For sthg that started out of a need, as private project, impressive what it has become!
    Btw I find it would it be a good ieda to link to the project page in the video description, makes it easier for people who want to jump from the video to the code, when they are interested, probably helps spreading the zig virus - aeh love 😊haha
    Cool conference, too! 👾👾👾

  • @alexpyattaev
    @alexpyattaev Рік тому +8

    Where can I get the source for the rust benchmark that performed so poorly? It would likely make for a treasure trove of bug reports against the rust book.

  • @valentinrafael9201
    @valentinrafael9201 2 місяці тому +1

    Zig and minimal js? Let’s go

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

    Nice talk, you're actually very funny hahaha. I also watched your previous presentation about slides, it was awesome.

  • @unperrier
    @unperrier День тому

    This is a niche webserver/framework because in my experience most web apps are I/O bounds (database I/O, file I/O for templates from disk, fetch resources from the network, get/set keys in redis or memcache etc) so that python ASGI frameworks (e.g. sanic) is plenty enough for most use cases.
    And for the other cases that are CPU bound, still use a python webserver and optimize the CPU bound part in whatever faster language.

  • @KresnaPermana
    @KresnaPermana Рік тому +13

    Imagine if the project was named with "ZAG"

    • @natescode
      @natescode Рік тому +5

      That should be a framework like Ruby on Rails should be Zig Zag 😂

    • @danvilela
      @danvilela 7 місяців тому +1

      yeah.. that P is annoying me ..

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

    10:28 fums
    just expand, extrapolate, estimate

  • @danvilela
    @danvilela 7 місяців тому +2

    IT SHOULD'VE BEEN NAMED ZAG!!!

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

    What number was he talking about at 12:19?

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

      I'm assuming it was the much, much smaller number. You can't imply Rust is that much slower without inviting some zealotry.

  • @29238734943
    @29238734943 Рік тому +14

    Weird, someone deleted my comment about the underlying c framework facil being abandoned with no commits for several years. Also should have said not looking at supporting http2/3 is short sighted. Will move along.

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

      weird, and my reply got deleted that pointed to the cstl repo

    • @ZigSHOWTIME
      @ZigSHOWTIME  Рік тому +23

      UA-cam sometimes loses comments. If I delete a comment, I always also ban the person, so if it had been me you wouldn't have been able to post this other comment.

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

      ​​@@ZigSHOWTIMEit seems to happen when one posts links *or* references well know companies like M$ explicitly or products (particularly if you spell and capitalize them correctly) or write comments that suggests "use product X". It's bizarre.

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

      Apparently UA-cam some time ago started to silently delete most comments containing links, which is frustrating beyond words.

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

      @@_kurohana Not only links also certain inflammatory topics.

  • @DAB009
    @DAB009 Рік тому +7

    I see what happened with the name here.

  • @jack-d2e6i
    @jack-d2e6i Рік тому +1

    BLAZINGLY f a s t

  • @gustavojoaquin_arch
    @gustavojoaquin_arch Місяць тому

    we live in a period...

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

    It's not OK that a circular reference is allowed, as it's an infinite loop; it has to break out at some point, so it's not a circular reference, which will be confusing to detect bugs an debugging

  • @the.real.ipatch
    @the.real.ipatch Рік тому +10

    but i just learned rust 🙃

    • @DAB009
      @DAB009 Рік тому +17

      Make money in rust and then propose changes in your org with Zig if you like it.
      Nothing wrong with using rust for a while. Because people still use C.
      All the best.

    • @saymehname
      @saymehname Рік тому +2

      @@DAB009there are few openings for rust

  • @IOnGust
    @IOnGust 4 місяці тому

    http3/quic ? Or at least http2 ?

  • @StinkyCatFarts
    @StinkyCatFarts 9 місяців тому +2

    Why is it that Rust developers are the ones always crying. Never met such a highly strung community in all of my life.

    • @Leonhart_93
      @Leonhart_93 9 місяців тому +1

      I have seen them several time being associated with wokeness. The more I see, the more true it seems, that unique blend of narcissism.

    • @jp263
      @jp263 2 місяці тому +1

      Imagine crying about folks wanting equal rights. Cons are wild

    • @StinkyCatFarts
      @StinkyCatFarts 2 місяці тому

      @@jp263 Rust was made by homophobes

    • @poleve5409
      @poleve5409 2 місяці тому

      twitter sickness is spreading

  • @haliszekeriyaozkok4851
    @haliszekeriyaozkok4851 Рік тому +5

    I don't like that framework and also that arrogant guy. As being an actix-web developer this is one of the worst frameworks it can ever possible, it could be able to took the worst feature of golang, middleware chaining. It's bad as oop. I definitely never write with it.

    • @renerocksai
      @renerocksai Рік тому +23

      I also don't do middleware. But there's also: other people. They asked for it, it was easy enough to do, they got it. You can just use the endpoint structs or build your own framework on top of just the listener (plus callbacks). Which you don't need to since you seem happy with actix-web which is fine. I might come across as arrogant in the video and will have to live with that - but you know me about as little as I know you :-), so I wouldn't judge you even if I wanted to (which I don't).

    • @MaRi0-64
      @MaRi0-64 Рік тому +8

      Your comment imho is very "you" specific, and stubborn. Web developer, ok, I used to see it not even as serious programming for example when you would have asked a younger me. I use assembly and C most (systems developer). There is differences. "Bad as oop". When you grow a bit older you will see a perfect need for all kinds of languags, even Javascript.
      Having said that, I have no other chance than seeing people coding in rust as arrogant and stubborn. You do them no favor imho.

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

      @@renerocksai just i'm curious, why wouldn't you consider to add dependency injection except middleware chaining? Also synthax of your framework is very complex, even rust frameworks is way easier than yours with their very detailed types. In the conclusion you seem to me like you wanted to create hardest to code framework you can and eventually made it. Isn't zig should be the simpler than rust, because it's purpose is to replace c except c++? But it seems you achieve to made it more harder.

    • @MaRi0-64
      @MaRi0-64 Рік тому +9

      @@haliszekeriyaozkok4851 all you say has been said in the presentation. middleware was never planned, it was people they asked for it. And you see a kind of zig vs rust competition here, noone asked for, too. please think about it.

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

      @@MaRi0-64 and no one asked to you advocate him. His complete work is a very typical example of overengineering and my reaction is for that, i made back-end development with express.js, vanilla go, actix web and i have a hard time to reading that frameworks code.

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

    never make backends in non memory safe languages 🤒

    • @lilzin69
      @lilzin69 Рік тому +10

      joke

    • @jakubgiesler6150
      @jakubgiesler6150 Рік тому +20

      Oh no, that rust sickness is spreading all over the place.

    • @cancername
      @cancername Рік тому +7

      git gud

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

      @@cancername lol yeah

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

      @@jakubgiesler6150 This was not a serious answer. Obviously, you can't fix the risks of memory unsafety simply by "getting good". Zig provides tooling for tests and reduces footguns, making viable and much easier to write safe programs in it, much unlike
      C. I was mostly trying to criticize the standpoint of "memory unsafe languages are not worth using" while poking fun at the "actually, you should write everything in C, just get good lol" crowd, because no matter how good you are, the complexity of a language and footguns will eventually cause bugs. Sorry about the misunderstanding.