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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.101.233 with SMTP id fj9mr11628823obb.20.1432318605021; Fri, 22 May 2015 11:16:45 -0700 (PDT) X-Received: by 10.140.40.81 with SMTP id w75mr156938qgw.37.1432318604988; Fri, 22 May 2015 11:16:44 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!j8no8005337igd.0!news-out.google.com!k20ni44841qgd.0!nntp.google.com!z60no3254709qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 22 May 2015 11:16:44 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.237.112.50; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 105.237.112.50 References: <127b004d-2163-477b-9209-49d30d2da5e1@googlegroups.com> <87iobk3a4f.fsf@theworld.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Build language with weak typing, then add scaffolding later to strengthen it? From: jan.de.kruyf@gmail.com Injection-Date: Fri, 22 May 2015 18:16:45 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:25958 Date: 2015-05-22T11:16:44-07:00 List-Id: On Friday, May 22, 2015 at 7:47:27 PM UTC+2, Simon Clubley wrote: > > > >> I don't agree. C is a low level language, and good at that. > > > > I say Ada is far superior to C for doing low-level programming. > > Address clauses, representation clauses, packed arrays, ... > > > > Unfortunately, C has one major advantage over Ada which is why it's > used for this kind of thing. Practically every platform out there has > a freely available C compiler which supports the platform as a target > so you can be sure you don't have to rewrite your C code in another > language when you want to port your code to a new environment. > > Simon. > > -- There is more to it than that Simon. I am looking at the moment at Linux Kernel code in order to write a module at least partly in Ada. What I find is that (based on C) the Kernel writers have developed their own idiom that interfaces extremely badly to any language of the Algol family, of which Ada is one. The inummerable #defines for inline routines are an example. (And it is proven that those inlines slow the system down by the way, but that Linus did not know when he started the bad habit). So basically its like writing your next novel in German. It might be a superior language ;) but it takes a real hobbyist to do it. So besides any compilers, or the quality (or the lack thereof) of any computer language, there is a deeply cultural aspect involved. j.