r/rust • • Aug 29 '24

One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"

https://www.phoronix.com/news/Rust-Linux-Maintainer-Step-Down
586 Upvotes

374 comments sorted by

231

u/Professional-Disk-93 Aug 29 '24

The audience member from the video appears to be Ted Ts'o, a most senior kernel developer. https://lwn.net/Articles/978738/

231

u/ConvenientOcelot Aug 29 '24

That's unfortunate. I would expect such experienced developers to not be so narrow minded and spiteful, but the Linux development community seems to still have this problem.

225

u/recycled_ideas Aug 29 '24

the Linux development community seems to still have this problem.

Linus, for all his drive and genius, is one of the most toxic and unprofessional developers you're likely to meet and he's actually improved a lot in recent years.

If anyone is surprised that the culture of kernel development and in particular the more long standing members who started when Linus was at his worst is also toxic and unprofessional they haven't been watching.

26

u/GoonOfAllGoons Aug 29 '24

On the outside looking in,  I've always thought Linus got a bit of bad rap,  but his acolytes that try to cargo cult his behavior without understanding or caring about his intent deserve a lot more scorn.

10

u/JoeyJoeJoeTheIII Aug 29 '24

What’s funny is seeing them constantly being up Linus hating C++ as an argument against rust.

→ More replies (11)

75

u/throwaway490215 Aug 29 '24

Its a bunch of obsessive nerds that freely dedicate their best creative work to a GPL project. This is how they naturally organize.

41

u/wick3dr0se Aug 29 '24

As we're on r/rust talking about Linus..

Starting to see this come full circle

35

u/Narishma Aug 29 '24

that freely dedicate their best creative work to a GPL project.

Aren't most Linux contributors employed by various hardware and software companies?

→ More replies (8)
→ More replies (8)

24

u/Professional_Top8485 Aug 29 '24

Looks like there will be lot of nih syndrome.

13

u/segfault0x001 Aug 29 '24

Nih?

98

u/Lucretiel Datadog Aug 29 '24

Not Invented Here: the bias against anything that you (or your organization) didn't write themselves. This is how you end up with every corporate C++ codebasae rolling all of their own collections and smart pointers.

25

u/meowsqueak Aug 29 '24

Not Invented Here - where a technology or solution is disregarded simply because it wasn’t thought of, invented, developed or built by the person or people looking for the solution. It’s usually a form of hubris, although sometimes it can be a legitimate reason not to use something, for example if there are concerns about the future of said solution, or its dependencies.

→ More replies (9)

9

u/repocin Aug 29 '24

I would expect such experienced developers to not be so narrow minded and spiteful

lol. lmao, even.

→ More replies (1)

11

u/xxpor Aug 29 '24

Damn, Ted usually seems pretty reasonable on mailing lists. Pretty disappointed in him here.

→ More replies (1)

-42

u/InflationOk2641 Aug 29 '24

I've heard similar responses to Ted's at places I've worked in overhauls that I've worked on. There will always be a time when the new stuff is second class and will be broken by changes in systems it is trying to replace. You just have to suck it up and deal with it. Ted isn't saying "no", he's just saying that there will be problems and maybe it'll be shown that the rust way is easier or maybe it won't be easier: nobody knows. But people are busy and they probably don't have the time to learn and think about the rust interface right now because they've got their own priorities to deal with.

116

u/mort96 Aug 29 '24

That's bullshit, sorry. He literally describes the speaker as trying to convert everyone to a religion.

→ More replies (8)

14

u/JoeyJoeJoeTheIII Aug 29 '24

He’s accusing them of things they didn’t say, making tired arguments, and having a near tantrum at the thought of learning rust.

This was a guy making a clear honest argument IMO, it was a C zealot doing C zealot things.

→ More replies (6)

101

u/[deleted] Aug 29 '24

heres the context cited in article

https://www.youtube.com/watch?v=WiPp9YEBV0Q&t=1529s

281

u/CommandSpaceOption Aug 29 '24 edited Aug 29 '24

I’m not saying the person asking the question there is malicious.

But if I wanted to sink the Rust for Linux project, I would do exactly he is doing, in exactly the manner he’s doing it.

  1. Firstly don’t share exactly what the C interface is supposed to do. When someone proposes a Rust interface, just say it is wrong without suggesting how it can be fixed.

  2. Explicitly say that even if the Rust interface is merged, it will be a second class citizen that won’t be updated when the C interface is refactored. Not even an attempt at collaborating like “let’s work on keeping the Rust interface in sync with the C interface”. Be as hostile as possible, while also making it clear that anyone investing in a Rust driver is making a bad technical decision. That way no sane person would write a Rust driver when they know they’re signing up for constant breakage.

  3. Next, show up to talks the team is giving and completely derail the discussion with random bikeshedding. Insult them with extremely charged language that has no place in a professional setting - “you guys are trying to convert people to your religion!” Create a toxic work environment. This has the bonus effect of burning out the people working on the project, slowing any momentum Rust for Linux may have built up (You are here!).

  4. Now that no third party is writing Rust drivers and the Rust for Linux maintainers are demoralised and burned out, go in for the kill - “hey guys, I notice this Rust code isn’t being used at all. Unless someone merges a driver soon I’m going to remove it all”.

Of course I’m not saying they’re doing this with this intent. I’m not a mind reader. All I’m saying is, this is what someone trying their absolute best to sabotage Rust for Linux would do.

This is perfect because there is plausible deniability at every step of the way. My tech lead (Linus) decided to introduce Rust. Cool, I’ll just treat everyone involved to /r/MaliciousCompliance. And then after I succeed I’ll say I was right all along - C is the one true language of the Linux kernel.

The first 3 steps have succeeded. Step 4 is inevitable unless Linus realises what is being done and puts a stop to it.

64

u/jl2352 Aug 29 '24

I think it’s more people just stuck in their ways and being close minded.

Another question on the video said the return value is more like a lifetime, and went on a long ramble of things one needs to keep in mind or check when calling this function. It’s the mentality of ’just be a better programmer and don’t write bugs.’

I have seen this before in my professional life, having worked with people who will defend high complexity in this manner. As though it is fine, and it’s a you problem. They take exposing the high complexity as a negative.

All this Rust chap has done in the video is commenting that these functions aren’t as simple as they appear, and in Rust that’s an issue. You must expose that through the type system and that becomes noisy in Rust. They take it as a personal attack on their C domain.

51

u/CommandSpaceOption Aug 29 '24

