|
|
|
|
|
by pagghiu
868 days ago
|
|
You can definitively use C++ in exception free way.
I've been working on multiple Exception free codebases for work. One large open source project that is using Exception free C++ is SerenityOS for example
https://github.com/SerenityOS/serenity The best way to write proper exception free C++ is not to use the C++ Standard Library. |
|
Only in C++ land do developers delusion themselves into thinking their way isn’t this way. That exception free means just simply not doing try/catch. jandrewrogers made a good argument below about memory safety and allocations in regards to mission-critical code but even in that scenario, underlying memory can be manipulated by MITM or other conditions that could cause corruption or segfaults in allocator pages.