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!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 24 Jan 2007 13:25:18 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Wed, 24 Jan 2007 13:25:19 -0600 NNTP-Posting-Host: 67.164.83.70 X-Trace: sv3-UMtDnzMvtDYqXUMfvQ/WgobSvbUYuRVkPZObLbyBN70AL1vVwjrEA370ZuUEPPYPC5y1Nn96nuRwqFp!XpUvmU54ylLFHrvs9Gwr0T92UU79NCz2mBEyWMaahdE9fRdnTy7Qsj4VSHtdyxjchRnt545PFHSg!F0CMaEgqIfx4Lg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:8503 Date: 2007-01-24T13:25:19-06:00 List-Id: > I think this is critical. Why can't we just say: > > with stdio; > > pragma import (C, stdio, "stdio.h"); > > and be able to get structs, functions, constants, variables from C in > an obvious and reasonably reliable way? To some extent one can do this with APIs that come with typelibs. But having recently made an Ada binding to the Google Earth API, I observe that the time spent finding out what the various calls *actually* do vs what the documentation indicates they do, takes much more time than the typing of a bunch of pragma imports etc.