• 0 Posts
  • 44 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
    ·
    7 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…


  • Face ID is really nice in that 90% of the time it’s like my phone isn’t even locked. Especially with raise to unlock, it just completely gets out of the way.

    I like wireless chargers because you can just put your phone down and it starts charging. I’m a big fan of things charging whenever you put them away, like the Pencil 2, DualSense controllers with the station, or joy con going back into the Switch. I always remember to put stuff away when I’m done, but I used to easily forget to charge them as well, so this has been a big improvement overall for me.

    I have bought the MagSafe battery because it’s super useful, especially when you have an iPhone Mini (the only one that’s usable one-handed). I don’t have to compromise and get a giant phone for battery life, and that’s neat.

    ( Android people may say it’s an iPhone problem, but I’m not aware of any Android phone that’s the same size and quality as an iPhone Mini )




  • Face ID, much more storage (all my music downloaded in lossless quality), a bright screen I can actually read in the summer, wireless charging.

    The rest of the new stuff I use, I omitted, because they are software features, and I don’t think it’s fair to say the older phone couldn’t have ran them if given the chance.

    Even though Apple is much, much nicer with device longevity than any Android manufacturer, I still feel like there should be a way to force updates on old devices. Just put disclaimers that devices updated this way will not receive support or something.