IDL interfaces

Kragen Sitaker kragen@pobox.com
Thu, 20 Jul 2000 19:17:20 -0400 (EDT)


Robert Wittams writes:
> > IMO, when you begin to need a code generator, it's a very strong sign
> > that your underlying interface is too complicated.  
> 
> Hm - a compiler is a code generator. They were made up because assembly 
> became too cumbersome and complex for large projects.. I don't think a 
> code generator is inherently evil...

I was thinking of stub generators, which generate code which then must
be edited to do what you want.  I was thinking Jonathan's generator was
of this type.  I suppose I should look instead of assuming.  :)

> Think of it as a message generator. The messages just happen to be encoded 
> in registers, etc...

Sure.

> Offtopic:
> Re: STL, I prefer Haskell for generic programming than C++  ;-)
> The main problem with generic programming for me is that you 
> really *need* to spend the 1 month on an algorithm to be 
> convinced it is generic enough... but I digress.

Well, we have Stepanov to do that for us.  ;)

-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we ourselves        
possess.
                -- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]