just stuck in their ways and being close minded.

You’re almost certainly right.

I’m only saying the consequences of such behaviour are identical to active malice.

19

u/CrazyKilla15 Aug 29 '24

Because they are. The consequences are identical to active malice because they are active malice. The consequences are not unknown or unpredictable, they know this, thats why its done. They do know better. "Stuck in their ways and closed minded" isnt an excuse for being malicious, its a description of one way malice manifests.

They choose to do these things and act this way, nobody is forcing them, they didnt magically lose the ability to learn new things, to even listen to technical arguments, or what an "example" is, they choose to. Choose to close their minds, choose to reject anything that disagrees with them, choose to ignore evidence, choose to derail a talk and abuse the presenters. Those many choices are malicious. That behavior is a choice that is made of their own free will. If ones choices and the well-known consequences that follow cant be called malice, what can be? Do they need a cartoon villain mustache and a neon sign saying "I am being malicious right now" for it to count?

And its a choice so many others, similarly experienced, in similar fields, even similar ages, other kernel developers, do not make, and it only makes those who do look so much worse, so they drive them away, drive them out of projects, to maintain their positions and power. Nobody should have to subject themselves to this, and most don't, they leave and work on better managed projects.

The myth of the "Brilliant Jerk", someone who is supposedly so brilliant, so genius, that it makes up for their behavior, for everyone else they drive away combined, for how toxic it is to work with them, is just that, a myth. Nobody is that "brilliant", that "genius", worth that much more than so many others.

5

u/ajmmertens Aug 29 '24

I think it’s more people just stuck in their ways and being close minded.

I don't think that's entirely fair if you listen to the points raised throughout the entire video (not just the obnoxious guy at the shared timestamp).

There are legit concerns around mapping API semantics to the Rust type system, maintaining those mappings when semantics change, and that mappings aren't complete and/or correct.

I've had some experience with binding languages to existing APIs, and these are exactly the kinds of issues & questions you'd expect to come up.

22

u/JoeyJoeJoeTheIII Aug 29 '24

The guy ranting is the problem here.

Other people went to a technical talk and had a technical discussion. That’s fine. That’s the whole point.

He didn’t bring up any valid arguments, he accused them being religious zealots and other insane stuff then tried to play off the type stuff as “we don’t know!!” And then finished by nearly having a crying fit over the idea he might have to learn rust.

→ More replies (31)
→ More replies (5)

89

u/robin-m Aug 29 '24

Step 4 is inevitable unless Linus realises what is being done

Linus did noticed the issue. I cannot find back the link, but he recently said that he was frustrated that the Rust for Linux project was not moving faster because of churn in the Rust for Linux infrastructure, but also because C dev where actively acting in bad faith.

and puts a stop to it

AFAIK not yet unfortunately. But I hope that this very incident will make thing move.

35

u/CommandSpaceOption Aug 29 '24

Yeah Linus watching that video and taking action is the only hope.

→ More replies (1)

20

u/protestor Aug 29 '24

Explicitly say that even if the Rust interface is merged, it will be a second class citizen that won’t be updated when the C interface is refactored.

Note that in the real world, if the interface is actually used it will be kept up to date. Linux has too many corporate stakeholders and Google alone has the manpower for this.

29

u/CommandSpaceOption Aug 29 '24

If the maintainer merges in code that deliberately breaks Rust code there isn’t much anyone can do. He is explicitly saying that’s what he plans to do.

A normal person would say “hey, let’s work together to minimise breakage, but you’ll have to do most of the work”. A saboteur would say “this is definitely going to break, be prepared”.

Again, not calling them saboteurs or implying they’re malicious. I’m only saying their actions are indistinguishable from malice.

→ More replies (3)
→ More replies (1)

2

u/Boner-b-gone Sep 05 '24

Ted T'so is acting in bad faith and is desperately trying to defend his legacy in Linux. He realizes he won't be good at Rust, and is afraid of being sidelined in the community. His attitude sucks, and people like him are a huge reason why open source can suck and isn't adopted more widely.

→ More replies (3)

334

u/teerre Aug 29 '24

Damn, I can't begin to imagine having to deal with this kind of vitriol. It's a reddit discussion but in real life, no wonder he quit.

130

u/[deleted] Aug 29 '24

Sabotaging Rust has become some of C/C++ devs life's mission it's really funny to see, from Stroustrup silly antagonism to these maintainers that refuses to even learn about rust let alone adopting it.

Anyways, am afraid they it's too late Rust adoption will continue no matter how many artificial roadblocks they throw at it because am afraid humans will never beat a compiler

113

u/radiant_gengar Aug 29 '24

15

u/Dankbeast-Paarl Aug 29 '24

14

u/sepease Aug 29 '24

“You say Result<Either«ARef‹INode‹T>>, inode::New<T>>>, I say your mother’s a Cow<‘a, INode<T>>.”

→ More replies (1)

32

u/Zde-G Aug 29 '24

They had to adapt that attitude precisely because they started too late.

C++ the language can be fixed, C++ community couldn't be fixed and thus they have to do somthing about it, right?

But what could they do at this point? You couldn't make existing code safe, you still need to do a full rewrite and if full rewrite would happen then why wait for the pie-in-sky if you already have Rust can use that for rewrite?

14

u/matthieum [he/him] Aug 29 '24

C++ the language can be fixed

I can see a spiritual successor to C++ emerging -- be it Circle, Cpp 2.0, Carbon, whatever -- however attempting to fix C++ is just impractical.

There'd be so much to add and so much to throw out that near all C++ code under the Sun would have to be rewritten, which is just completely impractical.

Even for spiritual successors, seamless inter-operability is a very large hurdle given the complexity of their predecessor, and the myriad small details that just get in the way.

→ More replies (7)
→ More replies (57)

0

u/[deleted] Aug 29 '24

[deleted]

58

u/TheBlackCat22527 Aug 29 '24

Well from my experience you have these types of people a lot, especially the more embedded things get. Not the most welcoming scene.

→ More replies (1)

23

u/RedEyed__ Aug 29 '24

These type of people is a common thing, I have to deal with them on each project I work/worked on

→ More replies (1)

2

u/JoeyJoeJoeTheIII Aug 29 '24

He’s a Microsoft employee, don’t think he’s a volunteer.

→ More replies (3)

36

u/yoshuawuyts1 rust · async · microsoft Aug 29 '24

