Re:Why is BIND 10 written in C++ and Python?
by axylone on Wednesday February 27, 2013 @12:56PM
(#5293751)
Does anyone know of large projects where C++ handles memory allocation failures gracefully? For services that need to stay up and never crash under memory pressure, I would think C is the way to go. It's too hard to reason about control flow with exceptions.
[ Parent
| on HN ]
Re:Why is BIND 10 written in C++ and Python?
by berkut on Wednesday February 27, 2013 @01:04PM
(#5293807)
You don't have to use exceptions in C++. You can do stuff the same way as in C by checking the return pointer.
I've worked on C++ apps that had built-in garbage collection (basically asset (geometry) paging) for huge amounts of data that would allocate/free/page on demand based on what was going on.