News Score: Score the News, Sort the News, Rewrite the Headlines

How I ported pigz from Unix to Windows

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 pthreads APIs on top of Windows API, in only 20.000 lines of code. It seems to Just Work. Porting dirent Another Unix-only API that p...

Read more at blog.kowalczyk.info

© News Score  score the news, sort the news, rewrite the headlines