dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]Hello from pnetC


From: Gopal V
Subject: Re: [DotGNU]Hello from pnetC
Date: Thu, 15 Aug 2002 15:12:16 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Rhys Weatherley wrote:

> We have a duty to GNU to stick to standards wherever possible.
> A user who writes a C application with cscc should still be
> able to compile it with gcc.  The harder we make it to call
> out, the more portable their code will be.

I hear ya ... I think that is a valid reason to use the __invoke__
syntax ..

> "String.Equals" won't work.  A "char *" string in C is a pointer
> to a '\0'-terminated array of 8-bit integers.  Zillions of lines
> of C code depend upon this behaviour.  A "String" in C# is an
> object that contains an array of 16-bit Unicode characters.  They
> aren't compatible.

PtrToStringAnsi .... Just was thinking of that ...

But I guess using/recompiling most of the GNU libc code might be
the better/easier idea ;-)

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]