Re: Non-C bindings in GNOME



On 18 Aug 2002, Miguel de Icaza wrote:

> Hello,
> 
> For instance, when producing CLS APIs, you can not use signed bytes
> (sbyte) or the unsigned integer versions.  Or expose two public methods
> or fields that differ only in case or use underscores in the API.
> 
> But for your internal code (or for classes which are not CLS compliant),
> you can do anything you feel like doing (C++ templates, C# boxed value
> types, Lisp macros, Eiffel/C++ multiple inheritance and what not). 
> 

Except the C++ features listed here are not only very common and widely
used but also pretty widely exported as API. 

> So you can think of the CLS subset as a contract that various languages
> can consume and use (along the lines of a CORBA IDL definition for
> example).
> 

Hum, templates give you compile time polymorphism and hence there is no
reason why you can't use template instances just as regular classes. 

> Miguel.
> 

	Sander

	This is the place where all
	the junkies go	
	where time gets fast
	but everything gets slow





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]