• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: August 28th, 2023

help-circle

  • I admit to not knowing how running an open source project goes, but wanting more contributors seems like the wrong metric compared to better contributors.

    I understand the pitfalls of C are not limited to segmentation faults, but I suspect it would be more productive to fix C by including some of Rust’s better ideas than to throw it away, as seems to be the current trend.

    I don’t think Rust is wholly bad, to be clear, but it seems over-engineered to me, and the fact its useful new features don’t even completely work (see rust-cve) isn’t very encouraging.

    I would recommend listening to Jonathan Blow’s opinion on Rust, which I tend to agree with. I personally think I’m just going to stick with C until Rust either becomes the standard, or I retire and let the next generation worry about that.


  • Why do you want sophisticated code ? That word seems out of place from the other two to me.

    Rust doesn’t introduce the same problems as C, but it sure does introduce a lot of other problems in making code overly complicated. Lifetimes and async are both leaky abstractions (and don’t even work as advertised, as rust-cve recently demonstrated), macros can hide control flow…

    C is unsafe, sure, but also doesn’t pretend to be safe. C is also stupid simple, and that’s a good thing : you can’t just slap ArcMutexes around, because by the time you know how to code them yourself you also know why you shouldn’t do that.

    I hope Rust can reach a point where its safety model can be formally proven, and we have a formal specification and a stable ABI so we don’t have to hard-compile every crate into the binary.

    But I personally expect something with some of Rust’s ideas, but cleaned up, to do that instead. Actually, I wouldn’t be surprised if C itself ends up absorbing some of Rust’s core ideas in an upcoming standard.


  • radiant_bloom@lemm.eetoMemes@lemmy.mlAmericans be like
    link
    fedilink
    arrow-up
    40
    arrow-down
    3
    ·
    8 months ago

    The sadder thing is that Chinese social credit hasn’t actually even been implemented, and doesn’t seem like it’s going to. There are only limited local experiments, most of which are allegedly largely irrelevant.

    Whereas there are multiple credit score companies currently tracking literally everyone who has a bank account.


  • The improvement here is switching from interpreted to compiled. It could have been C, Zig, Odin, or even C++ (but thank Satan it isn’t C++)

    I’m not sure I understand why people like Rust over C, although I don’t have that much experience in enterprise coding. I’m generally distrustful of languages without a standardized specification, and I don’t really like that Rust has been added to the Linux Kernel. Torvalds giving in to public opinion isn’t something I thought I’d live to see…

    I get the segmentation fault thing, but to be blunt, that sounds like a skill issue more than an actual computer science problem.

    Maybe if things were less rushed and quality control was regarded more highly, we wouldn’t have such insanities as an email client (or an anything client) written in JavaScript in the first place.

    Rust is likely going to suffer the same problem as JS, where people indirectly include 6,000 crates and end up with 30 critical CVEs in their email client that they can’t even fix because the affected crate was abandoned 5 years ago…









  • I guess the one thing that could be better is actually seeing her friends, but that depends a lot on where you live. Being French, all my friends lived within 10 minutes walking distance so we would see each other basically every single day after school ! I think that was a lot better than being on discord, I wish everyone had the opportunity to do that too. It was a lot of fun !

    ( Also, we played video games like constantly 😆 so I wouldn’t be shocked if our screen time went over 4 hours quite regularly, but at least everyone was in the same room and we also could go play in the garden and stuff. Walkable cities are real, and they’re real awesome, having always lived in one myself. )


  • You can’t be sure he wasn’t set on fire by someone else ! Plus he might have changed his mind, or extinguish on his own later than you’d have out him out, staying alive and suffering even more.

    I’d maybe make an exception for someone calmly sitting as they burn, as I think the Buddhist monks who did this in China were. In those cases it’s pretty easy to see they wanted to be on fire.

    But a flaming flailing guy needs to be extinguished, whatever the reason he is on fire.