In this episode, Conor and Bryce finish their conversation with Jane Losare-Lusby about the Rust Programming Language. Link to Episode 108 on Website Twitter ADSP: The Podcast Conor Hoekstra Bryce Adelstein Lelbach About the Guest: Jane Losare-Lusby is currently on both the Rust Library Team and the Rust Library API Team. She is also the Error Handling Project Group Lead, the Rust Foundation Project Director of Collaboration, and a Principal Rust Open Source Engineer at Futurewei Technologies. Show Notes Date Recorded: 2022-11-02 Date Released: 2022-12-16 https://cheats.rs/ ADSP Episode 106: Jane Losare-Lusby on Rust! ADSP Episode 107: Jane Losare-Lusby on Rust! (Part 2) Rust Evangelism Strike Force Rust Evangelism Strikeforce Rust Governance Teams A List of Companies that Use Array Languages (J, K, APL, q) A List of companies that use Haskell Hoogle Roogle Kotlin Programming Language Carbon Language: An experimental successor to C++ - Chandler Carruth - CppNorth 2022 Carbon Github Awesome Rust Mentors Clojure Bridge Intro Song Info Miss You by Sarah Jansen https://soundcloud.com/sarahjansenmusic Creative Commons - Attribution 3.0 Unported - CC BY 3.0 Free Download / Stream: http://bit.ly/l-miss-you Music promoted by Audio Library https://youtu.be/iYYxnasvfx8
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Jane Losare-LusbyLike my kind of my theory of language evolution in general is that like languages grow and then they they like innovate and then they inspire, and eventually like people will like migrate from language to language, and but then there are other people who will stay.
ConorAnd I think that this is kind of like it goes down to some like aspects of human nature where there are people who tend to be more interested in change and people who tend to be more interested in staying where they currently are the podcast, episode 108, recorded on November 2nd, 2022. My name is Connor, and today with my co-host Bryce, we finish part three of our three-part interview with Jane Lazari Let's Be while talking about the Rust programming language.
BryceCan you how much how much can you say about what's been going on in the COVID?
Jane Losare-LusbyI can say that there's like some top-level interpersonal breakdowns that cause and some just like structural issues that kind of exacerbated the cause those, I would say, where the like the kind of central governance body, the core team, became siloed from parts of the project and it caused trust breakdowns across the project and miscommunications and interpersonal conflicts, and it basically boiled over, and we had to be like, okay, this structure isn't working, we need to figure out a new way to do this and solve these problems. And so we're working on redesigning and like evolving that top-level team and kind of like how we how we go about kind of the the most general governance of the project.
Jane Losare-LusbyBut like the actual teams themselves, like Lang, Livs, everything, is they've been functioning very effectively. Right now I like to say like we're we're working more like an archipelago than an org tree. Um, so it's like a lot of kind of independent, but like, you know, we we work together and we like cross-pollinate, but there's not like a central place for us to easily get together and communicate very often.
BryceYeah, I I I think um for for open projects, governance models are really hard. It's really hard to get things right. Yeah. Um, you know, there's uh I think often you end up between one of two extremes. There's like the benevolent dictator for life model, um, and then there's the like sort of committee model.
ConorYeah, which we call we termed it here. It's BDFL, benevolent dictator for life, and then there's BTFN, benevolent team for now. Yeah. And it's gonna it's gonna catch on if I can remember it and not make the uh the listeners wait. But uh it's gonna catch on, BDFL versus BTFN, which sounds like Rust is closer to.
BryceSo so you know, in the the so on the one extreme you have like the benevolent dictator for life, and on the other extreme you have like sort of what C ⁇ has, which is where you have a uh you know, some sort of committee model where you have a large number of stakeholders, um, all of whom uh uh can uh uh hold up progress if they uh if they feel that something is being done wrong. Um and it it's hard to be nimble when you have the large set of uh stakeholders, and um it's uh when you have a you know a much smaller set of stakeholders, you can be more nimble, but then you have the risk of uh that set of stakeholders becoming alienated from the you know the community at large, yeah, or just having you know a small handful of people making decisions, it's hard to strike a balance.
BryceAnd I think the best the best processes are the ones that can evolve.
Jane Losare-LusbyYeah, absolutely. Like self-reparing organizations are like super important, like being able to have feedback loops and like actually being able to self-evaluate and be like, is this working? Like, is there something we should change and being able to address those problems and being willing to try out new things? I think is like kind of a critical component to an effective organization.
BryceYeah. Yeah. So so do and on Rust, does the core team um uh like how do how do people get uh put onto like the core team or to like a particular team? Is it and is there is there like a notion of like a term limit um at you at the top echelons?
Jane Losare-LusbyHistorically, no term limits. People are just invited by the team. Um right now it's basically in flux. Right now we have an interim governance body, which is the the m the current members of core, the the project directors to the board of foundation, and all of the top level team leads. Top level teams being teams that do not have a parent team. Um and so and those those like all the teams right now basically work the same way where it's like invite like you like if the if the teams recognize your work and think that you've like they want to encourage it, they can invite you to the team, or you can ask them and be like, hey, I'd like I think I I've been doing a bunch of work and I'd like to help out, and I think I'd be a good fit, and it can be like, okay, sure, yeah, we agree.
Jane Losare-LusbyBut it's not really well documented at the moment. It's like one of the things we're working on right now. Like, I'm I'm like I can talk about kind of the draft of the RFC that we have in place of like what we're like looking at. Um what we're looking at is adding a representative body where it's um a it's like a council essentially where you have the you have a representative taken from each of the top-level teams, and those top level teams become sub-teams of the council, and you have shared membership from those representatives that are on both teams, and that acts as the link that helps with communication between the the various teams, and um then there will be uh terms, not necessarily term limits, but there will be like after um I think a year or two um basically like reselection, you can like reaffirm.
Jane Losare-LusbyI think actually there might be term lines. I think we might be talking about like not more than two or three consecutively, but um I don't think that's like I think the general vibe is that we want to have like some fresh people coming in, like it like getting new people experienced, as well as keeping some of the institutional knowledge, and so it can be a double-edged sword.
BryceUm, you know, the the Booze Foundation has um uh term uh limits they they rotate who's the chair of the f of the the um what used to be the steering committee is now the board, and then they rotate the folks who are on uh the board, and um I think it's both good. Um but also like the the person who's currently the the chair of the board, I think is doing an amazing job. And uh I'll be really sad when somebody else steps in because I think it's really high bar to meet. Um and uh you know I don't it's not that I would want him to do the job forever, it's just that I would not want him to be limited to um, you know, the one or two year period that uh had previously uh been the term.
BryceSo it it's tough to balance because like on the other hand, you don't want to have somebody that's been doing the you know the same thing for 10, 20 years, um, then I think you start to get stagnation. Yeah, for sure.
ConorI did not know about the Rust Evangelism Strike Force. Google it. It came I did see a lot of very nice images, and it has me sort of confused because um I mean I think it's hilarious that that uh they've got subreddits dedicated to this stuff. But it's I mean, I'm I'm curious as to like why Rust has this reputation versus every other language that like like I personally I don't really consider myself an APL or BQN or J evangelist, but like my my favorite programming languages are array languages, which are not used really very widely.
ConorThere are a few companies, like there's one of those. I'm not sure if you've ever seen those GitHub uh repos that are like you know, companies that use Haskell, and it's like a list of all the you know major companies of which there are a few. No, like there's like hundreds that use Haskell, like even GitHub um and Facebook.
BryceHe loves array languages so much that he won't even let me troll about them.
ConorNo, well, no, you were trolling about Haskell. Oh yeah, yeah, fair. Um, but the there's a uh there's a similar repo for array languages um that has, you know, I don't know if it's a hundred companies on there, but you know, there's probably more than a hundred companies out in the world that are making use of these. But I don't really consider myself an evangelist, but I've definitely given a ton of talks that it's like basically like preaching, you know, what you can learn from going to this different paradigm that'll change the way you think about solving problems. It's not necessarily so that you should go write your code, you know, your production code in this language, but it's like going to Haskell or going to uh you know array language or going to a Lisp, you're gonna learn new things.
ConorAnd even if it's just about the tools, like Haskell, I learned about Hoogle, which I'm not sure if you're familiar with Ruggle. I learned that uh Rust has Rugal. Yeah, which is friggin' amazing. Like Hugo is definitely, I'm not sure if it's top three, but definitely top five coolest things I've ever discovered in terms of tools or IDE functionality. Yeah, very quickly. Um, I mean it's it's a little bit different because Haskell has type signatures and a really, really strong type inference engine.
ConorSo to try and think about like something like this in C or even Rust, it's a little bit uh trickier. But I guess for Rust, because they come from LL ML background, it's um easier. But basically you can ask for every single function that gives you a list of integers, given a list of integers, returns you a list of integers, such as reverse or uh shuffle or something like that. And if you wanted to find every function that takes a list of integers, a single integer, and then returns you a list of integers, it'd give you the functions like uh take and drop, or you know, whatever your language is.
ConorI think Rust calls them take and skip. Um but uh it's it's phenomenal. And there's a few other features um or tools, whatever you want to call them. Uh and so the point is like you go to these different languages, you learn a lot of awesome things. And why is it that Rust for some reason has a repute like got this whole subreddit thing of like trying to sell the language too hard? Because when really a lot of the times when I'm listening to an elixir an Elixir podcast or a Python podcast, they're really doing the same thing, you know, where they're like, you know, Python 3.11 just came out and it's now 60% faster, unless if you're using NumPy, in which case it's 0% faster, because that's actually just calling C code.
ConorUm and and they're all you know promoting their language. So do you know why like Rust got because it seems like every language does that to a student?
Jane Losare-LusbyYeah, I definitely don't have like a clear answer, but I can I can like make some guesses. I think on at one level, the Rust community has like leaned into it and like has like they've participated in the meme and have perpetuated and amplified it to a degree. I think another element of it is actually just like the context from which you're viewing it from. I'm not sure that Rust has really this same um like reputation amongst other language communities as much as it is like more in C ⁇ and C.
Jane Losare-LusbyUm I'm not positive on this personally, like people from other communities can come like fact-check that. Um but my guess is that like my kind of my theory of language evolution in general is that like languages grow and then they they like innovate and then they inspire, and eventually like people will like migrate from language to language, and but then there are other people who will stay. And I think that this is kind of like it goes down to some like aspects of human nature where there are people who tend to be more interested in change and people who tend to be more interested in staying where they currently are.
Jane Losare-LusbyAnd so when you see like right now, C and I think also Haskell in a sense, I think was on the other side of this when when it comes to Rust, where you get the these communities that where they're doing a bunch of innovation, and then a new language comes along that's doing a bunch of new things, and all the people who were like chafing under the existing system or were interested in trying something new, a lot of those people go and join the new community, and you get left with a lot of the people who were on the more conservative, happy with the current side, happy with staying where they currently are.
Jane Losare-LusbyAnd so I think that that kind of skews the the reaction a lot where like as time goes on you get kind of more of a concentration of people who are are like not excited about the alternatives that are being presented. And so like from the C perspective, you see a lot of this kind of criticism of like these people are like shoving things down our throat and all this stuff because like they see their friends leaving. It's and it's like it's understandable.
ConorI wonder if there's a similar phenomenon that exists in like the Kotlin community. Like I don't I have spent very little time in JVM languages.
Jane Losare-LusbyI I think it's universal.
ConorYeah, like is it the same? Like, I'm not sure if Kotlin has a Kotlin. Oh, I'm not sure if evangelism strike force, like subreddit kind of thing, but I wonder if there's a lot of the same um, I wouldn't call it animosity, but like friction between those two communities, where Kotlin is clearly like even more so than Rust is compared to C. Kotlin is, you know, was purely designed as an evolved Java with nicer things, etc., nicer code completion, to the point where, you know, similar to how Carbon's being um, you know, promoted at the folks at Google that are working on it, that like you can take some existing Java code, and they've shown these in like Google I.O.
Conoryou know talks, and it's like you know, 50 lines of of Java trying to do some immutable class thing, and then you click a button and poof, it's like down to like three lines of Kotlin that like has all that stuff auto-generated behind the scenes. How beautiful is that? Um, and I wonder if that if there's a little bit of the same kind of friction of folks that are in the camp of like Java can have all these nice things. Why would we throw away all this tech, you know, all this you know technol, technological debt or you know, investment, or if you want to use a nicer term, um, than like to go and work on a new language versus the folks that saw Kotlin and then absolutely and I think Google is like they promoted it to their kind of golden language for um Android app development, at least.
ConorAt least that's what I've heard from like you know, arms arm's length distance or something like that. Um I don't work at Google, but um I I I recall when I was following Google I.O. events closely that there was a shift from one Google I/O in 2018 or something to 19 where it was like, you know, here's a support for Kotlin if you want it, and then it was like Kotlin first at uh at like the next year's one.
Jane Losare-LusbyI I have no insight into those communities, but I would be very curious to know. So if any of the viewers have any any insight, that would be very interesting.
BryceUh viewers are pretty smart, they might know. Actually, I'm I'm fairly certain that our our uh our listener or listeners, not viewers, I guess.
Jane Losare-LusbyListeners, there you go.
BryceBut I guess our uh I'm pretty certain that our listeners are a good bit smarter than us. Like we we we we have had a fair number of episodes that have just been uh listeners correcting us uh about things and that's true.
ConorYeah, whenever every once in a while we have a listener and a a good friend Ben Dean who'll like DM me and he's like, Alright, I've I have a long enough list from the last like 12 episodes. Uh uh you can either address these, you know, just in line or you can have me on and I will uh bring them up in person. So I think it's that sounds more like a threat.
Jane Losare-LusbyIt's for like a possible to outsmart a group. I think that's you know, it goes back to like the BDFL versus committee, fedendalic committee for now. Um it's like the relying on group wisdom gets you the better outcomes long term, even at the cost of speed. So that's the same reason you're you're gonna have viewers who always know more than you, because there's so many of them. Or listeners. Listeners.
ConorI mean, now that I'm unofficially switching to Rust, I just I feel like I don't need to know stuff, you know. It's just well, the compiler, Clippy, all these things will just uh, you know, I just gotta figure out the memory model a little bit better. Because uh I still trip up up on that every once in a while, you know. Oh right, I gotta clone something, I gotta copy something. And that's actually going back to um the trait system when Bryce was asking how it works. I have not implemented uh quote unquote I actually don't know what they're called. Um maybe they're traits. But uh it's like when you go bracket, impul angle bracket, you know, your generic type t, colon, and then a list of stuff.
ConorThose are all traits? Those are traits or is it another word for it? Those are trait bounds.
Jane Losare-LusbyIt's like inside the brackets inside the the angle brackets is for generic parameters, and anything you put after a colon is is uh is a bound. Um there's like three different ways to specify bounds. It's not my favorite part of the language how there's like duplication of syntax there, but you know, you get what you get.
BryceYeah.
Jane Losare-LusbySo those are bounds.
ConorYeah. So those like I haven't done anything with them other than like try to do something with like a generic trait, and then they're like, oh, you know, you can't do that. It needs to be orderable or you know, or something. So I have a bunch of std colon colon compare colon colon partial order and then hash hash compare eek clone clone marker copy compare ord. I don't know any of that stuff. But uh the compiler was just like, well, if you want to do this thing, if you want to convert stuff into a hash set or something, you need this. And then they're like, Would you like to add it?
ConorAnd I'm like, I mean, that sounds like a reasonable thing that I would like to do in order to get this code to work. And then I just, you know, copy paste. And uh so that's the thing, is like, I don't know. It's like uh we're talking about our listeners being smarter than us. It's like I no longer feel like I actually have to be that smart to program in this language. Whereas like, you know, previously I was memorizing tables of you know the 1, 3, 5, 6, 7, 8, 9 rule in C of if you don't have a destructor, then you need this, blah, blah, blah. And uh now it's like, well, I don't care if that exists in Rust, because apparently I don't need to know it. The compiler will just tell me.
Jane Losare-LusbyEventually you'll get there where you like you know all that stuff, and then you're gonna have you're gonna be like working on actual new features or working at like doing whatever software development you're doing, and you're gonna have you're gonna be an expert on something that's gonna be relevant and that no one else knows about, be able to make some cool contributions. So yeah.
ConorMaybe that's why maybe that's why the Rust has the reputation it does. So much it seems has been invested into the beginner experience that you don't like you just end up feeling like a superhero, and then like you want to go and tell people, oh my goodness. Like, you know, this is this is so great. And uh, anyways, we're at the time that we said.
BryceI probably do have to uh stop because I've got to be on a plane tomorrow and the day after, and then just in general.
ConorOkay. Is there any in our last one, two minutes here, is there anything you want to plug or mention that we haven't talked about that is worth plugging or mentioning or bringing up? And no, but you're not telling your Shintai. We're talking about the train at the train at we're no, we're we're given this is Jane's time. Uh you want to be you want to be my new co-host, Jane?
Jane Losare-LusbyUh I wouldn't mind enjoying more of these Rust episodes. Uh I'm not sure about committing to co-hosting, but being a guest has definitely been very fun. Um the as for plugs, um there is a one project of mine that I wouldn't mind plugging, which is Awesome Rust Mentors. So there's like a list of just basically like all sorts of lovely Rustations that are quite experienced and have been using the language for a while, and basically like the languages they speak, time zones they're in, I think.
Jane Losare-LusbyUm definitely the topics of interest and contact info. And I I would highly recommend anyone who is like kind of trying to navigate the open source Rust or like trying to wants to get deeper into it and wants someone to talk to, doesn't have Rust people that they already feel comfortable talking to, um, you can check out that list and make a friend and you know, click start start getting better real quick.
ConorI mean, honestly, no wonder Rust has this reputation. It's just too nice. What is Bryce? Does C have anything even remotely close to this?
BryceI don't think so. No.
ConorWhat's the closest thing? Just like shooting a tweet off into like the Twitter sphere? Like you probably will.
BryceWell, you see, if you could join the C committee, then you could send an email to the reflector, something like that. Um I mean there used to be I I don't know. There's there are there are places. The include Discord's nice, but there's um there's not like an official place that's that's good for this.
ConorDoes this exist in other languages? I I don't think I've I think I recall actually seeing this in your Twitter bio, but I had not um I don't recall who I delved into it.
Jane Losare-LusbyI feel like I've seen people talk about starting it in their own language communities. I don't know if there's any that are like particularly active at the moment.
ConorThe closest thing I can think of is bridges. Like I know Clojure and Ruby are two communities that had things called Ruby Bridges, I think, and Clojure Bridges, which were like I I've actually never been to any, so I'm sort of just making this up. But I think there were like sort of either virtual or in-person meetups slash like beginner weekends where it was intentionally designed to sort of people that wanted to either start learning programming or to start learning Ruby or Clojure, and with an emphasis on you know really making sure that they were casting a wide net to get a diverse group of people and that we're like really focused on inclusivity and like making people feel welcome.
ConorBut that's definitely not the same as we have a Rust Bridge as well.
Jane Losare-LusbySort of that's like a kind of distributed organization of like like chapters and stuff that do, I think, the same thing. It's based on Roby Bridge. Uh this is more this is more of like a kind of autonomous, just it's just a website and people just interact with it and are able to pull and like find people to talk to without having to really uh sign up for anything or anything so formal.
ConorAwesome. Well, we will definitely leave uh link in the show notes for folks that are interested, hopefully. We will see how well this is. Wait, can I talk about my training app now? Wait, uh how long is this gonna take?
BryceIt's not gonna take long. I'm just gonna read you.
ConorAlright, Jane, hang in there.
BryceIf you need to drop off secretly, you know, silently, uh So I love Japan, but sometimes there's like uh like an app or a website from the Japanese government that just causes me great anxiety. And so so finally, the uh the Japanese bullet trains, the Shinkansen, they now have uh a way where you can um uh buy tickets online. Um this is like a new thing. Like very advanced trains.
BryceThey're always on time. If they're like if they're like 15 seconds late, they apologize. Um they're always on time, but like they only had a website recently. And now they have an app too. Um no two-factor authentication. Passwords have to be between four and eight characters. What? It does not remember the password Yeah, eight Macs, doesn't remember the password, doesn't have any support for biometrics, logs you out after five minutes. So you need to re-enter your password every five minutes.
Jane Losare-LusbyPlease tell me it doesn't say a few minor valve.
BryceIt stores your credit card credentials and makes purchases without requiring any additional authorization, like your CVV code. And you cannot make purchases between 11.30 p.m. and 5.30 a.m. It's just like I had to set a reminder to myself that like when I get back from Japan, go and delete my payment information from this app for when it is inevitably hacked. It just makes me very sad.
ConorThat was kind of worth it, actually. I thought it was a way of it.
BryceIt has a UI from like the 90s, which is sort of what I expect from you know pretty much any you know government, you know, website. Um but like i it the UI isn't as bad as I'd thought. But it's just so insecure. Makes me sad.
ConorDamn.
BryceYeah.
ConorThanks for listening. We hope you enjoyed and have a great day.
In this episode, Conor and Bryce chat with Zach Laine about C++26 Reflection vs CRTP, AI, kids & more. Link to Episode 313 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP:...
In this episode, Conor and Bryce chat with Zach Laine about the C++26 contracts fiasco. Link to Episode 312 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The Podcast:...
In this episode, Conor and Bryce talk with Zach Laine about his career and the career changes he has made. Link to Episode 311 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials...
In this episode, Conor and Bryce talk about Bryce's next chapter and where he is leaving NVIDIA for. Link to Episode 310 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The...
In this episode, Conor and Ben chat with Jason Turner about default construction in C++. Link to Episode 309 on Website Discuss this episode, leave a comment, or ask a question (on GitHub) Socials ADSP: The Podcast:...