LWN.net Logo

MIX - Novell's de Icaza criticizes Microsoft patent deal (LinuxWorld)

MIX - Novell's de Icaza criticizes Microsoft patent deal (LinuxWorld)

Posted Mar 9, 2008 15:19 UTC (Sun) by stevenj (subscriber, #421)
In reply to: MIX - Novell's de Icaza criticizes Microsoft patent deal (LinuxWorld) by drag
Parent article: MIX - Novell's de Icaza criticizes Microsoft patent deal (LinuxWorld)

I don't think that was the poster's point. It's not that people should be writing their applications in C, it's that there are many good languages out there and many strong programmer preferences, and GNOME shouldn't be trying to pick a winner.

Because of this, there is a strong technical argument that libraries (at least, those intended to be widely used) should be written with C interfaces, because lowest-common-denominator C interfaces can be called by essentially every other language whereas interfaces in "modern" languages mostly cannot.

Microsofts CIL promises similar language independence, with a more automated support for OO programming, but currently only within the limited ecosystem of programs that you are willing to run inside an interpreted runtime (CLR).


(Log in to post comments)

MIX - Novell's de Icaza criticizes Microsoft patent deal (LinuxWorld)

Posted Mar 9, 2008 20:16 UTC (Sun) by drag (subscriber, #31333) [Link]

> Because of this, there is a strong technical argument that libraries (at least, those
intended to be widely used) should be written with C interfaces, because
lowest-common-denominator C interfaces can be called by essentially every other language
whereas interfaces in "modern" languages mostly cannot. 


Well I don't have any problem with libraries written in C. It's code that is commonly used in
multiple applications and any sort of memory savings, language compatebility, or performance
is a has the largest amount of impact. Higher up on the application stack C is much less
attractive and it's benefits become more rarefied.

The issue is with *Official* Gnome and Gnome is far more then just system libraries, is it
not? You have browsers, utilities, nautilus, etc etc etc.

The OP is that Gnome should never use anything other then C, in anything it plans on including
in itself, to write anything because that is unfair to other languages. (?)


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds