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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-08-22 22:11:00 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.bc.home.com.POSTED!not-for-mail From: kaz@ashi.footprints.net (Kaz Kylheku) Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Subject: Re: Subtle Bugs, kudos Ada (was How Ada ...Red Code ...) References: <3B6555ED.9B0B0420@sneakemail.com> <87n15lxzzv.fsf@deneb.enyo.de> <3B672322.B5EA1B66@home.com> <4a885870.0108112341.7ce02ac0@posting.google.com> <3B834E5D.B0D26AB1@adaworks.com> <9lvsic$bet9s$1@ID-9852.news.dfncis.de> <9m0193$grs$1@bird.wu-wien.ac.at> <3B83F042.4CFB073D@home.com> <9m1skf$8q81@news.cis.okstate.edu> Organization: Psycho-Neurotic Institute for the Very, Very Nervous Reply-To: kaz@ashi.footprints.net User-Agent: slrn/0.9.6.3 (Linux) Message-ID: Date: Thu, 23 Aug 2001 05:11:00 GMT NNTP-Posting-Host: 24.68.85.82 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.bc.home.com 998543460 24.68.85.82 (Wed, 22 Aug 2001 22:11:00 PDT) NNTP-Posting-Date: Wed, 22 Aug 2001 22:11:00 PDT Xref: archiver1.google.com comp.lang.ada:12307 comp.lang.c:76316 comp.lang.c++:85047 Date: 2001-08-23T05:11:00+00:00 List-Id: In article <9m1skf$8q81@news.cis.okstate.edu>, David Starner wrote: >On Wed, 22 Aug 2001 20:34:27 GMT, Kaz Kylheku wrote: >> So we could say a number of things besides ``sox is written in the >> wrong programming language''. > >Go ahead, blame the programmer. But don't forget that this is a real >program, in real use. I know what sox is, I use it. The Ada and Lisp communities haven't decided to develop a replacement for sox so far, so I'll just have to use the crummy C program for now with its broken a-law conversion and all. Where the culture is at now is that a large chunk of the useful programs that others seem to be willing to share with me are written in C (or some platform-specific dialects of it). >> If I ported the essence of the algorithm to Common Lisp (for instance), >> then it will just work. > >With the restriction of being able to output the music to speakers >in real-time on a 486 or Pentium? There are Lisp compilers that produce machine code (e.g. CMUCL http:/www.cons.org/cmucl). Performance-critical sections of code can be tuned with various declarations to help speed things up. It's hard to make concrete performance statements about abstract languages! If you make your selection of hardware slow and outdated enough, I will eventually have to use assembly language to meet the performance requirement, and at some point, I won't be able to meet it at all. If the only way to meet a performance requirement is to use a stone age programming language, or even assembly language, then by all means use it. That doesn't justify the use of these languages for every single programming task, or in fact for any part of a program except a few performance hotspots.