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,575dfcf6488662de,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Thomas Lotze Newsgroups: comp.lang.ada Subject: Libraries written in Ada Date: Mon, 22 Nov 2004 12:32:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de J7W9FgD8CQs6mHKFdEVKZwhy+fl21QOCb2421T8bsuTM7uOS64 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Xref: g2news1.google.com comp.lang.ada:6322 Date: 2004-11-22T12:32:39+01:00 List-Id: Hi, I'm thinking about developing a library implementing a document model and file format, and it seems Ada is a good choice of language for that. I wonder, however, whether Ada's runtime environment doesn't count as a con there. The problem is not that it has to be initialized when using the library from another language, e.g. C. Many libraries need some initialization. But suppose I use two libs written in Ada in the same C program - will there be problems with the runtime environment? I don't think there should, just asking for your experience to be sure. (I also considered OCaml, and it's a problem there. But linking works differently with OCaml so that each lib effectively brings it's own runtime environment.) Can the runtime environment and its initialization be omitted completely by dropping runtime checks on variable bounds etc? -- Viele Gr��e, Thomas