# Modern C++ for C Programmers: part 1

DevFeed: [Modern C++ for C Programmers: part 1](<https://devfeed.tech/articles/modern-c-for-c-programmers-part-1-36279.md>)

Original publisher: [Read original article](<https://berthub.eu/articles/posts/c++-1/>)

Published: 2018-06-13T19:04:19Z

Content type: tutorial

Language: en

Sources: [Bert Hubert's writings](<https://devfeed.tech/sources/bert-hubert-s-writings.md>)

Topics: [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [C](<https://devfeed.tech/topics/c.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [compilers](<https://devfeed.tech/topics/compilers.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [parallel](<https://devfeed.tech/topics/parallel.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [notes](<https://devfeed.tech/tags/notes.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [sorting](<https://devfeed.tech/tags/sorting.md>)

## AI overview

Part 1 of a tutorial series introduces Modern C++ for C programmers. It explains the close relationship between C and C++, discusses C++'s zero-overhead principle and exception-related overhead, and presents a comparison involving C sorting, C++ sorting, and C++17 parallel sorting.

## Source excerpt

Welcome to part 1 of Modern C++ for C Programmers, please see the introduction for the goals and context of this series. In this part we start with C++ features that you can use to spice up your code 'line by line', without immediately having to use all 1400 pages of 'The C++ Programming Language'. Various code samples discussed here can be found on GitHub. Relation between C and C++ C and C++ are actually very close relatives, to the point that many compilers have unified infrastructure for both languages.