How Rust Views Tradeoffs

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

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

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

    I've seen like 3 vids of this guy in the last day and I've seen his hair go through its own anime training arc

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

      😂

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

    I'm an enthusiastic Julia user but I got to say having a documentation committee would go a very long way for us. Quality and exhaustive doc is almost as important as quality packages for language adoption. Right now, it still feels we're in the "let a thousand flower bloom" phase without many style criteria and asking new users help improve the doc while learning.

  • @JimPekarek
    @JimPekarek 4 ปีที่แล้ว +11

    The discussion on using what tools align with your values at 23:57 - 25:12 perfectly illustrated why I love Kotlin and Rust, and why I hate working with Javascript so much, where others love it. JS is just...antithetical to everything I hold dear.

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

      I'm "Javascript developer" and I hate it. The mere fact the TS is so popular just show how pathetic the language is.
      Dynamic typing vs Static typing...why is that even a question? It's like asking: Go to war with a Butter vs Rifle.
      What computers do great is keep track of things in the way we just can't. I want that a program runs through my code and tell me that it will be fine. It's a sort of testing, practically the very first layer, before unit testing.

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

      In my career over the last 10+ years, JavaScript had gone from one of the worst languages I've had to work with to a language that's a delight to work with. I find it fascinating that the "flavor" of it changed so much that my view changed like that.

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

      @@brokula1312 lol. The truth is TS is also a dynamically typed language... No static language can superset a dynamic language. The new trend in dynamically typed arc is to have the gradual and optional typing. Conversely, in static typing, there are stronger and stronger type inference and typeclass-ish features.
      As long as the code has a loose coupling, dynamically-typed languages are actually quite comfortable to use. And statically typed languages are weak at metaprogramming... Both with pros and cons

  • @jonaskoelker
    @jonaskoelker 4 ปีที่แล้ว +8

    Around the 10ish minute mark Stephen talk about win-win vs. zero-sum interactions. One of the key teachings of economics is that the world is full of win-win opportunities, and we collectively do ourselves a favor by maximizing our utilization of those opportunities.
    Mostly we carry out that maximization by making interactions between people based on mutual consent: if you want to interact with me in a way I think I won't like I can say no, take my ball and go home; you can do the same to me. If we both say yes, that must mean we both believe we'll benefit from the interaction-that is, we believe it's win-win.
    There are corner case exceptions to this rule, but they are just that: exceptional corner cases. The fundamental idea in economics is that win-win is possible and good, and there's a system for achieving that which is fairly simple (although the fully detailed argument is a lot less simple than my sketch of the main point).

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

    I came from Haskell, and I am loving the Rust type system... it is just what was missing on C

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

      Sorry to be so offtopic but does someone know a tool to get back into an instagram account??
      I stupidly forgot my login password. I would appreciate any help you can give me

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

      @@sageseth5483 you can do the forgot login thing and restore it with your email

  • @first-thoughtgiver-of-will2456
    @first-thoughtgiver-of-will2456 3 ปีที่แล้ว +9

    Rust has one of the best documentations I've seen since I learned Java (to me its better than that and more organized as well) thanks if you had a part in that.

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

    I'm going to name my child Rust

  • @birkett83
    @birkett83 5 ปีที่แล้ว +10

    Throughput vs latency can be a fundamental tradeoff in the specific context of choosing packet sizes. With a fixed link speed larger packets allow more throughput because the ratio of payload to header is increased, but it aldo takes longer to transmit a complete packet. This came up in the design of the ATM protocol which was widely used for telephone and data networks in the 1980s and 1990s. The US wanted 64-byte payloads, but France wanted 32 bytes because this would have kept the latency low enough for them to build an ATM voice network across the whole of France without using echo-cancellation. They compromised and made everyone unhappy with 48-byte frames. with 5 bytes of header, making 53 bytes total.
    Seriously.

    • @mduckernz
      @mduckernz 5 ปีที่แล้ว +2

      This is true enough, but again, as Steve was saying, it's not a _fundamental_ trade-off - it doesn't exist in all systems and scales and contexts, but rather you have different amounts that one must affect the others in different situations

    • @KaneYork
      @KaneYork 4 ปีที่แล้ว

      Nowadays, with increasing BDPs, we've got 9001-byte packets flying around!

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

    I love how elucidating this talk is, I really like his style of communication mixed in with humor

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

    cargo relies on the internet to function. Supporting old hardware is going to be next to impossible anyways.
    ... which is especially painful for FreeDOS development ... which has 2's complement notation

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

    Absolutely amazing! Thank you!

  • @TroyNeubauer
    @TroyNeubauer 4 ปีที่แล้ว +10

    Bending the curve lol

  • @TremereTT
    @TremereTT 5 ปีที่แล้ว +6

    Well done! Great presentation.
    Also I'm pretty sure why you are "between" jobs...
    Maybe self employment is the best option for you!

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

      Why?

    • @master74200
      @master74200 4 ปีที่แล้ว +5

      @Alex A company that can't handle it's employees having opinions on system designs and the way their jobs are supposed to be done, is not an employer I'd want for sure.

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

    Awesome talk, thank you!

  • @stephenjames2951
    @stephenjames2951 5 ปีที่แล้ว +25

    Engaging speaker.

  • @PetrGladkikh
    @PetrGladkikh 4 ปีที่แล้ว

    I like his presentations but
    10:00 - none of them are inherently against each other. I see no reason to single out throughput/latency. How choices are against each other depends on how bounds are defined - those may be rather fuzzy sometimes.
    If you inline everyting - binary gets larger - you get more cache misses, so "everything gets faster" is not also always true.

  • @anumangrocers6577
    @anumangrocers6577 5 ปีที่แล้ว +9

    Talk starts at 15:26

  • @rudde7251
    @rudde7251 4 ปีที่แล้ว +7

    This guy: "guys value different things then me, and prefer different languages, and that's cool"
    Other rust core devs: "The government should forcefully regulate the use for rust in applications!"

  • @ThePandaGuitar
    @ThePandaGuitar 4 ปีที่แล้ว

    Performant is a word in French.

  • @adinesh7989
    @adinesh7989 5 ปีที่แล้ว

    Wow. Nice talk.

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

    dark mozilla give us the erlang-like pre 1.0 rust

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

    🤟🤠

  • @theoligarchist1503
    @theoligarchist1503 4 ปีที่แล้ว +5

    the rust video starts after 16:00 only, SAVE your precious time