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.1 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c98f618755b0ddcc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Warren Gay Newsgroups: comp.lang.ada Subject: Re: Thinking of using Ada for a job at home. Couple of questions first. Date: Tue, 9 Mar 2010 14:49:50 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <6ggto5p3g2p58839gdsut6idb2l621nv2c@4ax.com> Injection-Date: Tue, 9 Mar 2010 14:49:50 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="10977"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EThZBhiiU9AxUPa1wTYVe+CX5MEhyn/E=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:0wCfr9vKZeULzDvy4KS6FqFNn0I= Xref: g2news1.google.com comp.lang.ada:9489 Date: 2010-03-09T14:49:50+00:00 List-Id: John McCabe expounded in news:kv6vo5d48def3ptdou0r2nndu03nsittp8@4ax.com: > On Thu, 04 Mar 2010 07:22:34 +0100, Hibou57 (Yannick Duch�ne) > wrote: > >>Le Wed, 03 Mar 2010 21:17:12 +0100, John McCabe >> a �crit: >>> I've found a library >>> called libjdkmidi that, if it would look easier to bind to than direct >>> to Win32's mmsystem functions, might be worth doing. >>Keep in mind it's a C++ library, not Ada > > Of course, as otherwise I wouldn't need to bind to it! This is the one main issue that made me give up on Ada a few years back. It seemed that every project that I wanted to do, required me to create a "binding" for this and another for that. Sing "It's a C/C++ world after all". But I miss designing in Ada, to be sure. So I keep coming back to the same problem: * How can this be solved? One approach would be open sourced "binding" projects for the platforms of choice. I started APQ for example, to scratch just one itch. But binding projects are tedious. Another approach might be to create a "binding translator". Feed a C/C++ preprocessed output into the translator and crank out some ugly but functional package(s). The later approach would help on the portability front. Then if I have a project that must run on almost any POSIX platform, then the make process can run the translator on the appropriate "files" and produce a local platform specific Ada binding. This approach is probably naive, but I can't help wish for it. Warren