Rust Belt Rust Conference
Rust Belt Rust Conference
  • 58
  • 298 358
Lightning talk - Why maintaining winit is hard - Holden Marcsisin
docs.google.com/presentation/d/1yuNIxsMYHCMJ2ADlU-ncR8ZZaStVHZQIC0ty__XTZ_I/edit?usp=sharing
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
มุมมอง: 4 056

วีดีโอ

Lightning talk - Writing Hello World in 0x A Presses - Cassie Jones
มุมมอง 1.1K4 ปีที่แล้ว
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - A tour of the compiler guided by bitvec - Alexander Payne
มุมมอง 1K4 ปีที่แล้ว
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - How to run a RustBridge event - Jonathan Knapp
มุมมอง 2814 ปีที่แล้ว
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - What happens when you give blood - Jess Sacksteder
มุมมอง 3574 ปีที่แล้ว
givingblood.org/donate-blood/where-to-donate.aspx www.redcrossblood.org/give.html/find-drive www.aabb.org/tm/donation/Pages/Blood-Bank-Locator.aspx Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - Oracle bone script - Jenny Manning
มุมมอง 5724 ปีที่แล้ว
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - Metamorphic testing - Zach Mitchell
มุมมอง 2.3K4 ปีที่แล้ว
Zach Mitchell is a physics graduate student at Purdue University. github.com/zmitchell/monarch Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
Lightning talk - How to organize a workshop across continents - Phil Fried & Daan van Berkel
มุมมอง 2954 ปีที่แล้ว
Lightning talks are 5 minutes long, on any topic, by anyone. Proposals are voted on by attendees and selected by conference organizers. Not all lightning talks have slides, and due to some technical limitations, not all slides were captured.
The Death and Rebirth of Docs.rs - Quiet Misdreavus
มุมมอง 1.8K4 ปีที่แล้ว
Docs.rs is a beloved resource in the Rust community, but it was not long ago that such a resource did not exist. Join QuietMisdreavus as she tells the story of docs.rs, from its humble beginnings as crates.fyi and a Rustacean's learning project; through to its heyday and decline as a single-maintainer project that became a trusted community resource; to its rebirth in the present day as an offi...
Type Theory for the Working Rustacean - Dan Pittman
มุมมอง 17K4 ปีที่แล้ว
Rust really hits a sweet spot with respect to programming languages on account of a) its usefulness when working at a low level, coupled with b) its style of type system. Because of a), Rust can be - and is - used in places which tend to safety-critical: cyber-physical systems, autonomous vehicle infrastructure, robotics, etc. When building systems for these safety-critical environments, one al...
Introducing Rust into a Legacy Embedded System - Steven Walter
มุมมอง 4.5K4 ปีที่แล้ว
Discuss the what to do, what not to do, and the “we’re still not sure if this is a good idea” parts of using Rust in an existing code base that is both resource-constrained and littered with history. Specific topics will include building Rust projects inside the bitbake build system, as well as balancing different deployment methods against code size constraints.
Polonius: Either Borrower or Lender Be, but Responsibly - Niko Matsakis
มุมมอง 18K4 ปีที่แล้ว
Rust 2018 brought with it “non-lexical lifetimes” (NLL), a big overhaul of how the borrow checker worked that allowed it to accept a lot more programs. And yet, we’re still not accepting the full range of programs that was envisioned by the original NLL RFC - this is both for performance reasons and because the formulation didn’t turn out to be as flexible as originally thought. Polonius is a “...
Are we *actually* IDE yet? A look on the Rust IDE Story - Igor Matuszewski
มุมมอง 7K4 ปีที่แล้ว
Ever since appearing on the Rust 2017 roadmap, IDE support has been and continues to be a highly-requested feature that should boost productivity when working with Rust code. Despite the landscape shifting a lot during these last 3 years, including a proliferation of new tools and improved integration between tools, it feels like the Rust IDE story is not yet complete. This talk will explore th...
Tips for Writing a Web Server and Beyond - Apoorv Kothari
มุมมอง 3.9K4 ปีที่แล้ว
github.com/toidiu/talk_rust_belt_rust_2019 I will be presenting Fin, a non-trivial web server. In the process of creating Fin, I have had to think about and solve many common challenges one would face when writing a web application or even a general Rust program. A few of the topics include database testing, hardening SQL queries, auth, module isolation, error handling, logging, and more.
Unicode in Rust - Illustrated by Kanji - Jenny Manning
มุมมอง 2.8K4 ปีที่แล้ว
Have you ever wondered why you can’t look up a character in a string by its index? Or why the length of a string can be wildly different from the number of characters in the string? In this talk, we’ll dive into Unicode by looking at how Kanji is represented in Rust. You’ll learn about things like the Han unification, the origins of CJK languages from Oracle bone script, and why Rust handles st...
Evolving API design in Rust - Simon Nicholas Heath
มุมมอง 7K5 ปีที่แล้ว
Evolving API design in Rust - Simon Nicholas Heath
Syntax conveniences afforded by the compiler - Tshepang Lekhonkhobe
มุมมอง 1.8K5 ปีที่แล้ว
Syntax conveniences afforded by the compiler - Tshepang Lekhonkhobe
Actix and Actors in Rust - Nathan Hawkins
มุมมอง 16K5 ปีที่แล้ว
Actix and Actors in Rust - Nathan Hawkins
Move fast and don't break things: High-performance networking in Rust - Joshua Liebow-Feeser
มุมมอง 17K5 ปีที่แล้ว
Move fast and don't break things: High-performance networking in Rust - Joshua Liebow-Feeser
Lightning Talks: Rust Quiz - Alex Crichton and David Tolnay
มุมมอง 4.3K5 ปีที่แล้ว
Lightning Talks: Rust Quiz - Alex Crichton and David Tolnay
Core Team Talk - Ashley Williams and Niko Matsakis
มุมมอง 2.3K5 ปีที่แล้ว
Core Team Talk - Ashley Williams and Niko Matsakis
Lightning Talks: Personal Wiki - James Sacksteder
มุมมอง 1.4K5 ปีที่แล้ว
Lightning Talks: Personal Wiki - James Sacksteder
Maintaining the Rust Community - Arshia Mufti
มุมมอง 1.2K5 ปีที่แล้ว
Maintaining the Rust Community - Arshia Mufti
Lightning Talks: Rust In Space - myrrlyn
มุมมอง 2.6K5 ปีที่แล้ว
Lightning Talks: Rust In Space - myrrlyn
Monotron - a 1980s style home computer written in Rust - Jonathan Pallant
มุมมอง 15K5 ปีที่แล้ว
Monotron - a 1980s style home computer written in Rust - Jonathan Pallant
Lightning Talks: Rust's Family Tree - Jenny Manning
มุมมอง 9295 ปีที่แล้ว
Lightning Talks: Rust's Family Tree - Jenny Manning
Lightning Talks: Announcing the Ann Arbor Meetup - Esty Thomas
มุมมอง 2115 ปีที่แล้ว
Lightning Talks: Announcing the Ann Arbor Meetup - Esty Thomas
State of the crates.io - Sean Griffin
มุมมอง 4.1K5 ปีที่แล้ว
State of the crates.io - Sean Griffin
Percy: Isomorphic Web Apps with Rust + WebAssembly - Chinedu Francis Nwafili
มุมมอง 9K5 ปีที่แล้ว
Percy: Isomorphic Web Apps with Rust WebAssembly - Chinedu Francis Nwafili
Lightning Talks: Rustbots - Robots powered by Rust - Rahul Thakoor
มุมมอง 8735 ปีที่แล้ว
Lightning Talks: Rustbots - Robots powered by Rust - Rahul Thakoor

ความคิดเห็น

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

    I'm recently waiting for some dnd or coc game in real life, and, I found one here.....

  • @maximus1172
    @maximus1172 5 หลายเดือนก่อน

    Finally grasped the mechanical steps I need to pay attention to when dealing with the borrow checker in today's rust code!! This needs to be documented in the rust book the way it was explained here, the best explanation of borrow checker yet !!

  • @CrapE_DM
    @CrapE_DM 6 หลายเดือนก่อน

    I don't get it. How does a typical OO background make traits hard to understand? Also, for a "deep dive", this doesn't dive very deep. I was hoping to learn the differences between using generics on a trait and having a type field.

  • @konstantinrebrov675
    @konstantinrebrov675 8 หลายเดือนก่อน

    The video game example is really good for understanding traits.

  • @asitisj
    @asitisj 8 หลายเดือนก่อน

    This is a lot like nix build

  • @NonTwinBrothers
    @NonTwinBrothers 10 หลายเดือนก่อน

    I wouldn't exactly consider myself a rustaceon, but I found this to be a nice talk

  • @shailendrajadhav8603
    @shailendrajadhav8603 10 หลายเดือนก่อน

    I came across this video today and I think this is the best explanation of Traits in Rust on the internet!

  • @teeI0ck
    @teeI0ck 10 หลายเดือนก่อน

    👀

  • @GrahamTodd-ca
    @GrahamTodd-ca 10 หลายเดือนก่อน

    In _raku_ (`raku_lang`) the type hierarchy starts with "Mu" - which puts "the developer" in the realm of logical philosophy and Buddhist metaphysics right from the get go.

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

    18:41 should be Vec<Box<dyn Cast>>

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

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

    isn't it Box<dyn Cast>

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

    omg let him hit the spacebar!!

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

      wow mathematicians couldn’t be bothered to type out Natural and succeed or increment but would/expect me to say ‘suck suck naturals’ with a straight face

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

      actually a brilliant talk. thanks for making this understandable for those of us who aren’t type theorists!! i’ve always been really bothered by how i have to check the lengths of vectors and such at runtime, learnt something really cool from this talk, and i’m gonna try and apply this idea in my code later. i still stand by my point that mathematicians should get over themselves and stop with the silly symbol business already. computers have been around for decades. just learn to type faster ffs. it’s 2023 and it’s ur fault if you type so slowly that you still have to Nat this and suc that.

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

    I wish this project resumes development, because I actually really like KDevelop, and I think it's just a shame that it doesn't see much use because of the lack of language support in general. That being said, C/C++ support is fantastic.

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

    Dang, unfortunately the project the become stagnant:(

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

    I just wish slice::Windows could produce `Item`s of known length so that they could be unpacked. This would seem to be a solution. But there has got to be a limit somewhere; I think the typescript type system has been shown to be Turing complete. Maybe rust can beat it by being the first to run Doom on a type system.

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

    Without defining what "0.999..." means or what operations you can do on that object, one can hardly consider this a proof. Here's one definition: "0.999..." is shorthand for the sequence 0.9, 0.99, 0.999, 0.9999 and so on(*). When we say that "1 = 0.999..." what we really mean is that 1 is the limit of this sequence. If this is what we mean, the proof should follow easily from the kind of real analysis I expect first-year math students to learn at most universities. I guess we can call the sequence X, and let 10X be the component-wise scaling by 10, i.e. 9, 0.9, 0.99, etc.; then the component-wise difference (= 9X) is 8.1, 0.81, 0.081 and so on. We can then divide by 9 and get back X = 0.9, 0.99, 0.999 and so on, i.e. we can go back to where we started. But this doesn't prove that the sequence has a limit. (*) Note: we can define the sequence recursively: x_0 = 0.9 and x_{n+1} = 1 - (1 - x_n)/10. This recurrence has a single fixpoint, at 1, the iterated function is continuous and the distance to the fixpoint decreases by a constant factor. Together these facts imply convergence to the fixpoint.

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

    Mayb you should achieve volume first

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

    The question I had that wasn't answered: what prevents this from being the way we do borrow checking today?

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

      it's expensive to type check. the current implementation in rustc can be very slow and memory expensive. you can use it with the nightly compiler and RUSTFLAGS="-Zpolonius".

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

    Will this solve this problem: - case that doesn't work: object.call(object.value()); - case that works: let value = object.value(); object.call(value);

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

    Great talk! Cool timeline :)

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

    The difference is in HOW you write an unsafe code. If the programmer has to do something too advanced for the Rust compiler to comprehend, you can take over control. There's nothing wrong in calling unsafe function that has no flaws (aka is "pure")

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

    Hadn't seed that thing about dependent types moving up one universe level, very cool

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

    lmao this is wonderful

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

    That's not dependent types, but rather an overengineered, hardcoded, typed nightmare bullshit. Imagine trying to use this in a production code. Actual dependent types don't depend on types (pun not intended) and can be inferred automatically by proof checker from context.

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

      The talk was clearly framed as bending the rust type system, this is just a demo and not meant for prod

    • @user-uf4rx5ih3v
      @user-uf4rx5ih3v 2 หลายเดือนก่อน

      Dependent types cannot always be inferred by the proof assistant unfortunately. I think dependent types are better understood as a kind of macro, since (almost) all of the type information is completely deleted at compile time.

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

    Great talk!!

  • @Chris-on5bt
    @Chris-on5bt 2 ปีที่แล้ว

    TBH, Most pragmatically useful content is at the beginning and end. IMO, the content in the middle while nice background information is a little light on utility. @ ~ 1:20 Ms. Manning points out difference between string.len() & string.char().count() @ ~ 15:40 Ms. Manning talks over UTF-8, UTF-16, & UTF-32

  • @Bravo-oo9vd
    @Bravo-oo9vd 2 ปีที่แล้ว

    28:00 couldn't we save some space in Dashed variant by making it Option<NonZeroU32> and the resulting Option would have the same size as u32, 4 bytes? Dashed with zero spacing should theoretically look the same as Solid.

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

    Thanks a lot for such an impressive talk!!

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

    Wait, what happens if vector length is already usize::MAX, and then we push again? I don't see how the code presented deals with this potential problem.

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

      It panics, it said so in the docs. Push panics if pushing would overflow a usize integer.

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

    Dangers of C++ starts at 5:10; Unsafe Rust intro starts at 14:47; Title slide at 19:50

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

    I love this video makes it so clear

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

    I also like rust, especially the rust compiler. I want to contribute. I don’t know where to start?

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

    That was interesting. Thanks.

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

    I think I'm missing the point here. What I took away from this talk is that I can replace a primitive or a Vec with a Trait for no reason. I feel like I understood traits better before I watched this, but everyone else is saying this talk was great. I realize she chose simple examples on purpose, but these are cases where traits shouldn't be used.

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

    good job on not laughing each time she said "castrate"

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

    "You forgot to initialize the variable". Lol. Close. Noob.

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

    I also found rust when i ways thinking about learning C++

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

    Great presentation.

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz 3 ปีที่แล้ว

    As a Rust learner, I think it is being sold wrongly. The word "undefined behaviour" is thrown around too casually. The CPP conference people tend to abstract away hardware and concrete implementations, hence they just label anything not specified by the C++ specs as "undefined behaviour" because they cannot be sure how the implementations will handle such situations. But, almost all popular compilers do the most reasonable thing when it comes to these situations. Printing uninitialised memory will print whatever bits were stored in its place, overflowing an integer will result in it wrapping down to the smallest storable number, etc. This is not something CPP programmers would worry about while coding. This is fear-mongering. I fear I'm getting myself into a community full of these people, but damn the promise is too great not to give it a shot, and so far, I like it.

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

      I'd like to respond to that: in all these situations, is wrapping behaviour and printing undefined bits what you want? You can achieve all of that in Rust too, but it forces you to explicitly say that that behaviour is what you want. If I'm summing positive integers in an array and get a negative result, is that what I wanted, or will this cause a problem with some assumption I make further on? Rust doesn't forbid this behaviour, there's a wrapping add, which let's you say that you're sure you want this behaviour. If you don't want to worry about that every time, there's specific wrapping integer classes that will do that every time if that's what you want. You can read uninitialized memory, or even memory from an arbitrarily specified pointer inside an unsafe block. I feel like the purpose of Rust is to help you not get bitten by these things when you're not expecting it, making it easier to do the right thing.

    • @Neme112
      @Neme112 4 หลายเดือนก่อน

      All those things *are* undefined behavior, by the standard.

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

    I wish more Rust talks were like this! The visuals really sold it for me.

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

    Very informative and inspirational

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

    So basically, don't use C/C++ lol

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

    Next: how to fight and vanquish the borrow checker with half orc barbarian and elf wizard

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

    I've had the same error with copy_from_slice, and it's bad, because it's basically memory corruption, something Rust is supposed to guarantee against.

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

    im lookin for the same energy as the guy who shouted ‘woo!’

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

    AHHHH that's why a Rust enum is a SUM-type; A FruitSnack so to speak; A variable can have enum-value 1 OR enum-value 2 OR ...; e.g. The Option enum can be either Some(x) or None.

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

    Short and accurate. Thanks

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

    Kudos to you, and good luck ))) !

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

    Wow, I'm glad I watched this talk, it's super interesting and makes me want to learn more about the whole thing.