comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: Self-modifying code
Date: Mon, 27 Jul 2015 13:29:37 +0200
Date: 2015-07-27T13:29:37+02:00	[thread overview]
Message-ID: <87r3nt96u6.fsf@adaheads.sparre-andersen.dk> (raw)
In-Reply-To: eb2440ca-06d4-4192-bdca-0444c2953eb9@googlegroups.com

ferrariv65@gmail.com writes:

> More in detail: is it possible compile some code at runtime and inject
> it into the running program, on the fly? The ability to remove that
> code after it is no longer needed would also be important, to prevent
> hogging up the system memory which may result.

Yes.  AdaCore has a detailed example of how you can do it with GNAT in
their Ada Gems series.

Greetings,

Jacob
-- 
»Great minds discuss ideas,
 Average minds discuss events,
 Small minds discuss people.«


      parent reply	other threads:[~2015-07-27 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-12  1:57 Self-modifying code ferrariv65
2015-07-12  3:24 ` David Botton
2015-07-12  4:38 ` Paul Rubin
2015-07-12  5:09   ` David Botton
2015-07-12  5:53     ` Paul Rubin
2015-07-12  9:10       ` Georg Bauhaus
2015-07-12 11:54 ` anon
2015-07-12 15:40   ` David Botton
2015-07-27 11:29 ` Jacob Sparre Andersen [this message]
replies disabled

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