Page 1 of 1

For those who wanna do a C++ kernel.

Posted: Fri Jun 11, 2004 9:57 am
by Pype.Clicker
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!

Re:For those who wanna do a C++ kernel.

Posted: Fri Jun 11, 2004 12:53 pm
by Solar
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.

Re:For those who wanna do a C++ kernel.

Posted: Fri Jun 11, 2004 3:54 pm
by chris
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:
Doesn't this mean he did his own or am I/ mistaken.

Re:For those who wanna do a C++ kernel.

Posted: Tue Jun 15, 2004 1:51 am
by Solar
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... ;-)

Re:For those who wanna do a C++ kernel.

Posted: Tue Jun 15, 2004 4:35 am
by Solar
Anyone having downloaded the source zip? I'm reluctant to sign up for yet another accound somewhere on the 'net for a single download...

Re:For those who wanna do a C++ kernel.

Posted: Tue Jun 15, 2004 5:06 am
by smurf975
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...
www.bugmenot.com is the awnser to your problems. (signup problem)

Re:For those who wanna do a C++ kernel.

Posted: Tue Jun 15, 2004 5:33 am
by Pype.Clicker
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