Could users please help me with books that are good for writing C/C++ code on the Unix platform?
My emphasis is on writing low latency code, for use in electronic trading platforms.
(I realise there are a few threads on StackOverflow asking about books for languages generally, but my Q is specifically towards coding on the Unix OS)
I think probably for low-level c code on unix/linux, the gold-standard might be Steven's "Advanced Programming in the Unix Environment". Low-latency means you want to code down to the metal, so that's about as low-level as you can get.
There is also nothing like Stroustrup's C++ (now in it's 3rd edition) which also emphasizes clean, tight code, but with some of the benefits of C++. But for low-latency work, you'll just use things like const and references and encapsulation, but maybe forgo some of the more high-level features like inheritance or exceptions.
For low latency you really have to dig into some blogs and the source of some cool open-source projects, AFAIK there aren't any books available..
I think probably for low-level c code on unix/linux, the gold-standard might be Steven's "Advanced Programming in the Unix Environment". Low-latency means you want to code down to the metal, so that's about as low-level as you can get.
There is also nothing like Stroustrup's C++ (now in it's 3rd edition) which also emphasizes clean, tight code, but with some of the benefits of C++. But for low-latency work, you'll just use things like const and references and encapsulation, but maybe forgo some of the more high-level features like inheritance or exceptions.
Advanced Programming in the UNIX Environment (2nd edition) by W.Richard Stevens and Stephen A.Rago, Addison-Wesley.
man 3 intro