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=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!news4.google.com!news3.google.com!news.glorb.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? Date: Wed, 24 Jan 2007 14:52:30 +0100 Message-ID: <51p6jhF1jmorsU1@mid.individual.net> References: <1169531612.200010.153120@38g2000cwa.googlegroups.com> <51m6rqF1kqpr0U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net cn6KZ8wkbNFYhgBKRn7aNg9I333iEoEEEvtGMhSMtxp/v8PE4= User-Agent: KNode/0.10.4 Xref: g2news2.google.com comp.lang.ada:8482 Date: 2007-01-24T14:52:30+01:00 List-Id: Dr. Adrian Wrigley wrote: >> 2) There's no good, easy, almost automatic C binding generator, although >> the language has well defined mechanisms for C interfacing. Yes, there >> was some generator. No, it is not trivial at present to get it running in >> my experience. There's some effort to have Ada integrated into SWIG; this >> is promising and IMHO an important selling point to newcomers. > > 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? Ah, that sounds even better... One can dream...