Lists Home |
Date Index |
On Wednesday, October 23, 2002, at 11:39 AM, Alaric B. Snell wrote:
> With Java, as long as you have a Java interface declared, you can at
> dispense with the stubs by using a Proxy.
> The Proxy stuff in Java rocks my world. I used it to define my own
> protocol, for example.
Yeah but it breaks Blanchard's law of code generation. Dynamic proxies
basically construct classes and load them on the fly by generating code
to forward interface calls to implementations. So the system relies on
code generation (binary code generation in this case) to do its thing.
Which implies that Java isn't really powerful enough to do whats needed
as it exists today and you're already scraping up against the wall.