I recently heard someone say: “The culture of a project is not defined by what behavior you encourage, but about what behavior you tolerate.” I think about that a lot.

After seeing how the behavior of the senior Linux maintainer in the video was seemingly interpreted as normal by the room, I completely understand eventually running out of patience and stamina. It’s a sad outcome, but if the Linux project doesn’t learn from this, it’s also bound to keep happening. I do hope they reflect and learn from this.

→ More replies (1)

202

u/CouteauBleu Aug 29 '24

You know, the Rust community has a reputation for having a ton of drama and toxicity, but after watching the linked video, I think this is a good point to remind ourselves:

No, actually. The Rust community is super fucking nice. The overwhelming bulk of this community is, you know, polite, soft-spoken, open to critical ideas, and doesn't consider it to be normal to interrupt someone else's talk to treat it as their personal platform for broadcasting their rant against a project they don't like.

12

u/JoeyJoeJoeTheIII Aug 29 '24

You have to remember that to some people pointing out that C/C++ have problems is equivalent to kicking their dog repeatedly.

5

u/WaitPopular6107 Aug 30 '24

Gatekeeping and denial at it's peak.

9

u/orebright Aug 29 '24

People with poor emotional regulation tend to get a strong fight or flight response to drastic changes. Someone who is a C developer for many decades and built their livelihood around it sees others trying to change their industry to an entirely new language they don't know, with very foreign concepts, seems like a good trigger for a fight or flight response, in this case going heavily into "fight".

Unfortunately even the most brilliant programmers, who rely on logic and sound reasoning for much of their mental work, can have it all shrouded by this kind of emotional outburst. Honestly I just feel embarrassed for people who behave like this. But sadly our industry is too tolerant of the behavior.

4

u/Chippiewall Aug 29 '24

It's worth bearing in mind that most of the Linux kernel community is nice too.

It's the assholes who make everyone look bad. We should do a better job at policing.

9

u/CouteauBleu Aug 29 '24

I think there's a qualitative difference between them though.

There's a significant proportion of people in the linux thread going "You guys are too sensitive, this is just how Linux maintainers are, you don't get to complain if you've never sent a patch", etc.

The Linux community has a high tolerance for toxicity.

2

u/Im_Justin_Cider Aug 29 '24

I read "non technical nonsense" and assumed it was aimed at the Rust community.

-13

u/zackel_flac Aug 29 '24

Toxic people exist everywhere, it's not because you like X and someone else likes X that makes them a good person. Nor does that make someone prefer Y a bad person neither. Unfortunately this is something I often see here. There are valid reasons to bitch against Rust, like there are good reasons to praise it. Claiming this is the perfect language is not helping.

15

u/global-gauge-field Aug 29 '24

I dont think people (at least I personally) are claiming this is the perfect language. It is rather that there are many features that I like about rust than other language (for me it memory safety, having a powerful type system that tells me the story of my program explicitly, enums (for dispatching and exhaustive match patter), macros, toolchain, nice support for inline assembly).

I dont know the definition of "the perfect language", but these are the features I really like, for me it is nothing more nothing less.

Also, I believe perspective towards criticism is that the criticism should be a constructive one.

If someone were to write a post just saying, rust sucks, toxic community, etc without elaboration as to what those really mean, this is not really beneficial. At this point, you are just using a lot of loaded terms without having any actual discussion. I think having this kind of barrier is a good choice since I want to see high quality information whenever I check some discussion on the internet.

There are many good criticism having been upvoted in this sub in past that, you check them out.

In my personal experience, I have seen only a few toxic Rust fan. But, they are usually dealt with properly, e.g. with down votes, or more proper response from other people in the community.

→ More replies (13)

8

u/drcforbin Aug 29 '24

Claiming this is the perfect language is not helping.

The comment you're replying to isn't claiming that.

→ More replies (2)

3

u/CouteauBleu Aug 29 '24

It's fair to worry about the halo effect.

But there's a ton of things I like where I don't like the community. There are communities I like while still recognizing they're often toxic. I've never gotten that vibe from the Rust community.

→ More replies (3)

149

u/FractalFir rustc_codegen_clr Aug 29 '24 • Take My Silver

It is sad to see people quit open source stuff for any reason - but it is even more sad to see them quit for people-adjacent reasons.

I also do not understand the irrational hate towards the unknown - yeah, Rust is different. You could also say that it is not easy - but neither is kernel development. I hoped the Kernel people would be open to change, and learning new skills, since this is something they seem to normalny enjoy.

I feel like C has a similar problem to Rust - it also has its fanatics, who would write only in C, if possible, and reject everything else. This is especially annoying with some elitists, who think just because they write something in C, that means they are more skilled.

Also, hand waving memory issues / ease of invoking UB by essentially saying it is just a "skill issue" is also just so annoying. Yeah, sure let's assume you are the second coming of Christ and don't make any mistakes ever. Good for you, but most people will make a very stupid mistake once in a while - since we are human. Everyone has bad days, and everyone will fail at some point.

I feel like there is this idea that writing in C is hard, therefore skilled people use C, and the rest uses inefficient, High-Level languages. C is simultaneously simple(for smart people), yet difficult(for the "normies").

But - I feel like 99.9% of Rust devs could write C no problem. Writing C is not harder than writing Rust. However, admitting that Rust is in any way comparable to C makes their efforts seem silly.

Normally, a lot of very vocal people brag and feel superior, because they use C, and can do stuff(like kernels, or bare-bones development) that none else can.

So, writing advanced, low-level stuff in C is like climbing Mt. Everest - a great accomplishment, to be envied by all.

However, Rust comes along and builds stairs to the top of the mountain. Suddenly, writing fast, low-level code becomes way easier.

If this vocal minority accepts Rust as a viable alternative, then their efforts are purely performative.

Oh, you climbed the mountain with no safety gear? Nice, but those folk over there took the stairs, and finished the whole journey in half the time. Oh, by the way, have you heard that the government says people should use the stairs, or at last certified gear? Yeah, they got tired of having to clean up folk who fall down.

Writing C stops being some sacred art, performed by the True Real Programers, and starts being what it really is - just writing code.

There are a lot of perfectly fine folk who just like C - and there is nothing wrong with that. C is just a language. However, once the small, annoying minority starts to bash other languages because they dare to not be C - we have a problem. Especially when they know nothing about Rust - is it that hard to criticize the real problems of Rust, instead of getting angry at things which are not real?

