From: sbelmont700@gmail.com
Subject: Re: Generics vs. O-O?
Date: Thu, 1 Aug 2013 13:14:48 -0700 (PDT)
Date: 2013-08-01T13:14:48-07:00 [thread overview]
Message-ID: <04d5c0d4-8f2f-4308-aef0-13bc7b4595c8@googlegroups.com> (raw)
In-Reply-To: <f5f74e31-52fd-465f-b16a-3b5beff97c69@googlegroups.com>
On Thursday, August 1, 2013 3:52:42 PM UTC-4, Eryndlia Mavourneen wrote:
>
> ...the memory overhead for non-shared generic code could be substantial...
>
I have occasion to deal with a lot of "clever" code that fakes OOP using generic packages, i.e. where each instantiation is an object and generic object parameters serve as initializers, and the executable sizes are *tremendous* (presumably the compiler duplicates the code for every subprogram for every instantiation). As a general rule, I stick to type parameters.
-sb
next prev parent reply other threads:[~2013-08-01 20:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 14:45 Generics vs. O-O? Eryndlia Mavourneen
2013-08-01 19:24 ` Dmitry A. Kazakov
2013-08-01 19:52 ` Eryndlia Mavourneen
2013-08-01 20:14 ` sbelmont700 [this message]
2013-08-01 23:35 ` Yannick Duchêne (Hibou57)
2013-08-01 20:10 ` optikos
2013-08-01 20:26 ` Dmitry A. Kazakov
2013-08-01 20:35 ` Jeffrey Carter
2013-08-01 21:22 ` Bill Findlay
2013-08-01 23:38 ` Yannick Duchêne (Hibou57)
2013-08-01 22:20 ` Georg Bauhaus
2013-08-02 8:11 ` Dmitry A. Kazakov
2013-08-02 9:50 ` Georg Bauhaus
2013-08-02 14:09 ` Dmitry A. Kazakov
2013-08-02 15:08 ` Shark8
2013-08-02 15:36 ` Alan Jump
2013-08-02 17:00 ` Jeffrey Carter
2013-08-02 17:51 ` Dmitry A. Kazakov
2013-08-02 18:06 ` Alan Jump
2013-08-02 19:08 ` Dmitry A. Kazakov
2013-08-02 16:15 ` Dmitry A. Kazakov
2013-08-03 0:04 ` Yannick Duchêne (Hibou57)
2013-08-03 7:35 ` Georg Bauhaus
2013-08-03 8:57 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox