3 ms·
> The Linux kernel is an impressively complicated, and robust piece of software and they get along just fine without exceptions. The amount of error-unwinding
by adobriyan 13y ago
> The Linux kernel is an impressively complicated, and robust piece of software and they get along just fine without exceptions.
The amount of error-unwinding goto spaghetti, ERR_CAST/IS_ERR/PTR_ERR/... and all the bugs coming from it is not "just fine".
- throwawaykf03 13y agoBut how much of that would be solved by exceptions without convertng to a fully garbage-collected language?
- adobriyan 13y agoDunno. Passing -ENOMEM 5 layers upwards stops being fun very quickly.