HackerTrans
TopNewTrendsCommentsPastAskShowJobs

freddierest

no profile record

comments

freddierest
·2 years ago·discuss
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
·2 years ago·discuss
> 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
·2 years ago·discuss
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
·2 years ago·discuss
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
·2 years ago·discuss
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.