r/cpp_questions • • 13d ago

OPEN Which book is the best for learning systems programming and low level in Modern C++ (17/20)

I have done some systems programming in C and C-style C++ with some operator overloading. But I want to learn Modern C++ (17/20) too and keep on doing systems programming along with low-level dev, which books do you recommend for me to follow?

40 Upvotes

13 comments sorted by

12

u/Zestyclose-Click-212 13d ago

Effective Modern C+, by Scott Myers is a must learn everything else alongside it.

The Book: This book is for understanding language only and how use it. Nothing of it mentions how to solve DSA or OS or improves OOPS. It just explains the internals of the language, what it compiles to, writing what syntax will make ur code faster and language specifics like copy and move operations. I think this is exactly what u r looking for. The Book is surprisingly a easy and short read☺️

C++ OOPS also has some internals which might not be discussed in this book. Study concepts like vTable, Vptr from internet. And practice coding at leetcode to get datastructure understanding.

3

u/lawless_abby 13d ago

Thanks a lot I will definitely read it

3

u/Zestyclose-Click-212 13d ago

Okay see, you don't have go through this all. Read it only if you think that it will improve your position or get u closer to what you want to accomplish. The only reason to read this is you will be able to distinguish what syntax might cause a performance issue. That's all.

1

u/lawless_abby 13d ago

Alright thanks, I will try this

1

u/posthubris 12d ago

lol not an easy and short read

4

u/Constant_Physics8504 13d ago

Hands on systems programming in C++ by Rian Quinn

1

u/lawless_abby 13d ago

Does it include modern c++? I have been following 'the linux programming interface' by Michael Kerrisk

3

u/Constant_Physics8504 13d ago

It does, but your suggestion is good if you only want to focus on Linux

2

u/lawless_abby 13d ago

Yeah my focus is mainly on linux but I wanna learn modern c++ too because I feel left behind

3

u/Constant_Physics8504 13d ago

Well the Linux book is in C. You can do the projects in C++. The book I recommended has both systems programming and modern C++

1

u/Discordbothost 11d ago

Kerrisk's book can still be your guide to the Linux calls. Try one read-only file exercise with a move-only object that owns the file descriptor and closes it in its destructor. Force an early return after open succeeds and check that close still runs.