News for hackers. Stuff that matters.
Re:Why C Is Not Assembly by berntb on Tuesday September 14, 2010 @05:09AM (#1689969)
>>automatic field offset computations

A macro for subroutine entry could reserve stack space and define offset constants. A macro for subroutine returning releases the extra space.

It could be neat to use, if the processor architecture has sane addressing modes. (I might have seen/done something similar... doesn't feel like a new idea to me. :-) )

(The entry macro might need a simple preprocessor.)

Disclaimer: C and lower was another life, dimly remembered. :-)

There are no comments on this comment yet.