Slashdot Mirror


Mono's MCS Compiles Itself On Linux

thing12 writes "On Thursday Paolo Molaro announced that he had managed to build the MCS C# compiler using MCS. This is a big step forward for Mono, as it means that Mono is almost a self hosting environment."

11 of 215 comments (clear)

  1. RMS wont be too happy by gokulpod · · Score: 2, Interesting

    According to what previous articles said, I can guess RMS may not be too happy with this. Any idea, what happened to the election for Gnome Board. RMS was fighting for it in order to counter the Mono threat. Poor guy already had his hands full of Microsoft when this comes along.

    --
    My mom never taught me to sign.
  2. Re:Self compiling and newbie Slashdot readers by Anarchofascist · · Score: 2, Interesting
    I don't understand much about technology or Linux... I think Slashdot should try to adapt more to the newbie instead of only to the veteran.

    It's news for nerds. News for newbies is here.

    I'll answer your specific question anyway:

    Self-compiling is an easily-verifyable milestone in a compiler's development. It was first achieved in 1973 when N. Wirth wrote a Pascal compiler in Pascal and hand-compiled it, then ran the hand-compiled compiler on itself.
    --
    Once more unto the breach, dear friends, once more, Or close the wall up with our American dead!
  3. Great News by nervlord1 · · Score: 2, Interesting

    C# is an incredibly good laungage

    I'm far from a microsoft fan, my entire career depends on my unix admin skills, but being a dabbeler in programming (mostly procedual stuff) has really opened my eyes on programming in general, and c# is an EXCELLENT object oreintated language, as soon as i picked up a little c#, object oreintation just started to make sense, i had difficulty with it before in c++ but now the peices fall into place.
    Combine this with the excellent garbage collector features, and EXTREMLY easy to use GUI designer (just as easy as visual basic) and ability to import code from other languages and use it combines to make C# a great language, I for one am extremly happy gnome is supporting it and hope you all give it a try. Tell me what you think.

    Anyone in the perth area is welcome to email me(arevill@bigpond.net.au) and ill give you a little tour :)

    --
    Microsoft IIS is to webserving as KFC is to healthy eating
    1. Re:Great News by seizer · · Score: 2, Interesting

      Do you know WHY it's an "incredibly good language"? They've ripped off Java to an astonishing extent. The only thing they have that Java doesn't really, is a pretty flashy IDE with said GUI builder (though I hear JBuilder is pretty good).

      Honestly. Compare the APIs. Tell me MS didn't model C# on Java.

  4. Re:Almost but not quite... by John_Booty · · Score: 3, Interesting

    That's sort of like saying "well, the Wright brothers' airplane only few for a minute or so. Close, but still more work is needed before this is really an exciting milestone"

    It's a heck of a milestone. Of course it's not useful yet, but they're not claiming it is.

    --

    OtakuBooty.com: Smart, funny, sexy nerds.
  5. Re:Sound good, until... by GigsVT · · Score: 2, Interesting

    What if Microsoft is trojaning all our code?

    We will never know, now will we? What's the good of open source that is built off of completely untrustworthy closed source?

    They set up us the logic bomb!

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
  6. Re:a couple of years work ahead by Anonymous Coward · · Score: 1, Interesting

    I still think it's a shame Mono has gone off doing C# when the analogous project based on Java would already be much further along

    I think it's a shame that do-nothing armchair language critiques who do not contribute to free software can air their useless uninformed opinions and pine about "what could have been" only if someone else did the work.
    There are many open source Java vitrual machine and library projects - stop bitching and moaning and start contributing to one of them, you lazy bastard!

  7. Poison .NET by steveoc · · Score: 1, Interesting
    Maybe we should do a Microsoft and simply poison the .NET infrastructure like they did with java. The plan:
    1. Develop Mono, make it 100% .NET compatible
    2. Backport it to Windows
    3. Add some nifty new features to Win-MONO, so everyone wants a copy of this enhanced-.NET thing.
    4. Start dumping large quantities of Win-MONO enhancements on the world, till there are a thousand million billion versions.
    5. People associate .NET with Incompatible Mess.
    6. People move away from .NET
  8. Re:a couple of years work ahead by Anonymous Coward · · Score: 1, Interesting

    I'm sorry, C# seems like it will be better than Java.

    From the beginning C# has been made to be natively compiled if desired and that means speed. Even GCJ generates large and slow code (compared to say, O'Caml).

    In my own testing I've found O'Caml to be not much slower than C, even with array bounds checking turned on, that's quite impressive. I've been programming in functional languages for some time now and I haven't decided if I like them better than C-like imperative languages. To me functional languages cater to the computer (or algorithm) and not the programmer. I think both styles are good for certain things but generally an imperative language is easier to program in for non-math/algorithm experts.

    If C# can have the speed of O'Caml but with an imperative, C-like programming style, then I think we'll have a winner.

    My perfect language would be a type-safe, bounds-safe, inferencing, C-like language with OO extensions (but not go off the deep end of OO like C++ did). And it should create programs that run at the same speed as C (or real close). In other words, I want O'Caml with a C-like syntax.

  9. Re:a word for the ignorant by LinuxHam · · Score: 3, Interesting

    If Microsoft's next version of Office is for the .NET framework, and mono is fully working, There will be Office on Linux.

    MS has a history of using undocumented features to make sure their software runs better than competitors' offerings under Windows. I think you can rest assured that MS won't allow their software to go platform independent. There will most definitely be SOMETHING in Office that will prevent it from running on Linux. They said Kerberos would interoperate, too.

    --
    Intelligent Life on Earth
  10. C++ is a multi paradigm language by avdi · · Score: 3, Interesting

    but not go off the deep end of OO like C++ did

    C++ is hardly "off the OO deep end". Not in the sense that Smalltalk, or even Java, is. In the words of it's creator:

    C++ is a multi-paradigm programming language that supports Object-Oriented and other useful styles of programming. If what you are looking for is something that forces you to do things in exactly one way, C++ isn't it. There is no one right way to write every program - and even if there were there would be no way of forcing programmers to use it.

    As a longtime C++ user, I can attest to this fact from personal experience. In fact, there have been times when I've wished C++ was more OO than it is.

    --

    --
    CPAN rules. - Guido van Rossum