Reflective Support in Spoon
Matthew S. Hamrick
matthew.hamrick at gibson.com
Tue Mar 22 15:33:58 UTC 2005
For most apps, yeah, I would agree, reflection isn't very interesting.
But for security, mobile code, and dynamic deployment of web objects,
reflection is essential. Granted, we're not talking about that sort of
thing in Spoon, but I don't think we should do anything to make it
difficult in the future.
What are your concerns about having reflection? Is it that it makes
the runtime image larger? I don't think that reflection being in the
image makes the VM run slower. As to whether the VM or OMI could be
changed to enhance speed or reduce code size by removing reflection as
a feature is, I believe, difficult to say, but my gut reaction is that
making a VM or OMI that explicitly doesn't support reflection would
create a more complicated design with slower execution and/or a larger
code footprint. Craig's the expert on this topic, so I would defer to
But for security purposes, however, I think reflection is important.
On Mar 22, 2005, at 9:21 AM, Alexandre Bergel wrote:
> I was wondering what is the cost of a reflective support.
> What would be the gain to remove the reflection in spoon ?
> At deployment phase, reflection are not useful anymore. Does anyone
> already though about removing it ?
> spoon mailing list
> spoon at netjam.org
More information about the Spoon