Hacker News new | ask | show | jobs
by phil-opp 3374 days ago
Why is this marked as dupe? Yes, there were already posts about exception handling ( "Catching Exceptions" [1]), "Better Exception Messages" [2], and "Returning from Exceptions" [3]). These posts used naked functions and a lot of inline assembly for exception handling.

This is a new post that I published today. It uses the new `x86-interrupt` calling convention [4] instead of naked functions, which is much easier.

[1]: https://os.phil-opp.com/catching-exceptions.html

[2]: https://os.phil-opp.com/better-exception-messages.html

[3]: https://os.phil-opp.com/returning-from-exceptions.html

[4]: https://github.com/rust-lang/rust/pull/39832

1 comments

Sorry, my mistake.
No worries! Thanks for correcting it.