i just found a quite interresting paper about "how c++ compilers implement exception", which looks very clear and detailed, neatly illustrated and stuff at http://www.codeproject.com/cpp/exceptionhandler.asp
I already posted the link at http://www.invalidsoftware.net, but i thought it desserves a greater audience
Ready ... Set ... Print!
For those who wanna do a C++ kernel.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:For those who wanna do a C++ kernel.
I hate being the spoilsport, but the article is about how VisualC++ implements exceptions - structured exception handling, which by design rules out zero-overhead exceptions, and is patented by Microsoft unless I am seriously mistaken.
Every good solution is obvious once you've found it.
Re:For those who wanna do a C++ kernel.
Doesn't this mean he did his own or am I/ mistaken.I implemented exception handling library for VC++ that is accompanied with this article. To replace the exception handler provided by VC++ with my handler, call the following function:
Re:For those who wanna do a C++ kernel.
Finally I had the time to read that article on something comfortable (instead of my 640x240 PDA display).
I agree it's interesting read if you haven't delved into exception handling technique before. Still, highly VC++ specific... now, if someone could / would convert that article / library to GCC space...
I agree it's interesting read if you haven't delved into exception handling technique before. Still, highly VC++ specific... now, if someone could / would convert that article / library to GCC space...
Every good solution is obvious once you've found it.
Re:For those who wanna do a C++ kernel.
Anyone having downloaded the source zip? I'm reluctant to sign up for yet another accound somewhere on the 'net for a single download...
Every good solution is obvious once you've found it.
Re:For those who wanna do a C++ kernel.
www.bugmenot.com is the awnser to your problems. (signup problem)Solar wrote: Anyone having downloaded the source zip? I'm reluctant to sign up for yet another accound somewhere on the 'net for a single download...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:For those who wanna do a C++ kernel.
From 'invalidsoftware.net' community:
Update
I've found the specification on Exception Handling used by GCC, take a look at: http://www.codesourcery.com/cxx-abi/abi-eh.html