From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c8bbb1419c8e81a X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Waiver question Date: 1997/05/02 Message-ID: <1997May2.063334.1@eisner>#1/1 X-Deja-AN: 238857580 X-Nntp-Posting-Host: eisner.decus.org References: <5k52k2$7v0$1@news.nyu.edu> <5kb8ol$18o@bcrkh13.bnr.ca> X-Nntp-Posting-User: KILGALLEN X-Trace: 862569220/9733 Organization: LJK Software Newsgroups: comp.lang.ada Date: 1997-05-02T00:00:00+00:00 List-Id: In article , bobduff@world.std.com (Robert A Duff) writes: > Strange semantics, IMHO. Pragma Pack is all about time-vs-space > trade-offs, but it has this weird side-effect on tasking semantics. We > should have a way to *declare* things independently adressable, but the > default should be that things are not. I do not understand why you feel the default should be task-unsafe. The general trend in Ada seems to be that safeguards are enabled by default and disabled by explicit statement. In addition to multiprocessing considerations, there are also efficiency reasons for having the compiler put each variable into a separate Alpha longword (or set thereof). The only wasted resource is memory, and typical applications on Alpha have lots. Others can declare their preference for the task-unsafe version on particular constructs. Certainly defaulting to task-safe seems to be a lot more friendly for those porting programs in from other platforms. Larry Kilgallen