News for hackers. Stuff that matters.

jadsfwasdfsd

Re:Why Reliability Demands Functional Programming on Sunday December 28, 2025 @10:42AM (#46411845)
> but in C, you pretty much always want the tag

We aren't discussing unions in memory layout, but in type systems. This also clearly indicates you aren't qualified for this discussion.

Re:Why Reliability Demands Functional Programming on Sunday December 28, 2025 @10:35AM (#46411794)
When A and B are disjoint, you don't need the tag unless you for some reason you require that `Maybe<Maybe<T>> != Maybe<T>` holds true and don't like the collapsing semantics of unions where `Maybe<Maybe<T>> == Maybe<T>`

In practice, the cohabitants in Option/Result types are almost always disjoint. So you spend time wrapping/unwrapping Some/Ok/Err for no value add.

Re:What on earth is Kubernetes? (a beginners intro) on Saturday December 27, 2025 @01:24PM (#46403936)
Great write up!

Cluster autoscaler is honestly garbage. I'd recommend you use Karpenter which is now managed in most cloud providers.

Why would you want segmented stacks, cgo FFI overhead, goroutines, & asynchronous preemption for a game engine? Odin is better suited than Go is for this type of software. Almost any programming language would have been a better choice here. This is rage bait I'm sure.

Maybe TinyGo can save their ass here?

Re:Thoughts on Go vs. Rust vs. Zig on Thursday December 04, 2025 @10:46PM (#46156656)
Agreed. If only let-else let you match the error cases and it could have been useful for the Result type.