Good Morning,

I would suggest that since we have an VM implementation that works,
that the answer to your question is "it doesn't really matter." Now,
the information you received about making these items static or
heap allocated can be really beneficial when you are coding for
an embedded system and you have very finite resources that you
need to manually manage.

Mike Mitchell

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Yar Tikhiy
Sent: Friday, July 12, 2002 8:48 AM
To: [EMAIL PROTECTED]
Subject: Large variables on stack


Hi there,

As I see, there are many spots in the FreeBSD userland sources where
multi-kilobyte automatic variables (e.g., string buffers) are used.
I've been taught that such variables would better be static or
allocated on heap.

So the following question comes to my mind:  To stay portable to a
reasonable degree, how large on-stack variables can be used?

-- 
Yar

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to