Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: porting Clear Filter

I ported pigz from Unix to Windows

I just finished porting pigz from Unix to Windows (you can download pre-compiled binaries ). This article describes how I did it. Pigz was clearly written with Unix in mind, with no thought given to cross-platform portability. Thankfully, it’s a relatively simple, command-line program that sticks to using standard C library. Porting pthreads Pigz uses pthreads for threading. Porting pthreads code to Windows would be a nightmare. Lucky me: someone already did all the hard work and implemented

The unreasonable effectiveness of fuzzing for porting programs

A simple strategy of having LLMs write fuzz tests and build up a port in topological order seems effective at automating porting from C to Rust. Agents are starting to produce more and more code A week or 2 back, I was reflecting on some code Claude had generated for me and I had a sort of moment of clarity. "Clarity" might be overstating it; more like the type of thought you have in the shower or after a few beers. Anyway. The thought was: LLMs produce more and more code, and they'll eventua

The Unreasonable Effectiveness of Fuzzing for Porting Programs

A simple strategy of having LLMs write fuzz tests and build up a port in topological order seems effective at automating porting from C to Rust. Agents are starting to produce more and more code A week or 2 back, I was reflecting on some code Claude had generated for me and I had a sort of moment of clarity. "Clarity" might be overstating it; more like the type of thought you have in the shower or after a few beers. Anyway. The thought was: LLMs produce more and more code, and they'll eventua