[Gtk-sharp-list] Why does gtk sharp still use mcs (.NET 1.1)

Philip Van Hoof spam at pvanhoof.be
Thu Feb 7 10:01:08 EST 2008


On Thu, 2008-02-07 at 15:02 +0100, Anders Rune Jensen wrote:
> Hi
> 
> I stumpled into the following issue today:
> 
> https://bugzilla.novell.com/show_bug.cgi?id=359561
> 
> So a few questions is in place I guess. Why doesn't gtk sharp use
> generics? And is there any effort to convert it? Furthermore how much
> of the code is generated and how much is written by hand?

pvanhoof at schtrumpf:~/repos/mono/gtk-sharp$  cat */*.custom | wc -l 
11540
pvanhoof at schtrumpf:~/repos/mono/gtk-sharp$ 

Note about Generics that few of the GObject code that is being wrapped
with what Gapi generates, is very 'generic-aware' written imo.

Something that I would love to see support generics is GtkTreeModel and
its GetValue method. I'm atm not sure how doable this would be.


Less related:

If you want to see a GObject using project that aims at providing a
higher language that does support generics (or something that looks like
generics): take a look at Vala. It has a few types that do generics in
its Gee library (like, it has a Hashtable and a few List types).


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be



More information about the Gtk-sharp-list mailing list