rept0id-2
Joined 2 years ago
Karma
17
Submissions
8
Member since
Sep 25
Joined 2 years ago
If an overflow is detected, it calls abort(), you crash and get Aborted (core dumped).
This way, you prioritize memory safety over silently running in a wrong state, without needing to call strtol and check errors manually everywhere.
Matt gives us the example of a stocks trading API that is implemented in C++. Because we wanted to test what we saw there on a high-level language, we picked Python.