comp.lang.ada
 help / color / mirror / Atom feed
From: Warren Gay <ve3wwg@gmail.com>
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)
Date: 2010-03-09T14:49:50+00:00	[thread overview]
Message-ID: <Xns9D366401449ABWarrensBlatherings@188.40.43.213> (raw)
In-Reply-To: kv6vo5d48def3ptdou0r2nndu03nsittp8@4ax.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

John McCabe expounded in news:kv6vo5d48def3ptdou0r2nndu03nsittp8@4ax.com:

> On Thu, 04 Mar 2010 07:22:34 +0100, Hibou57 (Yannick Duch�ne)
> <yannick_duchene@yahoo.fr> wrote:
> 
>>Le Wed, 03 Mar 2010 21:17:12 +0100, John McCabe  
>><john@nospam.assen.demon.co.uk.nospam> 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



  reply	other threads:[~2010-03-09 14:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 16:19 Thinking of using Ada for a job at home. Couple of questions first John McCabe
2010-03-03 18:22 ` Jeffrey R. Carter
2010-03-03 20:09   ` John McCabe
2010-03-03 21:00     ` Simon Wright
2010-03-03 18:58 ` Hibou57 (Yannick Duchêne)
2010-03-03 20:17   ` John McCabe
2010-03-04  6:22     ` Hibou57 (Yannick Duchêne)
2010-03-04 11:39       ` John McCabe
2010-03-09 14:49         ` Warren Gay [this message]
2010-03-09 15:33           ` Jacob Sparre Andersen
2010-03-09 20:22           ` jonathan
2010-03-09 21:57             ` Charmed Snark
2010-03-09 22:54               ` jonathan
2010-03-10 17:46                 ` Charmed Snark
2010-03-10 19:12                   ` jonathan
2010-03-10 20:41                     ` Simon Wright
2010-03-10 21:00                       ` Pascal Obry
2010-03-09 20:32           ` Simon Wright
2010-03-10  6:42           ` J-P. Rosen
2010-03-03 19:17 ` Dmitry A. Kazakov
2010-03-03 20:38   ` John McCabe
2010-03-03 20:56     ` Simon Wright
2010-03-03 21:00       ` John McCabe
2010-03-03 21:10         ` John McCabe
2010-03-04  6:39         ` Hibou57 (Yannick Duchêne)
2010-03-03 21:35       ` tmoran
2010-03-04  6:43         ` Hibou57 (Yannick Duchêne)
2010-03-03 22:20     ` Dmitry A. Kazakov
2010-03-03 19:52 ` Gautier write-only
2010-03-03 20:57   ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox