News for hackers. Stuff that matters.

eventhelix

Re:Is library building obsoleted by AI coding? on Saturday October 03, 2026 @06:08PM (#49948264)
I use Claude Code with Rust. I have noticed a tendency to write custom code instead of using an existing crate.

One reason might be that the model's knowledge cutoff means it doesn't know about recent changes. One way to address this is to first ask the model to search the internet and find suitable crates/libraries before it decides to write new code.

Quick question: Did AI prove the theorem in Lean 4?
Re:Rust Before Main [video] on Saturday August 31, 2024 @03:48PM (#41411423)
Understand the code that runs before main() is called.
Re:MadSim: Deterministic Simulator for Distributed Systems on Friday August 30, 2024 @12:00AM (#41397617)
Your code should be able to execute deterministically on a simulator designed to amplify randomness, create chaos, and inject failures. This approach can expose hidden bugs that you can then reproduce deterministically until they're fixed. By surviving such chaos, your system will be more robust and ready for real-world deployment.
Re:Guide to Error Handling in Rust on Tuesday August 27, 2024 @12:37AM (#41364608)
I am not the author. You could request this in the comments section on the page.
Re:Nanolog supports logging with 7 ns median latency on Sunday August 25, 2024 @07:26AM (#41346470)

Show HN: Rust Under the Hood – Explore Rust Through Assembly

https://www.amazon.com/dp/B0D7FQB3DH

I'm excited to share my book, "Rust Under the Hood," which explores Rust internals by examining the x86-64 assembly code generated by its compiler.This book emerged from a series of articles I wrote about Rust and assembly, which you can read here:https://eventhelix.com/rust/You can also find the book on Amazon and read a sample here:https://www.amazon.com/dp/B0D7FQB3DHWhat's in the Book?-...

( Read More... | no comments | 3 points | on HN )