comp.lang.ada
 help / color / mirror / Atom feed
From: BrianG <me@null.email>
Subject: Re: ada without ada libraries?
Date: Tue, 07 Feb 2012 21:04:27 -0500
Date: 2012-02-07T21:04:27-05:00	[thread overview]
Message-ID: <jgsl7c$ukf$1@dont-email.me> (raw)
In-Reply-To: <eecf117d-e86f-45d0-b6ed-50931273e858@h6g2000yqk.googlegroups.com>

On 02/07/2012 04:14 PM, Patrick wrote:
> Hi Everyone
>
> I just got my compiler set up the way I want it and I am ready for my
> first ada project.
>
> I have spent sometime with lua. Lua's library support is terrible but
> lots of people love the language. Many people just build a rough
> skeleton application in C and call it from lua.
>
> Lua handles all the type checking and much of the logic in this
> arrangement and C is mostly just library code.
>
> Would this same approach seem logical for ada? -Patrick

This might make sense, if you're claiming that Ada's "library support is 
terrible"; else, why would you make this comparison?  It sounds like you 
want to use Ada, but not use the Ada libraries.

If you instead want to use Ada with a library for which you don't have 
an Ada interface, you can build (or look for) a binding to that library. 
  This is done in Ada, not in another language.  See the Ada packages 
Interfaces.*.  Typically, you don't need to program in anything except 
Ada - that way, you get Ada's protection (to the extent possible) in 
with binding, just not within the library itself.

-- 
---
BrianG
000
@[Google's email domain]
.com



  reply	other threads:[~2012-02-08  2:04 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 21:14 ada without ada libraries? Patrick
2012-02-08  2:04 ` BrianG [this message]
2012-02-08  3:11 ` Gautier write-only
2012-02-08  8:35 ` tonyg
2012-02-08  9:10 ` Simon Wright
2012-02-08 12:02 ` Stephen Leake
2012-02-08 13:07   ` Dmitry A. Kazakov
2012-02-08 21:10     ` Patrick
2012-02-08 21:39       ` Gautier write-only
2012-02-09  2:11       ` Shark8
2012-02-09  2:08     ` Shark8
2012-02-09  3:43       ` Jeffrey Carter
2012-02-09  4:17         ` Shark8
2012-02-09 12:26         ` mockturtle
2012-02-09  8:34       ` Dmitry A. Kazakov
2012-02-09  9:55         ` Yannick Duchêne (Hibou57)
2012-02-09 10:45           ` Dmitry A. Kazakov
2012-02-09 11:08             ` Gautier write-only
2012-02-09 13:48               ` Georg Bauhaus
2012-02-09 14:17                 ` Yannick Duchêne (Hibou57)
2012-02-09 14:05               ` Yannick Duchêne (Hibou57)
2012-02-09 16:47               ` Pascal Obry
2012-02-09 17:03                 ` Yannick Duchêne (Hibou57)
2012-02-09 17:08                   ` Yannick Duchêne (Hibou57)
2012-02-09 17:26                   ` Pascal Obry
2012-02-10  0:51                     ` Randy Brukardt
2012-02-09 17:31                   ` Dmitry A. Kazakov
2012-02-09 13:42             ` Yannick Duchêne (Hibou57)
2012-02-09 14:40               ` Dmitry A. Kazakov
2012-02-09 15:50                 ` Yannick Duchêne (Hibou57)
2012-02-09 17:21                   ` Dmitry A. Kazakov
2012-02-09 17:44                     ` Yannick Duchêne (Hibou57)
2012-02-10  0:56                 ` Randy Brukardt
2012-02-10  9:38                   ` Dmitry A. Kazakov
2012-02-14 19:08                 ` Yannick Duchêne (Hibou57)
2012-02-09 13:42             ` Yannick Duchêne (Hibou57)
replies disabled

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