MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/rh1g2j/modern_c_in_advent_of_code/hony6mm
r/cpp • u/Happycodeine • Dec 15 '21
This series, by Šimon Tóth, is a step by step guide through the solutions of Advent of Code 2021 using Modern C++.
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10
Day 11
Day 12
Day 13
Day 14
Day 15
83 comments sorted by
View all comments
Show parent comments
0
[deleted]
6 u/Ecclestoned Dec 15 '21 Actually python is mostly C (at least if you are using cpython). 6 u/ApproximateArmadillo Dec 15 '21 well actually It's electrons bouncing about in tIny wires and artificial stones. /sGCC is written (at least partially) in C++. Does that mean C is really C++ underneath? 1 u/TheThiefMaster C++latest fanatic (and game dev) Dec 16 '21 Yes. Also on Windows the C runtime library is written in C++.There is not really a good reason to use C over C++ on desktop platforms given this. Why limit yourself when the tools you're using don't?Python at least is cleaner and more readable.(disclaimer: am self-professed C++latest fanatic)
6
Actually python is mostly C (at least if you are using cpython).
well actually It's electrons bouncing about in tIny wires and artificial stones. /s
GCC is written (at least partially) in C++. Does that mean C is really C++ underneath?
1 u/TheThiefMaster C++latest fanatic (and game dev) Dec 16 '21 Yes. Also on Windows the C runtime library is written in C++.There is not really a good reason to use C over C++ on desktop platforms given this. Why limit yourself when the tools you're using don't?Python at least is cleaner and more readable.(disclaimer: am self-professed C++latest fanatic)
1
Yes. Also on Windows the C runtime library is written in C++.
There is not really a good reason to use C over C++ on desktop platforms given this. Why limit yourself when the tools you're using don't?
Python at least is cleaner and more readable.
(disclaimer: am self-professed C++latest fanatic)
0
u/[deleted] Dec 15 '21
[deleted]