HNHacker News
TopNewBestAskShowJobs

freddierest

15 karma · joined August 13, 2024

submissionscomments
freddierest··on Zero-click Windows TCP/IP RCE impacts all systems with IPv6 enabled, patch now
This will justifiably be used to disable IPv6 in many places, which will sadly set back IPv6 adoption just that little bit more.

I'm IPv6-only on my personal infra, and it's pretty nice. End to end reachability between machines and containers, and reduced need for middle boxes like reverse proxies.

freddierest··on Former Google CEO Eric Schmidt's Leaked Stanford Talk
> I would love to understand where the war-like anti-Chinese sentiment is coming from in US elite circles.

I think they're predicting large military spending and are seeking the power, influence, and money that can come from being an early leader.

freddierest··on Rust Atomics and Locks (2023)
Thanks for correction/clarification. Much as C# has a weaker memory model than Java, my mental model for memory models is weaker than I thought.

Where do Rust and C++ lie wrt C# and Java?

freddierest··on Rust Atomics and Locks (2023)
The classic for Java is "Java Concurrency in Practice", a great book for more than just Java.

Java's happens-before memory model is similar to C++'s.

I'll prob get this book, if only for the memory model chapter.

freddierest··on Rust Atomics and Locks (2023)
There's quite an escalation of topics for Rust.

If you want to write a HTTP server, people are guided towards Axum/Tokio, and thus async rust.

If you want to use async Rust, read this book?

This books covers assembly level atomics, and creating your own channels, in beginner chapters.

Is that necessary for writing a HTTP server in Rust?

From the topics in the TOC, this book is useful of you want you write concurrency primitives. I wouldn't recommend it if you just want to _use_ Arc/Mutex/crossbeam-channel.