Well, this got a bit ranty. I just think people should use whatever language they like, and not hound on others for making different choices. You can disagree on technical stuff - but please, don't let non-technical issues harm open source.

Also - this rant is not targeted on anyone in particular, and more so aims at an amalgamation of bad people I encountered over the years(IRL and online).

30

u/xorandor Aug 29 '24

Continuing with your analogy with climbing, it feels to me like the difference is more like between climbing with safety gear and free soloing a climb like Alex Honnold. Kernel development is hard. There's no need to make something inherently difficult even more difficult by making the experience of "climbing" it more "bare-rock".

21

u/PM_ME_UR_TOSTADAS Aug 29 '24

My team lead at a previous employment hated that I brought Python in the team's tech stack. He's very good at Bash but doesn't know Python one bit. That made him not "the smartest guy in every subject".

13

u/bschwind Aug 29 '24

Gonna be honest, I wouldn't be happy if a coworker brought Python into the team's stack when it was previously absent. I also suck at bash so it's nothing to do with that.

7

u/JoeyJoeJoeTheIII Aug 29 '24

We had a senior guy who was strongly in favor of sticking with ruby when some people were writing some python.

It became a debate so he sent out a poll.

Python won by a margin so he dropped his resistance.

→ More replies (1)

17

u/Arshiaa001 Aug 29 '24

How dare you make well thought out, senseful comments that talk about the true nature of the problem?!

13

u/[deleted] Aug 29 '24

[removed] — view removed comment

15

u/FractalFir rustc_codegen_clr Aug 29 '24

This is a fair assessment - perhaps I just encountered very... specific people. Some were just very dismissive towards anything that is not C or maybe C++, others opposed to anything new to such a degree that it was almost scary. My point was more towards the toxicity of the internet in general.

I have nothing against legitimate concerns about Rust - but a lot of the online discourse is poisoned by the loud few, who hate what they don't understand. Kernel devs tend to be far less extreme, but even if they all were saints - the rest of the internet is still the internet.

As someone who does open source, the loud complainers can be exhausting.

I have had people tell me Microsoft is wasting money on my worthless project - I have never worked for Microsoft, and just do open source, .NET adjacent stuff in Rust. Up till recently, I have not made a single dime working on it - that did not stop some people from shiting on my work, convinced that just because it has .NET in the name, I must be an official Microsoft thing. They did not even bother to check that - do you think they bothered to even look at the merits of my work?

Once I finally gathered the courage to enter Rust GSoC 2024 to seek funding and help learning how to improve my Rust to .NET compiler, I got people accusing me of stealing from the foundation with my worthless work. I have been accused of purposefully designing my project to apply for a program that has not even been announced for the first half year of my work.

Did those people bother to check when the project was created, and see that the dates don't mach up? That I would have to be able to see the future for their crazy theory to be true?

Nope. They slandered my good name, threw my work trough the mud, just because they could not be bothered to check something trivial before accusing me of being a fraud.

And I could not even respond, because HackerNews requires you to have a certain amount of karma to have your comments visible.

Compared to Rust for Linux - my project is tiny. Barely a blip on the radar. If this is the hate I received - I can only imagine what the maintainers of Rust for Linux do.

Dealing with the angry, loud mob called the internet is hard. So, it is no wonder people quit.

If all the C folk did was say "Well, I still prefer C" or "I don't like Rust because" there would not be a problem.

Saying that Rust is a religion is missing the forest for the trees. Yeah, the Rust evangelists are annoying and are actively hurting Rust. I get that this Linux C dev can be mad at them - but real life is not the internet, and the Ruts for Linux folk are not those evangelists. Rust devs are not a hive mind, and people should not be judged based on the few bad apples.

How can someone look at another person and just irrationally shit on their work? The comments about Rust being a religion were just... unnecessary. Had he just voiced his concerns like a normal person, there would be no problem.

3

u/0x7CFE Aug 30 '24

Just to dilute the hate a bit, I want to personally say thank you for your work and everything you do. As a compiler nerd myself I can appreciate the complexity and amount of effort needed to marry two such distinct ecosystems together. You and the other guy who does rust_codegen_gcc are my personal heroes!

Can only suggest to remember that appreciation is often silent, but hate is always loud and personal.

14

u/JoeyJoeJoeTheIII Aug 29 '24

The C arguments are BS though.

Just look at how much implicit hidden complexity is baked into that one C function mentioned in the video. Look at how many functions rely on passing in some sort of struct with a void*. The exact layout of the data depends on what you’re trying to do. You have no choice but to read through docs and piece it together.

That’s not more transparent or simpler. It’s hideous. It’s why no one can write safe C code consistently.

5

u/xorandor Aug 30 '24 edited Aug 30 '24

I always found the C being portable assembly argument not based in reality. The C compiler does so much and when you look at the assembly, it's not as predictable as one would like to imagine.

12

u/Guvante Aug 29 '24 edited Aug 29 '24

with ecosystem/tooling that is rapidly changing - much faster than what people are comfortable with

Aren't all the parts that this applies to banned from the kernel? The simpler parts of Rust to my knowledge are moving quite slowly, especially given the edict of "no breaking changes" which in this context means "the behavior of existing code doesn't change".

I think part of the confusion there is editions seem to be a way to ditch old code but given Rust promises to compile cross editions that makes breaks really really nuanced.

117

u/acroback Aug 29 '24

Damn linux kernel devs are real dinosaurs it seems.

As someone who has submitted patches to linux kernel a decade ago, I know the feeling.

I wish we could write drivers in Rust atleast as drivers are the primary reason for kernel crashes in my experience.

57

u/Green0Photon Aug 29 '24

Afaik the biggest use case of Rust in Linux is to write drivers. I remember a whole thing with Linus talking about allowing the "leaves" to be Rust, since it has minimal impact on everything else.

32

u/Professional_Top8485 Aug 29 '24

One of the biggest reasons Linux is lacking on the desktop is missing drivers. If it would be easier to write those, it could help in popularity.

51

u/SnooCompliments7914 Aug 29 '24

It's not that drivers would be easier to write in Rust. It's the hope that badly-written Rust drivers would be less likely to damage the rest of the kernel.

-38

u/TheBlackCat22527 Aug 29 '24

And what drivers are you missing exactly? I am using linux desktop for more than 15 years and a lack of drivers was never the Issue from my point of view.

30

u/Kevathiel Aug 29 '24

I use Linux as my daily driver. Claiming that drivers are not lacking makes me wonder if you ever used any hardware aside from keyboard and mouse at all.

Printers are hit or miss, many graphics tablets are not fully supported(e.g. some buttons won't register at all thus are not mappable), my bluetooth headphones won't work unless I have one earpiece docked in the charger, I have to always switch my input audio source and go back or my mic won't be picked up, etc.

Even when ignoring the more or less niche hardware, it is impossible to not be aware of all the Nvidia issues that people have. Gaming only became possible for me after switching to AMD.

4

u/kinda_guilty Aug 29 '24

I can't remember the last time I plugged in a printer and it didn't work right away on Linux. Of course it's mostly to Apple's credit (due to CUPS)

→ More replies (8)

12

u/SpaceNigiri Aug 29 '24

All of the non-standard or weird stuff for example xd like more than half the instrumentation on my lab as an example.

→ More replies (4)
→ More replies (1)

-13

u/RedEyed__ Aug 29 '24

No, Rust just brings complications (not because Rust is bad, but because we have to deal with 2 languages in same runtime).

When you refactor C code, you break Rust bindings.
Maybe there should be stable C API that Rust bindings can depend on.

14

u/lestofante Aug 29 '24

Its not necessary, those breakage are minimal or rare; as long as there is coordination (and maybe some design phase together) should not be an issue

6

u/matthieum [he/him] Aug 29 '24

Given how many invariants are "implicit" in the kernel, I suspect that when one refactors C code, one breaks C code just as much.

Then it's a matter of either the reviewer noticing, or a test failing -- but I'm not sure how much can be tested in the kernel, especially when talking about drivers and (therefore) HW interaction.

→ More replies (1)

21

u/JoeyJoeJoeTheIII Aug 29 '24

Rust community so toxic it drives kernel maintainers to throw tantrums.

God the rust community is just sooooooo awful. Asking these poor C programmers to… work with them a bit to help keep kernel code from breaking.

Unreasonable. I’m glad that very calm and rational individual was there to yell at them about things they didn’t do or say.

7

u/looneysquash Aug 29 '24

I'll have to watch more than 3 minutes to really get what is going on.

Seems like audience member is mad that the Rust bindings will break if they refactor the C API that is being bound to.

On the one hand, of course they will be. Even if they were generated and got regenerated, the code using those apis would break.

On the other hand, I can see how that creates a real problem for someone doing those refactorings who only knows C. Also refactoring Rust would be difficult for them. Creating new, good bindings though is probably a more advanced skill than just writing Rust in the kernel. So I can see how it would be a practical problem.

But it's one you have to solve, otherwise you cannot introduce a new language to the kernel. Unless that language doesn't need bindings at all. But even then you'll have to refactor some code in the new language.

3

u/looneysquash Aug 29 '24

(Still haven't been able to watch the whole thing, so might not what what I'm talking about)

Result<Either<ARef<INode<T>>, inode::New<T>>> is a pretty complicated type.

I'm not sure how to fix it. But like, for a return type, you'd say struct Foo, not struct { type1 field1, type2 field2, etc... }. This feels more like the latter, where too many details are present.

You could use a type alias, but I'm not sure if that's a good idea here or not, because a type alias would make it less obvious how to use match / destructuring with this.

9

u/Svenskunganka Aug 29 '24

I disagree that it is a complicated type, and I think most Rust users could deduce from a glance that it is a Result that contains either a reference-counted inode, a new inode or an error. It is a bit wordy yes, but it is explicit and won't catch you by surprise with "oh I forgot that I need to check if it is a new inode. If it is I need to initialize it and if I don't initialize it I need to clean it up". It is there, encoded in the types and cannot be misused. In the C code, this is something that you'd just have to know and keep in mind, and if you work with 20 other APIs that has similar behaviours, chances are you're going to forget some details about this that leads to at best someone catching it in review or at worst production bugs.

6

u/looneysquash Aug 29 '24

I disagree that it is a complicated type

Why do you think it's not complicated?

There are 5 different types mentioned, plus the type parameter T.

If someone wrote:

result(either(a_ref(inode(t), inode_new(t))));

and you were reviewing the code, would you say that it's simple, or would you say that it's too complicated, and ask them to refactor it into mulitple statements?

I would suggest breaking it up, if I was the reviewer.

To be fair, if someone wrote:

struct SomeName {
  int result;
  int either;
  int a_ref;
  int inode;
  int t;
  int inode_new;
  int tt;
};

I wouldn't call that a complicated struct. So I suppose it's the nesting that makes it complicated in my view.

I think most Rust users could deduce from a glance that it is a Result that contains either a reference-counted inode, a new inode or an error.

I'm not so sure about the "at a glance" part of your statement.

It is there, encoded in the types and cannot be misused

I agree, and I consider that to be a good thing.

That would be just as true if it was a type alias, let's say IgetLockedResult<T>. What are your thoughts on that?

Humans can only hold so many indepdent things in their head at one time. structs are, amoung other things, a memory aid. They're a way to grouping things together into a single thing to think about. I think type aliases can serve a similar purpose.

To be fair, I did say I was unsure of if it was a good idea to use one here or not.

In the C code, this is something that you'd just have to know and keep in mind, and if you work with 20 other APIs that has similar behaviours, chances are you're going to forget some details about this that leads to at best someone catching it in review or at worst production bugs.

Yes, 100%! At least in isolation.

But if you're trying to maintain parity between the Rust and C APIs, you might think twice about adding these types of improvements. Making the APIs too different can cause problems switching between them. But maybe not in this case, maybe that's for the more complicated one they alluded to ;)

To be clear, I don't work on the kernel, so I'm a little uncertain, but I do lean towards saying that that Rust API is appropriate and is what they should be doing. But everything is a trade off.

4

u/Svenskunganka Aug 29 '24 edited Aug 30 '24

Perhaps I was a bit unclear in my comment, but what I'm refering to is what details the return type encodes; the intricacies of the C API it wraps. For that goal, it does so well and can be understood by a Rust user. Of course, there are ways to make it shorter with e.g a type alias but the complexity of the type remains the same. Even with an enum as the other commenter posted:

enum Foo<T> {
    Existing(ARef<INode<T>>),
    New(inode::New<T>),
}

The return type changes to Result<Foo<T>> but the complexity of the type remains almost the same. I say almost because the enum is a bit better since it is either an Existing or a New, while for Either it is Left or Right and the former more clearly explains the difference.

I also don't want to put too much weight on the character length on the return type because 1) it might have been demoed like that in the slides so that the non-Rust users in the audience can digest that the Rust implementation has indeed encoded all of the subtle details of the C API and 2) because the author had just posted the patch that same morning and such details would probably have been iterated and improved upon with the rest of the RFL team in review.

What I'm ultimately referring to is that the type itself encodes the details of the C API in an excellent way that can be understood and used "safely" by a Rust user with arguably less complexity than what the C API requires a C programmer to keep contextualized in their head - and to that I say well done! 👏

4

u/sunshowers6 nextest · rust Aug 29 '24

I would probably have a concrete enum Foo<T> with Existing and New variants and just return that. (In general I think Either should be sparingly used.)

→ More replies (2)

5

u/prehensilemullet Aug 30 '24

The thing I’m wondering after watching that video is - is a function that sometimes returns a fully initialized, refcounted inode and sometimes returns a partially uninitialized, nonrefcounted proto-inode the cleanest API they could muster?  And if so, why? Like naively, I would think that passing an initializer function would be cleaner.  But maybe the extra function call would have too much overhead?

1

u/AurelienSomename Aug 30 '24

I guess because of legacy code.

The fact that they spend time explaining something that look quite simple to what I assume are senior developers working on the linux kernel is quite baffling. I did not expect this. (on the other hand I am thankful for their contribution ;) )

3

u/fogcat5 Aug 29 '24

haven't read the article (this is reddit) but my experience with development projects has always been problems with the non-technical part.

1

u/v_0ver Aug 30 '24

