www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/09/10:25:28

Date: Sat, 9 Dec 1995 16:53:28 +0300
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: decreasing program loadup time

> From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
> Date: Sat, 9 Dec 1995 12:06:10 GMT
>
>   Charles Sandmann <sandmann AT clio DOT rice DOT edu> wrote (Subject: Re: decreasing
> program loadup time):-
>
> > ... load times are greatly improved with V2 since ... memory is not zeroed
> > ...
>
> That looks like stopping a LOT of existing programs from working, which relied
> on unassigned arrays and variables being all zeros at the start!!!
>
In many UNIXes unitialized global variables are not guarantied to be zeroed too.
Is it mentioned in ANSI C standard? Anyway, I think one should not expect the .bss
segment to be zeroed at start, if one wants to write a portable program.
---
Alexander Lukyanov
lav AT video DOT yars DOT free DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019