Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler Recommendations



 On Mon, 7 Jan 2008 18:14:45 -0500 
"Bill Bogstad" <[hidden email]> wrote: 

> Depends on what you mean by "isomorphic to a stack".  A doubly linked list 
> of function activation records allocated on a heap is a little 
> different from a stack. 
> When you consider that longjmp()/setjmp() will end up deallocating 
> from the middle 
> of the linked list, it looks even less like a stack to me... 

Many data structures can be used to implement a stack. Regardless of 
how it is implemented, a hosted C implementation must behave according 
to the applicable standards. So, whether registers are used as 
arguments, or whether a linked list is used, or whether there is a 
stack instruction set the application must allow for recursion, as well 
as set up the appropriate sequence points, and setjmp/longjmp, stdarg 
and exit. 


-- 
-- 
Jerry Feldman <[hidden email]> 
Boston Linux and Unix 
PGP key id: 537C5846 
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846 
_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org