All this drama was expected =(

1

u/[deleted] Sep 02 '24

Just wait until you rust whipper snappers reach 50 and gen beta is going to rewrite the Linux kernel in Lean

-9

u/[deleted] Aug 29 '24

When you don't want your system to be as mathematically proven as possible cause it's mildly inconvenient, then what more to say than that natural selection will run it's course.

Give it a decade for these boomers to retire, then we will rewrite the whole damn kernel in Rust cause C is Latin and it's already dead.

9

u/Guvante Aug 29 '24

You cannot rewrite a system as large as Linux without using both for years so finding ways to bridge the gap is fundamentally important.

-35

u/dnpetrov Aug 29 '24

With all due respect, it's a shame that Rust community sees this as some "territorial boomers" attempting to "sabotage Rust", rather than the hard reality of new technology adoption in a big, demanding project such as Linux kernel.

55

u/-Y0- Aug 29 '24

There is that, but not when you start your rant the "The religion of Rust".

-20

u/dnpetrov Aug 29 '24

Am I missing something? Where did I start that kind of rant? Because I didn't.

I did that kind of work (adopting a new technology in a very conservative environment - think hardware development). I understand how it goes. It will always be YOUR job to make things work together. Not the job of some "territorial boomers", who are busy people doing their own work and totally not concerned with your language of the future, however good it is. If Rust for Linux kernel maintainers fail to understand that and see it as a "non-technical nonsense", then they are terribly wrong. Guys just totally failed to hear it when it was put in a rather respectful and technical way. It is sad that such discussions regarding Rust way too often end like that.

30

u/_zenith Aug 29 '24

No, they're referring to the dev in the video, who acted seemingly maliciously to try to sink the project

18

u/Guvante Aug 29 '24

The referenced video has someone explicitly say

  • Even if you merge this bridge the C code can be refactored to break it

  • If the bridge breaks because we refactored you are going to have to fix the bridge without undoing the refactor

  • Blocking the refactor because someone important has a dependency on the Rust version is unacceptable

The last one was when I stopped watching. "No one important can use this period" is the epitome of malicious compliance.

It also goes against the Linux ethos of not breaking others code.

→ More replies (9)

35

u/kaoD Aug 29 '24

Am I missing something? Where did I start that kind of rant? Because I didn't.

They're talking about the linked video, which is why the Rust community sees this as "territorial boomers".

11

u/-Y0- Aug 29 '24 edited Aug 29 '24

You're missing the rant by Linux maintainer. https://m.youtube.com/watch?t=1569&v=WiPp9YEBV0Q

A person can't start an honest discussion by implicitly saying you're an irrational language zealot, and your language is second class citizen.

5

u/JoeyJoeJoeTheIII Aug 29 '24

Did you watch the video?

Guy resigned citing nontechnical nonsense and linked a video of a kernel maintainer angrily ranting at him.

That’s where the religion stuff comes from.

10

u/insanitybit Aug 29 '24

It's not really a secret that there are people in the kernel that are actively against Rust for ideological reasons and not technical ones.

7

u/JoeyJoeJoeTheIII Aug 29 '24

No one is complaining about the people who were having a real technical discussion.

It’s the guy who decided to go on a rant and make ridiculous accusations because he’s scared shitless that he might have to learn another langauge (he doesn’t, but he’s very upset at the idea).

-134

u/el_muchacho Aug 29 '24 edited Aug 29 '24

Zig is far better suited to kernel development than Rust. Its interoperability with C is also much better.

edit: I'm saying the language and its underlying principles are. The fact that it is not stable yet doesn't make it suitable for kernel development at this moment. But the language itself is better suited to systems programming, as it is essentially a better, safer C. Rust is better for applications.

86

u/ConvenientOcelot Aug 29 '24

Zig doesn't claim to provide memory safety so it's even harder to sell on bringing into the kernel than Rust. I don't think many will accept a "better C" when they already have and like C.

I'd also disagree on "far better suited to kernel development". It's nice in some areas, but again the lack of memory safety is a huge negative to it there.

2

u/JoeyJoeJoeTheIII Aug 29 '24

I think they are absolutely more likely to accept a better C than anything that actually improves the fundamental memory issues.

-16

u/el_muchacho Aug 29 '24 edited Aug 29 '24

No, it really isn't. We are talking kernel developers here, not you average full stack dev. Zig is easily an order of magnitude safer than C and it allows far more low level control than Rust. That's what matters in kernel development.

10

u/ConvenientOcelot Aug 29 '24

What extra control does Zig allow you that Rust + unsafe does not?

→ More replies (2)

50

u/FractalFir rustc_codegen_clr Aug 29 '24

One of the biggest problems with Rust that Linus mentioned before is the instability of certain feaures. Zig is not even 1.0 - so that alone disqualifies it from being used in the kernel.

4

u/matthieum [he/him] Aug 29 '24

Note that Linus seemed to be complaining more about the instability of the infrastructure to support Rust in the kernel, than nightly Rust features.

Which is understandable, seeing as the kernel has been using non-standard GCC extensions forever, without ever worrying about them not being standard.

→ More replies (2)

-10

u/meowsqueak Aug 29 '24 edited Aug 29 '24

Your point about Zig notwithstanding, Linus was talking about the stability of the Rust code within the kernel, as written and maintained by the kernel Rust team, not Rust itself.

Edit: down-voted for correctness? This was literally the subject of a discussion on this very subreddit not more than a week ago.

18

u/HOMM3mes Aug 29 '24

Rust in the kernel is depending on nightly and unstable features, which is considered to be a problem

6

u/[deleted] Aug 29 '24

It's also a problem that the Rust developers have recognized and have made a high priority issue.

8

u/FractalFir rustc_codegen_clr Aug 29 '24

He was specifically talking about nightly features, like support for custom Arcs.

Zig is not stable, and tomorrow the Zig team could decide to flip syntax on its head, instantly making all zig code obsolete.

Zig is a fine language, but it is not ready for kernel development simply cause it is not done.

→ More replies (2)
→ More replies (1)

47

u/coderstephen isahc Aug 29 '24

Zig hasn't released a 1.0 version yet. Until it has its definitely not suitable for stable kernel development.

→ More replies (1)

30

u/inamestuff Aug 29 '24

This myth about Rust not being able to interop with C is plain stupid. Sure, you can’t simply import .h files like you do in Zig, so what? You can generate Rust definitions from a C header file and call C libraries (dynamic or static)

8

u/Veetaha bon Aug 29 '24

Bingo. Not even that you can't just import .h, but you also need to configure the linking of the libraries you need to interact with, and define that build process somewhere. I don't think any language exist out there that doesn't require you to configure all this stuff if you want to use a C library. With Rust you also need to do that, and bindgen is just one of the steps in that config (build.rs), which doesn't really stand out

6

u/Guvante Aug 29 '24

C requires all of that work as well

11

u/RedEyed__ Aug 29 '24

We don't need same language with different syntax, it solves nothing

3

u/el_muchacho Aug 29 '24 edited Aug 29 '24

You are wrong. It certainly does and we certainly do. In fact I've waited for over a decade for a better C, like many/most low level programmers. And in the video, it's quite clear that a number of long time kernel devs who have extensive expertise in C are not ready to start from scratch and learn a completely new paradigm and spend the 10,000 hours necessary to gain the same level of expertise. For those people, that you don't really want to lose because they have a deep knowledge of the intricacies of kernel development, it's much easier to work with a language whose semantics are close to what they already know. You have easily 10x to 100x as many C experts in the kernel community as you have in Rust. You can't afford to lose them like the guy in the video said.

3

u/matthieum [he/him] Aug 29 '24

Zig does bring quite a few nice features to the table.

The single fact that you can actually write generic data-structures (and code) is a huge advantage over C.

6

u/matthieum [he/him] Aug 29 '24

I agree with you that Zig has better interoperability with C.

I agree with you that Zig is a better, safer, C.

And thus, naturally, I would agree that Zig is a better language than C for... well, anything really. But sure kernel development in particular.

I disagree that Zig is better suited to systems programming than Rust is, however. In this comparison, will be trade-offs.

Zig has some cool things. Simplicity is quite a nice property of a language. And it is safer than C.

Rust has some cool things too. 100% safety is a nice property of a language. Especially in security/safety critical contexts such as... when writing a kernel.

So, personally, I consider Rust better suited. Not because it's Rust, but because it's safer. And, personally, I wouldn't consider any other language unless they are as safe (first and foremost) and then as efficient (memory/speed wise). Maybe Hylo will make the cut in the future, for example. But Zig? No. Not safe enough.

2

u/ZZaaaccc Aug 29 '24

Hard disagree. For a C developer, what does Zig actually enable you to do that C didn't? I think Zig is much better than C, but it's largely sugar. You don't get extra safety, performance, or a wider community, and you definitely don't get stability.

By contrast, Rust has the largest community out of the "niche" languages, actual guarantees around safety, and new paradigms otherwise inaccessible (traits, tagged unions, pattern matching, etc.). 

Think of it like a restaurant that only serves burgers wanting to expand its menu to attract new customers. Rust is like offering a salad, while Zig is like offering a slider. You're not getting new blood selling sliders at the burger joint...

3

u/geckothegeek42 Aug 29 '24

Better how?

-3

u/el_muchacho Aug 29 '24

More low level control.

8

u/geckothegeek42 Aug 29 '24

In what ways? Can it do something rust can't? And how does that make it more interoperable with C?

→ More replies (4)

3

u/JoeyJoeJoeTheIII Aug 29 '24

Zig is a C programmers solution to the problems of C and predictably it fails to solve the actual core issue.

Manual memory management is a disaster. It always has been, but the interconnectedness and reliance on these systems means it cannot be ignored anymore.

Writing more ergonomic C doesn’t fix this.

-16

u/el_muchacho Aug 29 '24 edited Aug 29 '24

Damn, I had heard of the fanboyism of Rust users, but I didn't expect THAT level of fanboyism. -100 points is new record for me. Really didn't expect that No wonder there is such drama around that community.

12

u/Guvante Aug 29 '24

You ignored the most important reason Rust was chosen here.

Stability, Rust code will be guaranteed to continue to compile as it does today in perpetuity (nightly features required for kernel development not withstanding which is something being worked on)

More importantly you simply said "Zig is better" without any details or supporting evidence.

Also note most of the commentators are coming from the video referenced which has someone attacking the very idea of using Rust in the kernel and you respond to a thread focused on "treating people like that is not okay" with "Rust is the wrong language anyway" with no information is quite insulting. Like at least take the effort to explain or GTFO.

5

u/Wooden_Loss_46 Aug 29 '24

You are downvoted for being a toxic zig fanboy.

→ More replies (1)

4

u/JoeyJoeJoeTheIII Aug 29 '24

Or maybe people don’t buy your unsubstantiated “zig is better” when it fails to address the single biggest argument for rust in the kernel.

4

u/matthieum [he/him] Aug 29 '24

Damn, I had heard of the fanboyism of Rust users, but I didn't expect THAT level of fanboyism.

Actually, I suspect you are being downvoted for being considered a Zig fanboy given how high-handed your claims are. Ironic, isn't it?

-8

u/chilabot Aug 29 '24

Rust will for many years be treated as a second class citizen in Linux. The video also highlights the radical difference between a purely "functional (procedural)" language like C and Object/Object-like oriented languages like Rust. What's the object? What should we abstract? Is that too much abstraction?

The problem is the mindset: Rust and other "abstracted" languages promote abstraction-based thinking, whereas C does not necessarily. C programmers are more free to abstract-in-their-minds what's coded, or perhaps have many different abstractions for the same thing, or none.

We'll see what's the future of Rust in the kernel. Linus accepted Rust because it's evident it's the C successor, probably out of fear of being outmatched by other kernels like Redox.

11

u/sunshowers6 nextest · rust Aug 29 '24

Thinking about abstractions is literally the only way you can write any piece of software more than a few thousand lines long.

1

u/chilabot Aug 29 '24

Thinking is not the same as codifying them. I'm referring to the abstractions mentioned in the video, the kind that Rust and other languages encourage.

8

u/sunshowers6 nextest · rust Aug 29 '24

I mean at some point, if you're not working all by yourself, you have to write your thoughts down so that people can refer to them later. The main question then is how much of that should be in machine-readable language.

197

u/[deleted] Aug 29 '24

[removed] — view removed comment

132

u/razies Aug 29 '24

I find it baffling how a room full of the most experienced Linux kernel devs can discuss 30min about all the implicit knowledge required to call this API. Personally, I have 0 confidence that I could use this API after watching this.

And in the end, they laugh at the suggestion that is API might be more complicated than meets the eye.

17

u/simplyh Aug 29 '24

They laughed because it wasn't a more complicated case than the average for filesystem internals. A lot of those APIs are quite complex, which is the reason Almeida is trying to improve them.

60

u/Veetaha bon Aug 29 '24 edited Aug 29 '24

You are basically reading my mind. Of course, the richer the types you present, the more narrow behaviors you can represent and allow in the future. But.. isn't this what types are for? Such that if you need to do a breaking change, the users will see a compile error early.

Instead, the "C"'s state of mind is that void* all the things, and you'll never know if your stuff breaks until a segfault or a CVE in production. Or.. just kindly be resistant in code to any kind of breaking changes we might do, that aren't expressed with types, we don't want to maintain a typed interface for you.

I get it that the guy hates Rust (which by itself tells a lot), but the tone he's pitching it with definitely explains why people would quit working with such people.

15

u/Dankbeast-Paarl Aug 29 '24

Yep, the fact Linux is C based make it so that some system calls APIs are atrocious to work with. Behold, the ptrace signature!

long ptrace(enum __ptrace_request op, pid_t pid, void *addr, void *data);

I love that void *data is different depnding on the op that I pass in! Please read multiple pages of documentation to understand how it is designed to be used.

5

u/0x7CFE Aug 30 '24

Instead, the "C"'s state of mind is that void* all the things, and you'll never know if your stuff breaks until a segfault or a CVE in production.

Lol. Something tells me that's essentially how dynamic languages work. Replace segfault with uncaught exception in Python/Ruby/younameit and voila. But no, those guys claim they are of a higher class, than those dirty dynamic peasants.

3

u/[deleted] Sep 02 '24

I'm primarily a python programmer and on my job i don't use exceptions in favor of using union types and match/case (or `if isinstance(obj, type)` for older versions of Python) with assert_never for most of the errors that are present in the code aside from the cases where:
* Interacting with API's that use exceptions
* Code is legit supposed to panic here and the API user is not intended to handle that case
I even implemented a semplance of rust's Result type with `unwrap` method to boot

In effect i get the ability to use mypy or similar static type checkers and get the similar behaviour to rust where i know if i handled some case at compile time. Also it's nice having LSP detect those cases for me. What i noticed is that it greatly improved the stability of the code, even with Python's lacking type system. I love Rust largely for the same reason

2

u/0x7CFE Sep 02 '24

100%. It's not about the language, but your way of thinking. You can write elegant/crappy code in any language.

By the way, technically it is impossible to not have a type system. It is there no matter what, be it Python, Smalltalk or just abstract lambda calculus.

It's one of the misconceptions that typically prevent static and dynamic guys to understand each other. Proponents of static types usually refer to model consistency and stability in terms of practical applications of the Curry-Howard isomorphism (to represent all business logic relations as types and set necessary restrictions to check the invariants). Proponents of dynamic languages rarely see that as a benefit and typically think that "static types" == "ugly, redundant, and mandatory type annotations all over the program". Hence a lot of spaghetti code and messy ad-hoc model.

That being said, the most productive programmer I ever seen used dynamic language. Yet, he cleverly applied his knowledge of type systems to properly model the business logic and do proper checks where relevant.

70

u/Lucretiel Datadog Aug 29 '24

Acting like not encoding semantics into the type system in C somehow magically means it doesnt 'break' when the underlying code changes.

Yup. All that it means is that you don't discover breakages until runtime.

40

u/Freyr90 Aug 29 '24

In Java world I constantly see this argument regarding checked exceptions, aka they are bad because they "break signatures". And following idea that dynamic languages make you "more productive". Following this reasoning Perl is the ultimate language bc every function simply accepts an array of arguments. Somehow the idea that ensuring invariants through type constraints is beneficial is quite alien for many people.

35

u/Zde-G Aug 29 '24

Following this reasoning Perl is the ultimate language bc every function simply accepts an array of arguments.

You would be surprised, but I have seen developers who stated that in full seriosness.

They were telling that statically typed languages are bad for the business because they couldn't accept business requirements that have contradictions!

And when I pointed out that if you accept business requirements that have contradictions then you can never satisfy the customer because any solution would be unacceptable they said that “soft skills” magically solve that problem.

That's really crazy world out there, but at least now I understand why more often than not “enterprise software” is unusable: if the goal is not to have sane rules that user can learn but to create POS an then convince the business owner then what you created is perfect then this changes things! And significantly!

9

u/ukezi Aug 29 '24

soft skills

aka talk the customer into signing off on stuff they didn't specify.

3

u/Zde-G Aug 29 '24

If original requirements included contradictions then you have to convince them to accept something that explicitly violates stated requirements, but that's, apparently, easier to do then create a set of requirements that make some sense.

1

u/Repulsive-Street-307 Nov 09 '24

That's a good twilight zone moment.

1

u/[deleted] Sep 02 '24

Using the methods i described in another post here python's type system can be leveraged to achieve a similar interface to rust in dealing with these kinds of issues which makes it a lot nicer to work with in my experience. I'd still say that python's a very productive language, partly because of being dynamic and partly despite that.