From: Ivan Levashew <octagram@bluebottle.com>
Subject: Re: speed of generic code in Ada (vs Java)
Date: Sun, 18 May 2008 06:31:03 +0700
Date: 2008-05-18T06:31:03+07:00 [thread overview]
Message-ID: <g0np3k$pgv$1@registered.motzarella.org> (raw)
In-Reply-To:
Gautier пишет:
> AFAIK, the GNAT compiler always expands generics like macros and never
> shares, so you have something as fast as a copy-paste-modify non-generic
> code.
http://www.adacore.com/2007/12/29/NF-62-F514-002-gnat/
It is now possible to declare generic subprogram units as imported, so
that their bodies are written in a language for which pragma Import is
supported. This provides a limited form of generic sharing, where
multiple instances use the same compiled body.
--
If you want to get to the top, you have to start at the bottom
next prev parent reply other threads:[~2008-05-17 23:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 17:31 speed of generic code in Ada (vs Java) jhc0033
2008-05-16 18:12 ` jimmaureenrogers
2008-05-16 18:54 ` Ludovic Brenta
2008-05-17 1:50 ` jhc0033
2008-05-17 2:04 ` Georg Bauhaus
2008-05-17 6:32 ` Niklas Holsti
2008-05-17 8:07 ` Ludovic Brenta
2008-05-17 21:37 ` Gautier
2008-05-17 23:31 ` Ivan Levashew [this message]
2008-05-22 22:01 ` Florian Weimer
2008-05-21 8:12 ` Graham
2008-05-21 15:41 ` Robert A Duff
2008-05-22 0:06 ` Randy Brukardt
2008-05-23 22:55 ` Robert A Duff
2008-05-24 0:16 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox