Hybrid-Level Programming - Richard Feldman

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

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

  • @henrispriet9812
    @henrispriet9812 Месяц назад +11

    I'm quite disappointed that he didn't investigate the slow rust code. Exactly 5s smells like a timeout, so potentially nothing to do with abstraction layers. But i guess we'll never know now.

    • @krystofjakubek9376
      @krystofjakubek9376 Месяц назад +8

      His point wasnt that the implementation is slow but rather that there obviously is a big bug somewhere but locating it is made difficult by the ammount of code/layers of abstraction. That is the argument is not "layers if abstraction => slow" but "the more code you have the more things can go wrong" which seems like a reasonable take.

    • @alexpyattaev
      @alexpyattaev Месяц назад +3

      The rust project he took has been unmaintained for 5 years. The fact it works at all is a miracle.

  • @loganhodgsn
    @loganhodgsn Месяц назад +10

    Performance is just like traffic! The most effective solution to getting to your destination in the least amount of time isn't to increase your maximum speed, but to reduce the amount of time you're moving slower.

  • @jeffersonmcgee9560
    @jeffersonmcgee9560 Месяц назад +5

    Amazing talk!!! Always a pleasure to listen to Richard

  • @JhraumG
    @JhraumG Месяц назад +12

    Two 5s response times scream of timeout (a wrong error handling + retry loop I guess) rather than a slow path.

  • @felixa4705
    @felixa4705 Месяц назад +2

    One of the more relevant reasons for dylibs today is that the OS maintainer can patch multiple programs at once by updating a single dylib. With a static binary, each application maintainer needs to release a patch, which may take a long time or possibly never happen.

  • @MaksimVolkau
    @MaksimVolkau Месяц назад +2

    An amazing thoughtful talk on the principles behind the scene.

  • @JG-nm9zk
    @JG-nm9zk Месяц назад +20

    Talks about lovable programs and zed in the same talk. 1) Zed trying to force AI assistants on you. 2) only way to change settings is in settings.json. 3) default theme is unreadable.

  • @swattertroops-yaaa
    @swattertroops-yaaa Месяц назад +1

    all the talks have been great. highest density of quality

  • @CGMossa
    @CGMossa Месяц назад +12

    Great talk. The bit about Rust was very weak.

    • @javierflores09
      @javierflores09 Месяц назад +17

      why so? The point of it was that there could be many layers of abstractions that can pose a performance ceiling even in lower-level languages and it managed to convey that quite well

    • @swattertroops-yaaa
      @swattertroops-yaaa Месяц назад +11

      ​@@javierflores09because people make rust their identity & get offended easily

  • @alexpyattaev
    @alexpyattaev Месяц назад +15

    The half baked example with rust abandonware webserver was really out of place. Iron is not a well-tested project, last commit was several years ago, it is pre-1.0 and lacks any benchmarking setup or tests. So you take somebody's abandoned hobby project, discover it does not work, and claim "it must be the dependencies!". If you bothered to open the issue tracker you would see that the project has been left unfinished years ago. Maybe the real lesson should be that you can find garbage tier abandonware code in any language if you look hard enough? The fact it even compiles at all is a pleasant surprise :)
    If I mess with the roc compiler and find horrible perf bugs, at the very least I report them rather than publicly shaming your work. And you decided that reporting the bug is above you, but bashing the project on YT is fine. Have you a shred of decency left?

    • @icylace
      @icylace Месяц назад +5

      Are you saying he should have submitted a bug report to a project that is already abandoned ?

    • @_garicas
      @_garicas Месяц назад +8

      You didn't understand the point and took it personally as if a language were your personality

    • @misalambasta
      @misalambasta Месяц назад +3

      Totally agree with you Alex. 👍

    • @alexpyattaev
      @alexpyattaev Месяц назад +4

      @@icylace no, do not be silly. He should have done his due diligence and not used that abandoned project in the presentation. And if by some miracle he did not notice lack of commits for 5 years, he'd definitely notice the state of the issue tracker while submitting the bug.

    • @alexpyattaev
      @alexpyattaev Месяц назад +4

      @@_garicas which point did I not understand exactly? Also my argument has nothing to with the language. If he did the same with abandoned project in any other language I'd be equally upset. Rust in particular has plenty of issues with complexity management and dependency hell. And one can take any well-tested and maintained web server and demonstrate the same sort of issues by just browsing the open issues.

  • @innovationsanonymous8841
    @innovationsanonymous8841 Месяц назад +5

    Lost me at 60gb of ram. Get a 4 gb lappy like the rest of us and tell us about your resource usage

    • @SimGunther
      @SimGunther Месяц назад +2

      You talking about 34:23? That's wildly out of context 😂

  • @edgeeffect
    @edgeeffect Месяц назад +2

    Imagining the author of that web-server saying "but... but... but... Rust offers ZERO COST abstractions!"