[Mono-list] RE: Mono-list digest, Vol 1 #6 - 20 msgs

Stefan Arentz stefan.arentz@soze.com
Tue, 10 Jul 2001 23:21:10 +0200


On Tue, Jul 10, 2001 at 05:21:05PM -0400, Michael  Lambert wrote:
> > 
> > From: Bob Smith <bob@thestuff.net>
> > Subject: [Mono-list] binding
> > 
> > I'm looking at implementing the Math class and I was wondering would it
> > be better to implement it from scratch in C#, or bind it to standard C
> > math functions. Each way is just as portable as the other, both I think
> > will be just about the same performance, the C binding requires less
> > work, and the C# way would probably be cleaner. What is the general
> > consensus about binding vs codeing when it comes to making use of
> > standard C libs?
> > 
> > Bob
> > 
> 
> Bind it to standard C (My vote).

That defeats one of the great features of an interpreted (jit-compiled)
system; portability.

  Stefan