• 0 Posts
  • 393 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle


  • I agree. C isn’t going anywhere anytime soon, but if we don’t start modernizing the kernel now we could end up with a future like the US government is in where all critical systems run on COBOL code and no one wants to touch it for the fear of breaking everything.

    I’m not sure if it was in my above post or not, but the article said we should start modernizing the kernel now before someone does to Linux what Linux did to Unix.

    Redox OS already exists and is functional (meaning it boots and has a GUI, but it’s lacking in various aspects), from what I understand it’s pretty much Linux/Unix rewritten entirely in Rust and looks pretty promising. In 5 or so years it could be a competitor with BSD and then overtake Linux once it has a proven track record.



  • Yeah it is a monumental task, but it’s also the one with the least push back. I don’t mean start from scratch, but convert the C code to Rust in a dev branch or something and release a Linux-Rust kernel image.

    Almost all real-world software development is like this. That’s what we do.

    I’m aware, I’ve written my own software even though I’m a SysEng, all I’m saying is that it’s not an easy process with a potential for disaster. Just look at CrowdStrike (not saying that they were attempting to switch languages but just the scale of the fuck up and the fallout that it caused), we don’t want that to happen with Linux.


  • I’m not rejecting it, I’m just saying that it’s very difficult to completely change the code of a critical piece of software. The long-term goal is for Rust to overtake C in the kernel (from what I understand, I’m a System Engineer, not a software dev. I know Go, not Rust) due it being memory-safe and about 30 years newer. Critical code gets left untouched (a lot of the time) because no one wants to be the one that breaks shit (and get bitched out by Linus 😂) so I’m sure there is tons of code from the early 90s that could be made better with a newer language like Rust, but it’s not as mature as C right now so that’s not going to happen for a while, if at all.



  • part of the problem is that old-time kernel developers are used to C and don’t know Rust," Torvalds said. “They’re not exactly excited about having to learn a new language that is, in some respects, very different. So there’s been some pushback on Rust.”

    Linus hit the nail on the head. If you’ve been a Kernel dev for a decade or more, and have spent decades learning the ins and outs of C, why would you want to switch to something that is similar, but different in a lot of ways, just because a small subset of devs think it’s the best way forward? Let them handle Rust and the majority of devs will keep using C, even though Rust is objectively better.

    As one of the other quotes suggested: fork the kernel project and rewrite it entirely in Rust, that way there isn’t any push back from the C devs. Replacing C with Rust in the upstream kernel is akin to replacing the engine in a car while it’s running or being used every day.









  • For point c, it’s actually cheaper depending on how they do it. One of my favorite artists, mc chris, has done USB discog sales for over a decade. He charges like 100 for it last I saw, but it’s also a custom USB along with having like 10-20 albums and Eps.

    That’s pretty cool, but at what quality? MP3? AAC? M4A? FLAC? You don’t know until you buy it and plug it in, you know that a CD is going to be WAV files which is uncompressed audio mastered at the best quality possible, which you can then rip to your desired format. If whats on the USB drive isn’t FLAC, you’re limited to what they gave you.

    It would be much more expensive to press, bundle and package/ship that many CDs in comparison to a single USB drive

    It all depends on if you’re doing it yourself or if you have someone that’s already setup to do it as a business. After a quick search, I found a site that will do 100 CDs with inserts and jewel cases for $255, I’m sure the price goes down with the more you order. The same site offers custom USB drives with silkscreen printing (how else are you going to know what’s on it amongst all your other flash drives assuming you intend to keep it?) is $330 for 100, so if the artist is actually putting multiple CDs onto a single USB drive than it definitely is cheaper for them, but I’m not sure how many bands would actually do that.

    And since it’s also merch, point 4 is unlikely. He’s never cared about his music being pirated (and even has lyrics about his music being ‘forever free for the poor kids’, so B isn’t an issue either.

    That’s one artist, lots of artists care about their music being pirated because it cuts into their revenue, which they get very little of in the first place (referring to CDs, not streaming which is a lot better for them in terms of revenue). IDK how old you are, but I’m guessing you don’t remember Napster/Limewire/Kazaa. Also, a lot of the time it’s the companies that own the rights to the music that care the most because they’re the ones that get like 70% of the profits.

    Option a is basically do you trust the artist, which one would hope they’re trustworthy, but they could also Sony you if they weren’t…

    Ah, yes, the good old Sony rootkit.