Not related, but I often want to see the next or previous element when I'm iterating. When that happens, I always have to switch to an index-based loop. Is there a function that returns Iter<Item=(T, Option<T>)> where the second element is a lookahead?
Early in 1999 my 1st build was a Celeron 300A on Asus P2B-LS overclocked to 450. Later upgraded to 1.4Ghz and 512MB ECC RAM. Much later running FreeBSD as a home server probably till 2015 when the power supply finally gave out, I wish I kept it. Got me through the capacitor plague and was competitive with Pentium 4 for a while. Absurdly stable and quite snappy with a 10k SCSI system drive. Would love to install Windows 98SE again on it and play some Unreal Tournament.
It's decent at explaining my code back to me, so I can make sure my intent is visible within code/comments/tracing messages. Not too bad at writing test cases either. I still write my code.
I'm saying it's not good enough to write code yet, but good at explaining code. If it can't that means I messed up and I need to make it clearer. Once it's explanation and my meaning line up, the code is good enough and I move on. Meta point is that people are using AI for the wrong thing. It's great at consuming, not creating.
Been doing Rust lambdas for 4 years now, Rust is absurdly fast, especially when compared to non compiled languages. If anything, Rust is even faster than those benchmarks in real world workloads.
I prefer developing Rust on FreeBSD, memory allocator, scheduler, network stack, kqueue, dtrace and other instrumentation are all superior than the Linux counterparts. What's missing for you?
My Retina MacBook Pro lasted over a decade, that's 200$ a year plus $50 battery replacement and $8 speaker. It still runs fine. Macs are an absurd value/quality for money. If M series Macs run this well, no one else comes even close.
I just replaced a quite cheap Windows laptop that was over 10 years old for an old person. It was just fine. The only reason it got replaced was because the battery was completely dead and being so old you couldn't find the part.
Not that it matters because it got replaced by a laptop costing 1/3 of the cheapest MBA.
Mac users are delusional about the longevity of Apple stuff and have a distorted worldview where PC users change their hardware every 2 years or so. They don't and my experience is that it's completely the reverse (hence the massive 2nd hand market for Macs).
reply