Readit News logoReadit News
kllrnohj commented on I'm too dumb for Zig's new IO interface   openmymind.net/Im-Too-Dum... · Posted by u/begoon
8s2ngy · 2 days ago
I’m sorry, but any non-trivial Zig code gives me PTSD flashbacks of C. I don’t understand who Zig is targeting: with pervasive mutability, manual allocation, and a lack of proper sum types, it feels like a step back from languages such as Rust. If it is indeed a different way to write code, one that embraces default memory unsafety, why would I choose it over C, which has decades of work behind it?

Am I missing some context? I’d love to hear it.

kllrnohj · a day ago
Zig is for people who want to write C, that's really it. It's not a replacement for C++ or Rust or Go or Swift or anything "serious".

As for why you would choose it over C, because C has too many problems for even the C lovers to ignore. Zig fixes a tiny amount of them, just enough to pretend it's not problematic, but not enough to be useful in any non-hobby capacity. Which is fine, very few languages do achieve non-hobby status after all.

kllrnohj commented on I'm too dumb for Zig's new IO interface   openmymind.net/Im-Too-Dum... · Posted by u/begoon
benreesman · 2 days ago
It's just a different convention like radians and degrees.

You can lift/unlift in or out of arbitrary IO, in some languages one direction is called a mock, in other languages the opposite is called unsafeFoo.

Andrew Kelley independently rediscovered on a live stream 30 years of the best minds in Haskell writing papers.

So the future is Zig. He got there first.

kllrnohj · a day ago
> So the future is Zig. He got there first.

The future is many things, but a love letter to C is definitely not it.

Zig is cute and a fun hobby project that might see above average success for a hobby project. But that's about it. It doesn't address the problems people actually have with C++, not like Rust or Swift do, and it certainly isn't going to attract any attention from the Java, JavaScript, C#, Python, etc... of the world.

kllrnohj commented on Does MHz Still Matter?   ubicloud.com/blog/does-mh... · Posted by u/furkansahin
AnimalMuppet · 2 days ago
Wait, what? ECC RAM for a consumer CPU? Does anyone sell motherboards like that?
kllrnohj · 2 days ago
Literally first Asrock motherboard I happened to click on has it listed as a feature:

https://www.asrock.com/mb/AMD/X870%20Taichi%20Creator/index....

Asus has options as well such as https://www.asus.com/motherboards-components/motherboards/pr...

I think it was more rare when AM5 first came out, there were a bunch of ECC supported consumer boards for AM4 and threadripper.

kllrnohj commented on The Framework Desktop is a beast   world.hey.com/dhh/the-fra... · Posted by u/lemonberry
GeekyBear · 14 days ago
> They charge $900 CAD for 512 GB -> 2 TB SSD.

The SSD is user replaceable, so you can replace it with a cheaper third party option.

kllrnohj · 14 days ago
The Mac Pro is the only Apple system that has user-replaceable storage. The Mac Mini & Studio both feature slotted storage modules, but Apple firmware locks it and so it can't be replaced much less upgraded.
kllrnohj commented on Apple lacks strategic vision   unherd.com/2025/08/time-i... · Posted by u/retskrad
Jaygles · 21 days ago
I went from a 2016 intel MacBook Pro to an m1 and although the differences on paper looked like many other spec bumps, the actual experience felt like a paradigm shift.

It’s the first time I owned a laptop that lacked compromises. It was consistently snappy and fast at every task from a full to empty battery. And it did so without burning my lap or producing an incredibly annoying fan noise.

kllrnohj · 21 days ago
Yes, it's an excellent laptop. But being good and being innovative are not the same thing. There's nothing innovative about the M1 lineup. It's better on the same axis that laptops have been improving at consistently.

As for loud fan and burning laps, though, do also keep in mind that Apple was particularly bad in the 2016 generation, which is why the M1 laptops got thicker.

kllrnohj commented on Apple lacks strategic vision   unherd.com/2025/08/time-i... · Posted by u/retskrad
nine_k · 21 days ago
> What, exactly, did M1 change

For instance, the unified CPU and GPU memory, which allows to run ML models on a Mac as if you have a large dedicated GPU. (Unified memory of course harks back to the 8-bit era; the key was to make it performant.)

kllrnohj · 21 days ago
> For instance, the unified CPU and GPU memory

Was already common and widespread with iGPUs in CPUs on x86, and was standard on all ARM mobile SoCs for a solid decade.

AMD in particular had already done a bunch here with their APUs including OpenCL support in 2012 and fully coherent shared address spaces with 2014's Kaveri

kllrnohj commented on Apple lacks strategic vision   unherd.com/2025/08/time-i... · Posted by u/retskrad
nine_k · 21 days ago
It's a bit like saying that an iPhone was not a big deal, phones were becoming smarter by the day, Apple just did a better iteration in 2007 than Nokia and Blackberry.

Making an iteration so much better is not something I'd ascribe to luck.

kllrnohj · 21 days ago
iPhone was a new UI focused around capacitive touchscreens which at the time was itself an entirely new category.

What, exactly, did M1 change about anything about using a laptop? Longer battery life? Faster? Okay, same improvements as had been featured for the last 20 years. And it wasn't any thinner, depending on the model line it was substantially thicker even.

So what exactly was new about M1 that wasn't just a bog standard iteration we'd seen dozens of times by that point?

Even just considering Apple's product line surely you'd have to rank things like Intel's Core 2 as more significant, as it enabled the creation of the MacBook Air and was Apple's return to subcompact laptops. Or Intel's thunderbolt which radically changed the entire I/O story and capabilities for Apple, who fully embraced it.

kllrnohj commented on Apple lacks strategic vision   unherd.com/2025/08/time-i... · Posted by u/retskrad
cr125rider · 21 days ago
Rosetta 2 was the big innovation there. Not ARM in a mobile device.
kllrnohj · 21 days ago
Surely you realized the "2" in Rosetta 2 isn't just quirky branding but because it's the second time they did that very thing? How was it a "big innovation"?
kllrnohj commented on Apple lacks strategic vision   unherd.com/2025/08/time-i... · Posted by u/retskrad
tracerbulletx · 21 days ago
There are a few hiccups, but everyone'e acting like Apple Silicon wasn't one of the most wildly successful overnight improvements in laptops in the last 50 years and that airpods aren't so popular that even Android phone users buy them.
kllrnohj · 21 days ago
Apple Silicon either followed Microsoft's direction (who pushed for ARM laptops a solid 8 years before M1) or just did a better iteration than Intel at the same time Intel was struggling.

Regardless of how you want to frame it, there clearly wasn't any grand innovative strategic vision in play there from Apple. It was just an incremental improvement to long established products with no shortage of equally significant and impressive increments improvements from others along the way.

u/kllrnohj

KarmaCake day11858March 7, 2013View Original