Good books for learning C++ programming on UNIX (p

2020-05-24 05:07发布

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)

标签: c++ c linux unix
3条回答
迷人小祖宗
3楼-- · 2020-05-24 06:08

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.

查看更多
叛逆
4楼-- · 2020-05-24 06:12

Advanced Programming in the UNIX Environment (2nd edition) by W.Richard Stevens and Stephen A.Rago, Addison-Wesley.

man 3 intro

查看更多
登录 后发表回答