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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps90.POSTED!53ab2750!not-for-mail Sender: RAY1@LITSA Newsgroups: comp.lang.ada Subject: Re: in defense of GC References: <1169531612.200010.153120@38g2000cwa.googlegroups.com> <1mahvxskejxe1$.tx7bjdqyo2oj$.dlg@40tude.net> <2tfy9vgph3.fsf@hod.lan.m-e-leypold.de> <1g7m33bys8v4p.6p9cpsh3k031$.dlg@40tude.net> <14hm72xd3b0bq$.axktv523vay8$.dlg@40tude.net> <4zwt33xm4b.fsf@hod.lan.m-e-leypold.de> <1j7neot6h1udi$.14vp2aos6z9l8.dlg@40tude.net> <1pzx3y7d2pide.y744copm0ejb$.dlg@40tude.net> From: Ray Blaak Message-ID: Organization: The Transcend X-Newsreader: Gnus v5.7/Emacs 20.7 Date: Tue, 06 Feb 2007 08:32:07 GMT NNTP-Posting-Host: 154.20.94.243 X-Trace: edtnps90 1170750727 154.20.94.243 (Tue, 06 Feb 2007 01:32:07 MST) NNTP-Posting-Date: Tue, 06 Feb 2007 01:32:07 MST Xref: g2news2.google.com comp.lang.ada:9010 Date: 2007-02-06T08:32:07+00:00 List-Id: Markus E Leypold writes: > BTW, you've been discussing (with ... I don't remember) the possibilty > of switching GC off. My idea (even with ML-like languages) was always > to define a subset of the language which the compiler can implement > with a stack only. Does that automatically preclude any access types, unbounded strings, etc., then? That would be quite a limited language. That would simplify GC right off the bat. Maybe it wouldn't be needed at all, right there. > One advantage of that would be that one could start out with code that > requires GC, but is "obviously" correct and then transform in > correctness preserving steps it into code that doesn't require > GC. Both implementations could be tested against each other, at least > as far as their computational function goes, not the real time > capabilities that are perhaps only possessed by the 2nd variant. My reaction is to not trust testing only to gain the measure of confidence needed. You must be able to prove the the equivalence well enough. Also, if the non-GC version was realtime, why wouldn't the first one be? Where is the difference in behaviour? If you have no heap, then wouldn't execution should be equivalently predictable in either case? -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.