Mama told me not to come.

She said, that ain’t the way to have fun.

  • 1 Post
  • 125 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle










  • I’m in a red state with GOP reps. I really don’t think any of those will go anywhere.

    And not sure what going on strike would accomplish. My company isn’t based in the US, my boss isn’t American (and likes Trump), and 2/3 of my team are outside of the US anyway. I like my company and my boss, and going on strike would just get me fired for no reason. Why would I do that? My company didn’t donate to him or anything, so how would pissing my boss off accomplish anything?

    The only effective measures I have would put my family at risk, and those have a remote chance of working. Why would I do that? It’s illogical, especially when the chances of Trump actually becoming a dictator are slim to none.

    I’m not going to screw up my life just for some internet cred. I’ll do what I did in the last three elections: vote against him and urge those around me to do the same. Not that it matters, because the Republican will always win my state and district, but it’s something.

    The most effective use of my time is to largely ignore him. Anything else is illogical IMO.


  • That does literally nothing though. Buying a share of a company is like buying a used product, none of that money goes to the company. The only benefit to a company is the share price rising, and your contribution to that is effectively zero, and it only matters if the company issues or buys back shares, which is somewhat rare.

    It’s the same reason that buying “green” shares does nothing.

    Invest based on what’s most likely to give you a good return, even if you don’t agree with their products. And then buy products based on your convictions. If you want to feel like you’re “sticking it to the man,” use the profits to buy from their competitors.







  • It’s not like Linux compiles down to one binary or anything, most of it is linked together over a pre-determined API. Anything that can satisfy that API (and ABI) can drop in. There are some “magic” bindings, but they still conform to that API.

    Read the rest of Greg KH’s thread, here’s the last half of that paragraph:

    Adding another language really shouldn’t be a problem, we’ve handled much worse things in the past and we shouldn’t give up now on wanting to ensure that our project succeeds for the next 20+ years. We’ve got to keep pushing forward when confronted with new good ideas, and embrace the people offering to join us in actually doing the work to help make sure that we all succeed together.

    And earlier:

    Rust also gives us the ability to define our in-kernel apis in ways that make them almost impossible to get wrong when using them. We have way too many difficult/tricky apis that require way too much maintainer review just to “ensure that you got this right” that is a combination of both how our apis have evolved over the years (how many different ways can you use a ‘struct cdev’ in a safe way?) and how C doesn’t allow us to express apis in a way that makes them easier/safer to use. Forcing us maintainers of these apis to rethink them is a GOOD thing, as it is causing us to clean them up for EVERYONE, C users included already, making Linux better overall.

    Those are solid arguments. As long as the APIs are well designed and documented, a mixed codebase is fine, and you get most of the benefits of Rust where it’s used.


  • True. We should have both better tooling and better languages. Someone posted this thread with Greg KH, which has this gem:

    The majority of bugs (quantity, not quality/severity) we have are due to the stupid little corner cases in C that are totally gone in Rust. Things like simple overwrites of memory (not that rust can catch all of these by far), error path cleanups, forgetting to check error values, and use-after-free mistakes. That’s why I’m wanting to see Rust get into the kernel, these types of issues just go away, allowing developers and maintainers more time to focus on the REAL bugs that happen (i.e. logic issues, race conditions, etc.)

    I’m all for moving our C codebase toward making these types of problems impossible to hit, the work that Kees and Gustavo and others are doing here is wonderful and totally needed, we have 30 million lines of C code that isn’t going anywhere any year soon. That’s a worthy effort and is not going to stop and should not stop no matter what.

    But for new code / drivers, writing them in rust where these types of bugs just can’t happen (or happen much much less) is a win for all of us, why wouldn’t we do this?

    In short, let’s do both.