Results 1 to 4 of 4

Thread: ICE for C# -- Cutting down development time

  1. #1
    rdilipk is offline Registered User
    Name: Dilip Ranganathan
    Organization: 3M
    Project: None
    Join Date
    Jul 2003
    Location
    Minnesota, USA
    Posts
    35

    ICE for C# -- Cutting down development time

    Hello ICE Gurus

    First I thought of emailing this to Michi (as I normally do :-)) but then realized the entire ICE gang might be able to think of some cool uses for this. Permit me to briefly mention something about this post.

    This particular project has been around for a long time -- Its called IKVM.NET.
    <project_info>
    The author (Jeroen Frijters) maintains a Weblog
    The project is available over at SourceForge
    </project_info>

    Its basically a Java VM for .NET. Its hard to put what it does in one sentence but I believe it takes a .JAR or a .CLASS file and maps the Java bytecode to equivalent .NET CIL instructions *dynamically*. I think thats the 10,000 foot view.

    Now that Michi has publicly stated that he is working on implementing ICE natively in C#, I was wondering if you guys might take up some elements of what you already have in ICE for Java and simply create a .NET assembly out of them using IKVM.NET.

    That might help reduce development time. I mean, exactly what part of the various ICE modules you guys decide to use for this purpose is left to you.

    Ultimately whether you use it at all, I just thought I'd point it out anyway.

    Let me know what you guys think.

    --Dilip

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055

    Re: ICE for C# -- Cutting down development time

    Originally posted by rdilipk

    Now that Michi has publicly stated that he is working on implementing ICE natively in C#, I was wondering if you guys might take up some elements of what you already have in ICE for Java and simply create a .NET assembly out of them using IKVM.NET.
    Hi Dilip,

    we decided early on that we wanted a native implementation in C#, just as we have a native implementation in Java. (BTW, both Ice for Java and Ice for C# could also have been implemented by just bolting a language mapping on top of the C++ run-time libraries.) A native implementation has a few advantages, especially when it comes to building and deploying Ice: people are not dependent on pre-compiled binary components and, if they want to build Ice from scratch, they don't need a second development environment for another language.

    Cheers,

    Michi.

  3. #3
    rdilipk is offline Registered User
    Name: Dilip Ranganathan
    Organization: 3M
    Project: None
    Join Date
    Jul 2003
    Location
    Minnesota, USA
    Posts
    35
    we decided early on that we wanted a native implementation in C#, just as we have a native implementation in Java
    Michi

    I understand completely. I guess I didn't communicate properly the power of IKVM.NET. I *think* that java bytecodes are mapped to their *equivalent* MSIL instructions and an assembly created from that. If you reverse engineer the assembly using popular tools like Reflector (http://www.aisto.com/roeder/dotnet/) you'd get some amazingly concise C# code that would be almost identical to what you would've come up with had you coded from scratch.

    I may be way off-base here -- so feel free to correct me in your usual merciless style!

    --Dilip

  4. #4
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Hmmm... Reading through some of the doc, it appears that things aren't quite complete yet. There are issues around finalizers and weak references, for example.

    Regardless, there is also the issue of basing a commercial product on an alpha version of a single-person open source project. I'm nervous about having a crucial dependency in Ice on a tool that hasn't been established all that well yet...

    I'll have a closer look anyway though

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 08-19-2009, 01:21 PM
  2. ICE vs. XPCOM for application development?
    By yamokosk in forum Help Center
    Replies: 4
    Last Post: 09-21-2006, 03:39 PM
  3. New features in development for Ice 1.6
    By mes in forum Announcements
    Replies: 0
    Last Post: 09-10-2004, 06:28 PM
  4. Cross development
    By ahartveld in forum Help Center
    Replies: 0
    Last Post: 01-08-2004, 11:44 AM
  5. development roadmap
    By tom in forum Comments
    Replies: 2
    Last Post: 09-26-2003, 03:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •