Slashdot Mirror


Running .NET on FreeBSD?

Dan writes "Interesting read on running .NET on FreeBSD. Chip Morton thinks this could be very beneficial to FreeBSD or any OS to have a fully functional .NET CLR (Common Language Runtime) environment. With over 9,000 files, and including some 1300 public classes to pore through, the Shared Source CLI (Common Language Infrastructure) can teach you quite a bit about the internal workings of the CLR. This relevant MSDN article discusses some of the things you can learn from the source code facsimile of the CLR, like how JIT compilation works. One thing that the CLI specification does not mandate is that managed code has to run on Windows. To prove this point, Microsoft built the Shared Source CLI to compile and run on FreeBSD Unix as well as Windows XP."

4 of 36 comments (clear)

  1. There's already a Unix like JVM out there by DrSkwid · · Score: 2, Informative

    Lucent made a product called Inferno

    http://www.vitanuova.com/inferno

    it virtualizes the whole of the OS, not just a few APIs

    it had a graphics context as well

    it hijacks the hosted environment, running in a window or runs natively on hardware either way they are the same.

    Socket programming, pah who needs it, all we need are file descriptors and auto-selecting files

    it's all there

    the source code is only available for a fee

    it's really what Java & .NET should be but they aren't and it is

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  2. Re:There has got to be a catch.. by rplacd · · Score: 2, Informative

    Mono works on FreeBSD-i386. I've been using it off and on for several months.

    The only real "catch" is the Windows.Forms libraries (this affects mono on Linux as well). You basically need Wine or something for them. Otherwise, for GUI stuff, you can use gtk#.

  3. Re:Old News by glenstar · · Score: 2, Informative

    Unfortunately...no. And to add insult to injury, I found it impossible to actually build Rotor on FreeBSD (most likely something with my system configuration). However, Mono compiles flawlessly, so if you want to go that route it works very well.

  4. Re:There has got to be a catch.. by Arandir · · Score: 2, Informative

    what Java tried, and never quite achieved

    And of course, .NET hasn't achieved it either. Same overblown hype different framework.

    --
    A Government Is a Body of People, Usually Notably Ungoverned