From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Parameterless generic instance in place of opaque type instance
Date: Sun, 28 Jul 2013 10:24:32 +0200
Date: 2013-07-28T10:24:32+02:00 [thread overview]
Message-ID: <op.w0xay6tpule2fv@cardamome> (raw)
In-Reply-To: kt2gu9$sje$1@dont-email.me
Le Sun, 28 Jul 2013 09:30:18 +0200, J-P. Rosen <rosen@adalog.fr> a écrit:
> Le 28/07/2013 07:49, Yannick Duchêne (Hibou57) a écrit :
>> For these types, a parameterless generic instance may be enough. I hope
>> most compilers are clever enough to not duplicate machine code for each
>> of these instances, and just duplicate their data (valid or invalid
>> assumption?).
> This is a basic design pattern of HOOD (and the main one in early
> versions). Since HOOD is based on abstract state machines, it
> represented each machine with a package, and the package was made
> generic if you wanted several identical ASM.
Thanks for the notice Jean‑Pierre! (also reminds me I should have a deep
and serious look a future day, at that PDF I have about HOOD)
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2013-07-28 8:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 5:49 Parameterless generic instance in place of opaque type instance Yannick Duchêne (Hibou57)
2013-07-28 6:36 ` Yannick Duchêne (Hibou57)
2013-07-28 7:02 ` Yannick Duchêne (Hibou57)
2013-07-28 7:26 ` Yannick Duchêne (Hibou57)
2013-07-28 7:30 ` J-P. Rosen
2013-07-28 8:24 ` Yannick Duchêne (Hibou57) [this message]
2013-07-28 18:08 ` Shark8
2013-07-28 19:47 ` Yannick Duchêne (Hibou57)
2013-07-28 20:58 ` Shark8
2013-07-28 22:27 ` Yannick Duchêne (Hibou57)
2013-07-28 21:15 ` J-P. Rosen
2013-07-28 22:23 ` Shark8
2013-07-28 14:52 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox