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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19140af19dfa6e01 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-17 07:09:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: j-anthony@rcn.com (Jon S. Anthony) Newsgroups: comp.lang.ada Subject: Re: Ada 0Y plans for garbage collection? Date: 17 Sep 2003 10:14:32 -0400 Sender: jsa@rigel.goldenthreadtech.com Message-ID: References: <1127954.kcBZz6amlf@linux1.krischik.com> <3F60E747.40805@attbi.com> <1557617.vUiuI5kIPQ@linux1.krischik.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: UmFuZG9tSVZjobQUkhlThMe2E7o+EP99SejiISDdalfFvsQU3AGbr6mVES0tJ2IH X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 17 Sep 2003 14:08:15 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:42616 Date: 2003-09-17T14:08:15+00:00 List-Id: "Jeffrey Creem" writes: > "Berend de Boer" wrote in message > news:ur82gs8zd.fsf@xsol.com... > >> > > And Linux was talking about a specific case: max speed. Perhaps he was > > correct. That doesn't imply gc is bad for every other app for which > > speed isn't that all important. > > > > You know..some day this might be true. I have been hearing the "computers > are so fast it does not matter anymore" story for at least 10 years now... Actually, wrt to dynamic languages (aside: Java is still a static language despite the GC) this _has_ been true for at least 8 years now. People still stuck on static languages for the sort of reasons you mention are the exact current analogue of assembly programmers to then "hll" advocates. In general they were wrong and proven to be so. Similarly, in general dynamic languages can and should be used for most applications today - for very similar reasons: 1) They are far more expressive and thus far more productive. 2) Because they are more expressive, they can be closer to the domain semantics of an application and thus will generally be more maintainable. 3) They are as fast and often faster than the static alternatives. People who talk about how GC "can't" be as fast as programmers hacking new/free style allocation are just like assembly hackers saying optimizing compilers will never produce code as fast as hand crafted assembly. This is just plain wrong - in both cases. Sure, there are examples where both claims hold, but in general the exact opposite is true - the optimizing compiler will beat the assembly hack and the modern generational GC will blow away the new/free/controlled_type hack. > I am not going to believe it. Actually you will never believe it, because > Everything (and yes I mean everything) still runs slower than I'd > like. The software that is running slower is doing vastly more than before. Sometimes it even does something more useful, though it often seems that it is just more poorly rendered. And as long as SW (function/bloat/creeping featurism) holds sway things will continue to appear "slower than wanted". /Jon