|
|
|
|
|
by josephg
984 days ago
|
|
Yeah; thats why I like rust's approach. You can either leave assertions in in release mode, so you get your core dump. Or you can take them out if you're confident they won't fire in order to make the program faster. The unreachable pragma suggested by the author is just a more extreme version of the latter choice. |
|