jacob said:
CBFalconer a écrit :
How?
I have explicitely pointed out that this can't affect any existing
code. You fail to bring any new argument. Just assertions without
any proof.
You have expressed your *opinion* that there are no effects. The
actuality is different, as almost anyone who has ever designed a
runtime system from the ground up should know.
Let's take overloading as a horrible example. You have a choice -
add a hidden parameter to each function call to identify the flavor
(which automatically affects the code), or effectively do the same
thing by name mangling. Now how do you handle the __function__ (I
think) provision of the standard? How do you ensure that the
linkage system can handle the mangled names. You may further
restrict the length of user function names to accomodate the
linker. Or other ugly things, totally unexpected by the innocent
programmer.
Think of the nasty effects of unwinding stack markers for an
exception.
Bear in mind that being able to do something cheaply on an x86
windoze machine running the worlds most unsafe operating system
does not mean it is feasible everywhere. You are playing in a
narrow crevice in the C world.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <
http://cfaj.freeshell.org/google/>
Also see <
http://www.safalra.com/special/googlegroupsreply/>