[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: library representation (was Re: fundamental design issues)

This page is part of the web mail archives of SRFI 83 from before July 7th, 2015. The new archives for SRFI 83 contain all messages, not just those from before July 7th, 2015.

Ray Blaak scripsit:

> The Gnu Ada system has essentially this approach, and it works well 
> enough, but Ada does have the advantage (for library implementors at 
> least) that there is a separation of "interfaces" from "implementation" 
> files so compiling interfaces on the fly is radically cheaper then 
> compiling entire implementations on the fly.

In fact, attempting to compile an interface file in GNU Ada simply syntax
checks it.  When compiling an implementation, all interfaces used by it,
including its own (export) interface, must be available in source form.

The compiler maintains the last-modified timestamp of both interface
and implementation sources in association with the compiled output,
so that recompilation will be suppressed if nothing has changed.

One Word to write them all,             John Cowan <jcowan@xxxxxxxxxxxxxxxxx>
  One Access to find them,              http://www.reutershealth.com
One Excel to count them all,            http://www.ccil.org/~cowan
  And thus to Windows bind them.                --Mike Champion