Closed FSMaxB closed 7 years ago
New Milestone: Exceptions are implemented in a way that they can be converted to return_status
thereby allowing me to get away from return_status
and to using exceptions from the bottom up (functions that are not calling any molch functions first and then up the tree until the external API is reached).
Reasons why the switch is done:
Note: Rust would be much nicer, but porting would be much harder and getting rust to work on all the target platforms might also be difficult.
I am happy with the current state. The API is currently still a C-API only though.
It turns out that C++ has a lot of features that can help with writing a library like molch, so lets use them.
For now it is kind of hard because I can't have any exceptions, can't use Constructors and the like, but I'll get there.
Especially converting the error handling might get hard.