# Wednesday, June 19, 2002
« Current Status | Main | No Title »

It'll be a while before the code becomes available in any structured format, but for the time being I'll post a snapshot every once in a while. I haven't decided on a license yet, any thoughts on that topic are appreciated.

Wednesday, June 19, 2002 2:36:15 PM (W. Europe Daylight Time, UTC+02:00)  #    Comments [3]
Wednesday, June 19, 2002 10:59:41 AM (W. Europe Daylight Time, UTC+02:00)

This is something I've wanted to see for as long as I've known about .NET and Mono. It's such a compelling idea that I'm amazed nobody tried it before. I won't have time to contribute any code but I will try to follow the project as best I can and (where I think it helpful) contribute suggestions and comments.

One thing I was wondering: Do you have any plans to do any "ahead-of-time" version of this (a la jilc maybe? perhaps you could cooperate with those guys?). I think it would be great to make Java a "first class" .NET language (with an effectively two-pass compiler) instead of something which requires special runtime support. There are many complications to that idea too: how does Java code access a *property* (as opposed to a field) of a .NET object? When calling a .NET method how do we know what exceptions can be thrown? For that matter how do we make the Java compiler aware of the *existence* of .NET classes...

If it could be done though, I think the rewards would be great.

Wednesday, June 19, 2002 4:47:56 PM (W. Europe Daylight Time, UTC+02:00)

Just wanted to point out that internally (ie. in the IL code) the .NET framework uses get_<PropertyName>()/set_<PropertyName>(<PropertyType> value) for getting/setting properties. This same naming scheme is used in .NET C++ as well.
Thursday, June 20, 2002 1:48:04 PM (W. Europe Daylight Time, UTC+02:00)

Yes, I do plan on also creating an ahead-of-time version, in fact, the current code also spits out an executable after it finishes running the Java code. I use this executable mainly for debugging, but it runs just fine.
As Rich pointed out, properties are no problem, just use the get_ & set_ methods directly.
Comments are closed.