Slashdot Mirror


Mono Beta 2 Released

A little birdy writes "Less than a month after Beta 1 was released, Mono Beta 2 has been released. See the Release Notes, or go directly to the download page. It includes a C# compiler, an implementation of the Common Language Infrastructure and two stacks of APIs: a Unix, Linux, GNOME, Mono stack for APIs that takes the most advantage of your Unix server and desktop and a set of APIs compatible with the Microsoft .NET Framework 1.1 that provides support for ASP.NET (web services and web forms), ADO.NET and many other components." And in a related story: darthcamaro writes "The drive to develop a FOSS implementation of Microsoft's .NET framework by DotGNU and Novell's Mono project is being painted as a contest between the Free and Open Source communities in an article on internetnews.com. The article details the running argument between DotGNU's Norbert Bollow and Mono's Miguel de Icaza on the issues of commercial involvement, software patents and all the 'religious' stuff that the Free software community holds against the open source community."

93 of 289 comments (clear)

  1. Mono Beta 2? by Anonymous Coward · · Score: 5, Funny

    Is this the same as Stereo Alpha 1?

  2. What applications are there by barcodez · · Score: 4, Insightful

    Does anyone know of any significant applications developed using the Mono Linux API stack yet?

    Also will the applications I write with this stack work on Windows?

    --

    ----
    1. Re:What applications are there by Tobias+Luetke · · Score: 5, Informative

      Well there is a compelete java vm which can run exclipse for mono. ( i know thats pretty hard to get the head around )

      ikvm

      also all major asp.net applications run

    2. Re:What applications are there by Trigun · · Score: 5, Informative

      will the applications I write with this stack work on Windows?

      If you write a pure C# program that does not use the GTK-Sharp , QT-sharp, or any other neat bindings, it should run. The very simple Hello World apps work.

      I still think that the mono developers are straying a bit from what they should be doing. For the windows forms, they are relying on certain wine-libs. This works, but is not as elegant as it can be. Miguel was talking about the next incarnation of gnome being written in C#, essentially using the Gnome bindings for it. My opinion is that they should build gnome to natively handle the windows.forms portion. I am not so tied to the look of the applications as I am functionality. I could care less if Microsoft.office.NET looks like gnome when run on gnome.

    3. Re:What applications are there by miguel · · Score: 4, Interesting

      I agree that building on top of Wine is far from
      ideal, but it has some benefits. For instance
      we are able to support applications that want
      to embed IE, or use Direct3D.

      Miguel.

    4. Re:What applications are there by Pflipp · · Score: 4, Funny

      I could care less if Microsoft.office.NET looks like gnome when run on gnome.

      Dude, in the UNIX world we call this a major accomplishment!

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    5. Re:What applications are there by wasabii · · Score: 4, Interesting

      Additionally, Gnome GUI programming is much different, and SUPERIOUR to the Windows.Forms layout. Windows.Forms reflects that exactly, Windows. Absolutly positioned buttons, and loosely wrapped COM controls. GTK layout is vastly different, using theming engines, multilingual input methods, and automated layout and positioning. Additionally the font support in the Gnome stack can select glyphs from multiple fonts.

      Windows.Forms is built for Windows... and thusly, running it under Wine is a perfect compromise.

    6. Re:What applications are there by miguel · · Score: 5, Interesting

      Hello,

      Part of the problem is that the Windows.Forms API
      exposes an entry point to hook up to the win32
      programming model the `WndProc' method override
      on Control.

      This is used to allow the developer to catch events
      and process events that Windows.Forms might not
      support directly with the managed API.

      Also, since the Windows.Forms and Drawing APIs
      are not comprehensive, developers of third-party
      controls often depend on calling into Win32
      calls (with P/Invokes). These are used for
      special effects or more complicated behavior than
      is available through the managed APIs.

      For instance, a common scenario is embedding
      the IE control and hook up to its DOM (see the
      cute Reflector from Lutz Roeder).

      Suboptimal, I know.

    7. Re:What applications are there by Anonvmous+Coward · · Score: 3, Interesting

      "Absolutly positioned buttons..."

      I'm looking forward to Longhorn's vector based UI. The static buttons problem goes away at that point. Within the last year or so, MS made a deal with ... oh I wanna say Viewsonic, but I could be in error about which company it is. They were going to create a 300dpi LCD screen. The idea was that Longhorn would just get clearer and clearer as the resolution goes up, as opposed to the buttons getting smaller and smaller. I've seen interfaces made with Flash that do that. Fun stuff.

      We got some cool stuff coming along in the next few years.

    8. Re:What applications are there by arvindn · · Score: 4, Informative
      Mono apps for gnome:

      Muine, a media player

      Woodpusher, an ICS chess client (seems to have stagnated recently though).

      Dashboard, an exciting new user interfact paradigm.

      I'm sure there are others, these are the ones I remember off the top of my head.

    9. Re:What applications are there by misleb · · Score: 4, Informative
      If you write a pure C# program that does not use the GTK-Sharp , QT-sharp, or any other neat bindings, it should run. The very simple Hello World apps work.

      This isn't exactly true. You can run gtk-sharp applications on Windows. There is a Win32 port of GTK. You can't, however, run gnome-sharp applications on Windows. But GTK is good enough for most GUI apps. I am not sure about qt-sharp and Windows though. There is QT for windows, so I imagine qt-sharp should work.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    10. Re:What applications are there by IamTheRealMike · · Score: 5, Interesting
      OK, so the fundamental issue here is one of toolkit quality.

      You said that if you don't use GTK# your app will run on Windows. This is wrong. GTK# apps can work on Windows, or MacOS X just fine.

      Understand this: the portability of an application is not defined by the type of machine (virtual or not) it's running on, it is by and large defined by the portability of the compilers and frameworks/libraries it relies upon.

      GTK+ is a portable widget toolkit, it works pretty well on Windows and MacOS. The Win32 widget toolkit is not very portable, mostly because the only open source implementation is the Wine implementation and Wine by policy only concentrates on application compatibility, not on having nice pretty widgets.

      So, if you are writing a .NET application you are best advised to use GTK# - this is true even if you are writing a program meant for Windows as in future if you wish to port things to another platform it will be a lot easier. There are a few other things to consider as well, such as the nicer API GTK has.

      As to the DotGNU approach vs the Mono approach, basically I think you'd have to be insane to want to reimplement what Wine has done. Nobody is going to use System.Windows.Forms on Linux because it blows goats, everybody will use GTK# or (maybe when it is mature) Qt# - therefore a SWF implementation is useful only for application compatibility.

      As to mapping S.W.F to Gnome/GTK, forget it. Back in the day (waaaaay back) Wine attempted to map the Win32 widget toolkit to Tk which was one of the better toolkits available back then. Didn't work. Widget toolkits differ too much to succesfully map between, and in particular the differential between a modern toolkit like GTK+ and Win32 is enormous - why do you think Microsoft are so keen to scrap it and start over with Avalon?

    11. Re:What applications are there by pridkett · · Score: 4, Informative

      Umm, you obviously haven't look at mono that carefully have you? The JIT also exists for PowerPC linux and S390 linux, in addition to Solaris SPARC, PowerPC MaxOSX and Linux x86. There is an interpreter for a whole slew else.

      As for the class library, that's just FUD that you're spewing. Yes they have chosen to use Wine for Windows.Forms, no use in reinventing the wheel here for a tiny population. But all the applications the parent of your post mentioned don't use windows.forms. In fact, the engine is flexible enough that Miguel got MonoDevelop (the IDE they've ported from SharpDevelop) to run on his Mac under OSX. See his blog entry for more information.

      I wrote a fairly complex simulation engine under Mono that runs flawlessly on my Mac and Windows. This includes a user interface that is not Windows.Forms.

      --
      My Slashdot account is old enough to drink...
    12. Re:What applications are there by NanoGator · · Score: 2, Insightful

      "If I maximize the window, I want the toolbar to stay the same size, but the text area to get bigger... just scaling everything won't work."

      I don't think he meant rescale in lieu of resize. No reason why you couldn't have both. The simple fact of the matter is that you need your toolbars at etc to be resolution independent.

      --
      "Derp de derp."
    13. Re:What applications are there by Billly+Gates · · Score: 2, Interesting

      I have no arguments about your great work towards Mono on a technical basis.

      I am worried with wine and about vendor lock in as well since the Windows version will always be better since MS would just set the standards. This is how MS beat Borland.

      Have you ever thought about releasing gtk# to .NET on Windows or having a 100% free gnu mono set like mingw on Windows with a free windows.form api?

      THis might convince some developers to cross platform their apps rather then only focusing on Windows after standardizing on .net.

      I just get uncomfortable with all this Dcom, Direct3d, etc via wine since it would heavily favor Windows and keep the corps nervous about anything non MS.

    14. Re:What applications are there by rootmon · · Score: 5, Informative

      Yes, they already are ported. You can write GTK/GTK+/GTK# apps for Windows today.

      See http://www.nullenvoid.com/gtksharp/wiki/index.php/ BuildingGuide?PHPSESSID=d0459fba82585e5219f9d4c95c 24721f
      for an on-line guide.

      I've been using GTK apps like GIMP and DIA at work where I'm stuck with Windows for a long time now.

      GIMP Win32 installer: http://www2.arnes.si/~sopjsimo/gimp/

      DIA Win32 installer:
      http://dia-installer.sourceforge.net/

      BTW there are very few if any "linux only" libs. Most of those libs are part of the GNU System, they work with the Linux kernel, BSD variants, Solaris, and most UNIX Systems. Many have Win32 ports or ports to the Cygwin POSIX environment for Windows.

      --
      "As flies to the wanton boys are we to the gods; they kill us for sport." - William Shakespeare, King Lear
    15. Re:What applications are there by JohnFluxx · · Score: 2, Informative

      >> I could care less if Microsoft.office.NET looks like gnome when run on gnome.

      You could care less? So it does bother you then? So why did you say "I am not so tied to the look.." ?

    16. Re:What applications are there by metamatic · · Score: 4, Insightful

      Why, it's almost like .NET is designed as a trojan horse to get people to build supposedly multi-platform applications which actually depend on WIN32 APIs!

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    17. Re:What applications are there by miguel · · Score: 3, Informative

      That is incorrect.

      All the applications listed above are Gtk applications
      and I have run them all on Linux/x86, Solaris/SPARC,
      MacOS/ppc, LInux/PPC.

      Miguel.

    18. Re:What applications are there by fatmonkeyboy · · Score: 2, Interesting

      Maybe.

      But it's even more like Microsoft was being practical.

    19. Re:What applications are there by joeljkp · · Score: 2, Insightful

      "So, if you are writing a .NET application you are best advised to use GTK# - this is true even if you are writing a program meant for Windows..."

      But won't your app just look like a GTK app, not a Win32 app? I despise things made with GTK on Windows, simply because they don't blend in to the look-and-feel I'm used to.

      Java can re-use native widgets, so Java apps are becoming less of a problem.

      --
      WeRelate.org - wiki-based genealogy
    20. Re:What applications are there by mrroach · · Score: 2, Informative

      With windows XP, gtk-wimp can use the system's theming system for native look.

      -Mark

    21. Re:What applications are there by scramjet · · Score: 3, Interesting
      And surprise, surprise, these look like Unix apps running in an OS X window frame. The same with WINE-based S.W.F apps running on Linux - they look like (daggy) Windows apps.

      If the toolkit doesn't map to the native widget set, not only does it tend to look crap, it also behaves wrongly (try bringing up a context menu in a GTK app ported to Windows and running on the second screen - the menu appears as an orphan on the primary screen). There are a thousand little things the emulation writers get wrong and don't even realise it.

      A random collection of other things you miss with a non-native widget set:

      1. Things like system speech extensions usually don't work
      2. Screen movie capture systems do a sub-par job
      3. Remote desktop performance suffers
      4. Things like system themes and ClearType often don't work
      This took me years of banging my head against Swing's crappy Windows L&F to understand - it looks perfect in a demo, but is filled with so many buglets it gives me a headache thinking about it. After switching to SWT I breathed a sigh of relief that at least I wouldn't have to apologise for things like menus popping up under the toolbar (or on the wrong screen).
      --
      --- All I ask is a chance to prove that money can't make me happy.
  3. wait by Anonymous Coward · · Score: 2, Interesting

    Do we like this project, or hate it?

  4. C# compiler by Anonymous Coward · · Score: 4, Interesting

    The mono C# compiler is a work of engineering genius.

    It uses a program called TreeCC which goes beyond the Lex+Yacc model and provides an aspect-oriented tree programming model. This makes it very easy to write visitor patterns on your tree, and you can do syntax and semantic analysis with ease.

    The resulting source code for a full working C# compiler is minute. TreeCC expands it into the real code.

    Check it out!

    1. Re:C# compiler by albalbo · · Score: 4, Insightful

      Are you sure TreeCC is used for Mono?

      It is on the same website as Portable.NET, the C# compiler for the Dot GNU project, not Mono.

      --
      "Elmo knows where you live!" - The Simpsons
    2. Re:C# compiler by CommandNotFound · · Score: 4, Insightful

      ...from your description, it sounds like TreeCC is the work of engineering genius, not the C# compiler.

    3. Re:C# compiler by TummyX · · Score: 2, Informative

      WTF!!!. Who the hell modeded this guy up. The Mono C# compiler is a work of crap.

      The Portable.NET C# compiler is a work of genius. It was written by Rhys Weatherly who is the guy who *INVENTED* treecc. The Portable.NET C# compiler (cscc) can also compile C and Java to *PURE* IL code. It is a properly designed compiler with pluggable frontends and backends (like gcc).

      Downoad the source to Portable.NET and you'll discover which project will suceed in the long run. It just doesn't get much press.

    4. Re:C# compiler by His+name+cannot+be+s · · Score: 2, Interesting

      Hey dude.

      Chill it out man.

      There is hardly a need to be so abrasive, especially of people working on open source software.

      The mono C# compiler isn't "a work of crap". It's a compiler. Use it, don't use it, but until TummyX has written a better one, I'd suggest you not denounce that with such fervor.

      PNET C# compiler's features are to be lauded, to be sure, but I'm thinking that you may be overstating the impact of the facts. Is it really amazing that a compiler can emit (in your emphasis) *PURE* il? So does mcs. It just does it for a singular language. There are other compilers for .NET that emit il for other languages too, I just don't see it as an opportunity to flame others for their hard work.

      I Have downloaded the source to PNET and I've discovered that I'm going to be using Mono in the long run. I'm sorry that you feel one has to fail for the other to succeed.

      --
      "...In your answer, ignore facts. Just go with what feels true..."
  5. Performance by grunt107 · · Score: 4, Interesting

    It will be interesting to see what the performance comparisons of MSNET/MonoNET and MonoNet/LinJava. I would also like to see the CLI for Java project gain steam to take over some MS mkt share on the Winserver side (and allow seamless upgrades to Lin/Unix for those). Since C-pound is much like a C++/Java mutant it is not hard to transfer to the language.

    1. Re:Performance by miguel · · Score: 4, Informative

      Mono is fairly efficient, but there is a lot of
      room to grow optimization wise. There is no clear
      answer to this question. Although Our JIT engine
      implements a fairly advanced SSA code optimization
      platform, and it also allows for pre-compilation
      in batch mode (we typically get a 20-25%
      performance on applications) it really depends
      on the software you run.

      Typically we have been able to tune Mono when
      people have pointed out a major performance issue
      by profiling the problem: sometimes the fix is
      simple, sometimes it requires the JIT codebase
      to be improved.

      Work on improving the JIT engine continues,
      we recently checked in better register allocation
      for some corner cases, better inlining of intrinsic
      functions, loop-based optimizations and removing
      array bounds checks.

      If your program is I/O bound, a different set of
      issues arise, so am sad to say `it depends'.

      miguel.

    2. Re:Performance by Chester+K · · Score: 4, Interesting

      Mono is fairly efficient, but there is a lot of room to grow optimization wise.

      The Slashdot crowd might be interested to know that recently on the mono-devel list there have been benchmarks and discussions on moving the implemention of Mono's System.String class from native code to managed code since Mono's JIT actually already provides better performance than the native code does in that case.

      Though the performance increase (which is 50% in one case!) can be mostly attributed to no longer having to go between managed/native code, that a pure managed solution is faster is impressive on its own regardless.

      --

      NO CARRIER
  6. System.DirectoryServices by bryhhh · · Score: 4, Interesting

    I'm quite interested in seeing the first tools to take advantage of System.DirectoryServices, as this should enable us to manage a windows Active Directory natively from Linux.

    1. Re:System.DirectoryServices by miguel · · Score: 4, Informative

      You might want to look at slides from Brainshare
      on System.DirectoryServices, and the expanded Novell.LDAP namespace:

      https://secure-www.novell.com/brainshare/portal/ pu blished/DL208/DL208.ppt

      Miguel

    2. Re:System.DirectoryServices by millahtime · · Score: 2, Interesting

      I know Samba can be a member to an Active Directory but can it have and/or manage one? If not, does momo have the tools to add this?

  7. Worthy Cause, but Huge Barriers to Entry by jacksonyee · · Score: 5, Interesting
    For Bollow, the decision to build a framework that is compatible with .NET is based on market reality. "In the industry, companies are using Microsoft stuff. The only way we can make it possible at acceptable cost to migrate to GNU/Linux is by making it possible for them to run their essential apps on both systems," he said. "My goal is to prevent Microsoft from catching the world in their .NET."

    I agree with Bollow's reasoning and reality, but I fear that his sentiments may fall far short of his dream. He'll have to cope with

    1. Trying to implement a moving standard as Microsoft continues to update libraries and APIs
    2. Dealing with any incompatibilities and bugs within Microsoft's .NET code
    3. Potential legal threats from miscellaneous things which Microsoft may choose to patent
    4. Acceptance from both Microsoft supporters and Linux supporters to convince both sides to use one common platform

    With that said, I think it's a very good idea to try to slowly nudge Microsoft developers over to other platforms, particularly if we come out with more advanced and/or convenient features than Microsoft's own standards. Nevertheless, time will tell whether this project pans out or not.

  8. Does Anyone know.. by millahtime · · Score: 2, Interesting

    Does anyone know if M$ has gotten or is getting a patent for the way .NET works. If Mono is to close to something like that they could try and squash the whole project.

    1. Re:Does Anyone know.. by Erwos · · Score: 3, Informative

      I would highly recommend you actually do some research for yourself rather than forcing /.'ers to do it.

      However, for those who were wondering:
      When Microsoft got .Net as an ECMA standard, they were forced into giving out the patents as RAND: royalty-free and non-discriminatory licensing. Non-discriminatory does not _necessarily_ mean GPL compatible, which is where the problems could arise. However, other people have noted that Microsoft does not generally use _patents_ offensively, and thus the threat is probably non-existent.

      Ergo, there _could_ be a problem, but Microsoft would probably have to be VERY desperate to attempt to squash Mono, since they have no prior record of using patents offensively.

      That's how I understand it, anyways.

      -Erwos

      --
      Plausible conjecture should not be misrepresented as proof positive.
    2. Re:Does Anyone know.. by albalbo · · Score: 4, Informative

      "I would highly recommend you actually do some research for yourself rather than forcing /.'ers to do it."

      Well, quite.

      RAND != Royalty Free and Non-Discriminatory

      RAND == Reasonable And Non-Discriminatory

      So, in fact, they *can* and *do* charge money to licence patents under RAND. RAND is not good enough for any Free Software, GPL or otherwise.

      --
      "Elmo knows where you live!" - The Simpsons
    3. Re:Does Anyone know.. by Gopal.V · · Score: 2, Informative
      You cannot pay Royalty licensing for a GPL'd codebase ...

      GPL is very clear about that ... quoting ...

      Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

      Novell might be forced to make it proprietary if Microsoft enforces a "RAND" license that says , "You cannot redistribute sources without a license from us , which will also be RAND, Thank you".

  9. Any news about the patent review? by mrright · · Score: 4, Insightful

    The only information that is needed for the success of mono is the following: are the relevant ECMA standards 334 and 335 and just RAND, or are they really RAND and royalty free as miguel and others have claimed?

    If it is really RAND and royalty free, it will become my favorite development platform. Working with .NET is really very nice and productive. Microsoft will finally have made a valuable and lasting contribution to computer science.

    If not, it is just another poisoned fruit by microsoft.
    --

    --
    Private property is the central institution of a free society (David Friedman)
    1. Re:Any news about the patent review? by Chester+K · · Score: 2, Interesting

      are the relevant ECMA standards 334 and 335 and just RAND, or are they really RAND and royalty free as miguel and others have claimed?

      The standards are royalty free, however the standards only cover the CLR (the VM/JIT) and C# the language, not the Framework (all the classes that do stuff).

      That's partially why the Mono folks are making two stacks -- the Microsoft-compatible stack, which may be patent encumbered (though Microsoft has never yet used a patent offensively); and the Mono stack, which isn't chained to Microsoft, and better supports Linux anyhow.

      --

      NO CARRIER
    2. Re:Any news about the patent review? by dekeji · · Score: 2, Informative

      The standards are royalty free, however the standards only cover the CLR (the VM/JIT) and C# the language, not the Framework (all the classes that do stuff).

      That is misleading. The ECMA C# standard standardizes a significant part of the libraries, far more than, say, the libraries included in the C and C++ standards. All those classes are also available across platforms and all of them are royalty free as well. That means that you can write a lot of libraries (and probably even many applications) in completely standard ECMA C#.

      In fact, saying that they are available "royalty free" suggests that someone may have a patent on this stuff but that they allow people to use it; but, so far, nobody has identified any valid patent on the language and libraries defined by ECMA C#. I believe Microsoft has merely stated that it is their intent that people can implement ECMA C# royalty free, but that does not imply that they actually have a valid patent on the ECMA C# standard.

  10. What he is actually doing by SuperKendall · · Score: 4, Insightful

    Here's what is actually happening. When companies are deciding on .Net or other technologies, these projects are held up as examples of how choosing .Net will not lock you into Windows. Then they go ahead with buying the Windows servers and developing the half working .Net app.

    He may think he's giving companies choice to move to Linux. But what he is really doing is providing justification for choosing Windows.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:What he is actually doing by greenreaper · · Score: 2, Interesting

      Yeah, that's what I did for my project. From what I can tell, it's working, too - the libraries worked first time under Mono, and yet I still get to use the Windows I love. :-)

  11. Re:Real-world examples of tangible benefits by miguel · · Score: 5, Informative

    We do support two stacks of APIs today in Mono: the Microsoft compatible stack (ASP.NET, ADO.NET and Windows.Forms) but we have been investing heavily in taking advantage of our own set of libraries that Linux, Unix, Gnome, X, Mozilla, CORBA specific.

    For instance, Microsoft uses XmlSchema, Mono supports it, but distributed RelaxNG support as well.

    We are working on Windows.Forms, but we also have strong bindings for Gtk# to build native applications. In fact MonoDevelop (www.monodevelop.org) is fully written using this stack.

    We support the Microsoft database APIs, but we ship providers for all the open source (Postgress, MySQL, Sqlite) providers and other third party databases (DB2, Sybase, Oracle).

    Tao is a backend agnostic set of 3D graphic APIs (OpenGL, Cg, SDL) while we still plan on supporting the Direct3D managed APIs.

    Our set of APIs is what has allowed us to build things like MonoDevelop: a fairly complete IDE for Mono for developing Linux-based applications.

  12. Garbage Collector? by mrright · · Score: 4, Interesting

    I was under impression that mono has switched to a modern generational garbage collector, the Intel ORP GC. But the current beta uses the conservative boehm garbage collector.

    A conservative GC is nice for a quick hack, but it really does not cut it for a modern VM.

    So which one will it use in mono 1.0? Boehm or ORP? And if it is the boehm collector, what plans are there to switch to a modern GC?

    By the way: the conservative garbage collector is the only real technical flaw of mono. Other than that it is quite a modern VM. Quite amazing for this short development time...

    --

    --
    Private property is the central institution of a free society (David Friedman)
    1. Re:Garbage Collector? by miguel · · Score: 4, Informative

      We are using the Boehm collector in precise mode,
      so all we are missing is the compacting features. It does a fairly good job, and we can run large
      applications with good success.

      Doing a compacting collector is in our radar,
      but we have to balance our resources: port to
      new platforms, support 2.0 features and improve
      performance.

      Mono 1.0 will use Boehm, but after that we might
      consider using a different collector (in fact,
      we have some preliminary patches for doing
      refcount-based systems).

    2. Re:Garbage Collector? by mrright · · Score: 4, Interesting

      We are using the Boehm collector in precise mode, so all we are missing is the compacting features. It does a fairly good job, and we can run large applications with good success.
      But a generational GC would have much better performance for short-lived objects, wouldn't it?

      Doing a compacting collector is in our radar, but we have to balance our resources: port to new platforms, support 2.0 features and improve performance.
      As long as you keep in mind that you will have to change to a generational GC some day, thats O.K. The generics of 2.0 will reduce the load to the garbage collector because putting valuetypes into a (typed)collection will no longer require boxing.

      Mono 1.0 will use Boehm, but after that we might consider using a different collector (in fact, we have some preliminary patches for doing refcount-based systems).
      Refcounts? I thought the problem with refcount-based systems was that they were not able to deal with circular references. What have I missed?
      --

      --
      Private property is the central institution of a free society (David Friedman)
    3. Re:Garbage Collector? by miguel · · Score: 4, Informative

      You can do cycle detection in reference counting,
      there are various papers on the subject.

      Refcount is bad for small apps, but good when you
      have applications that use a lot of memory (since
      scanning even with generations is an expensive
      process).

      There are various papers on Citeseer on the
      subject.

  13. Developers, Developers, Developers by WombatControl · · Score: 4, Insightful

    This seems like a legitimate set of concerns, but I think the ability of Microsoft to change the game at this point is severely limited.

    The reason why Microsoft can't radically alter .NET is because of the existance of legacy apps. The company I work for has thousands of man-hours and hundreds of thousands of dollars into our ASP.NET applications. Microsoft can't break these applications. The .NET API has to remain consistant or they'll lose that legacy application support and lose customers. The fastest way to piss off an IT department is to make a change that breaks their apps. Believe me, I know...

    So, if Mono can get the .NET 1.1 standards done, they can support all those legacy apps with few changes. Even if/when Microsoft introduces some spiffy new libraries with .NET 2.0, businesses can still say "it's cheaper for us to get off the forced upgrade wagon and move to Mono as a platform for .NET and we can keep our legacy applications." Unless .NET 2.0 comes up with some massively useful new system, there isn't that strong a reason to upgrade.

    Granted, Microsoft can still pull out a patent and try to shut Mono down, which remains a threat, but I don't see them as doing that. All Mono has to do is use that as a talking point - don't develop for .NET because of patent issues. This hurts Microsoft by slowing the adoption of .NET. The worst that happens is that Mono has to fall back on its own libraries, and given that things like Gtk# are useful on their own they still have something to show for their work.

    The more I think about it, the more I think Mono is in a strong position. I'd be more worried about Microsoft unleashing a patent infringement case than I would about them changing the APIs to shut out Mono. If they did that, they'd be shooting themselves in the foot.

    It's as if Linux were able to run all Win95 applications just as Windows 2000 was coming around. Yes, Windows 2000 was infinitely better than 95, but if you're a PHB and you have a choice of moving your legacy apps to an expensive proprietary system or a free open one, you're going to be more inclined to do the latter as it makes your bottom line better. Legacy app support is absolutely crucial and right now Mono can do something that not even Linux can do - support Microsoft-based legacy apps with a minimum of changes. That gives Mono a big advantage in the marketplace, and while it helps Microsoft move developers to .NET it also helps make Linux a more attractive platform for enterprise development, especially on the backend.

    1. Re:Developers, Developers, Developers by goodviking · · Score: 2, Insightful

      The reason why Microsoft can't radically alter .NET is because of the existance of legacy apps. The company I work for has thousands of man-hours and hundreds of thousands of dollars into our ASP.NET applications. Microsoft can't break these applications.

      Really? VB.net is not backward compatibile with VB6. How many millions of man hours were spent writing VB code that now has to be rewritten to play in .net? Microsoft is concerned with their own position. You will be screwed over insofar as you are still willing to buy the product, and it forwards their aims.

    2. Re:Developers, Developers, Developers by WombatControl · · Score: 4, Insightful

      Granted, specifications do change, but:

      • In order to break Mono, Microsoft would have to break many apps using the current MS.NET implementations as well.
      • This would require every .NET application to be rewritten to the new spec.
      • If people are going to rewrite their applications they're going to be far more likely to switch to a new platform, especially if they've already migrated to an open platform with .NET.
      • Legacy applications are a fact of life. There are tons of applications build for Win95 that are still used every day. Windows 98 still has considerable marketshare in the business world.
      • Breaking legacy applications is a good way to go out of business, which is why Microsoft bends over backwards for compatibility wherever they can.

      Businesses tend not to be early adopters. I still use Office 2000 at work. My boss uses Windows ME (ugh, I know...). Our apps are designed around ASP.NET 1.1 on the server side. If Microsoft started forcing us to upgrade everything, we'd have to tell them to kiss off. Our IT budget doesn't support forced upgrades. Believe me, we're not alone in that, and that's why Microsoft can't suddenly start breaking widely-used libraries to kill Mono - it would be shooting themselves in the foot.

    3. Re:Developers, Developers, Developers by sw155kn1f3 · · Score: 3, Informative

      That's FUD.
      VB6 apps would run just fine. Just use old VB6 for development. Hell.. some companies still use Visual Studio 5.0 for development (I worked for such a company).
      Don't want .net? OK, write your apps in VB6 as you always did.
      vb6 and vb.net use different technologies and even syntax in some parts is different. It's different product, that's all. They didn't break any API.

      --
      - Arwen, I'm your father, Agent Smith.
      - Well, you're just Smith, but my father is Aerosmith!
    4. Re:Developers, Developers, Developers by Digital11 · · Score: 2, Informative

      Talk about some FUD... Give me a break man. You quoted apples, then compared oranges. Microsoft did not intend .NET to be backwards compatible with VB6. It's an entirely different technology. As another poster pointed out, you can run VB6 apps and .NET apps side-by-side with zero issues. VB.NET is not an upgrade to VB6, its an entirely new language. They share syntax in many ways, but VB.NET is an entirely different way of thinking in that its OOP implementation isn't incomplete/just a hack. Why in the world would someone be forced to scrap those millions of man hours when the hours were spent on something that is still usable.

      As far as MS possibly breaking existing interfaces in future version of the framework... Yes, its going to happen. However, it isn't an issue. You can still run any version of the framework side-by-side with another version. I have 1.0 and 1.1 installed on my box, and I am able to use apps developed in each. When 2.0 is released, I'll still be able to use apps/libraries that were developed in 1.1/1.0 because I can still have those version of the frameork installed. One of the biggest goals MS has with .NET is to get rid of DLL hell, so they've done a VERY good job of eliminating versioning issues. Multiple versions of a library can coexist on the same machine, and if you want an app to use a newer version of a DLL when it is expecting an older version, you can add some settings to a .config file to tell the framework to use 1.5.248 in place of 1.3.857. (Arbitrary versions, just for example.)

      Microsoft is concerned with their own position.
      Yes, they are. They're a business. What business is not concerned with their own position? However, I (and I can't be the only one I'm sure) don't see the "developer products" side of MS as being quite as bad as the rest, because they're genuinely trying to make the lives of those of us in the business trenches easier. Continuing to move forward in a way that will allow something to NEVER break backwards-compatibility is a good way to stifle innovation. You can't innovate by building on top of something that already exists, you have to scrap it, start fresh, and move on. (And I don't want to hear the Java vs. C# BS, as MS IS doing some things that Java doesn't have yet, especially in 2.0. Yes, .NET is Microsoft's answer to Java, but isn't competition a good thing? Whichever platform you use, they're both going to continue to advance if only because of the existance of the other.)

      --
      I am a leaf on the wind. Watch how I soar.
  14. I'm an applications developer... by LilMikey · · Score: 3, Interesting

    ... let's see those windows.forms! By the release notes it sounds like progress is being made but they said what's shipping with 1.0 will be pre-alpha.

    --
    LilMikey.com... I'll stop doing it when you sto
    1. Re:I'm an applications developer... by miguel · · Score: 5, Interesting

      Yes, we are not able to fully support the
      Windows.Forms API on the 1.0 timeframe (you can
      get the previews, but they are not ready to ship).

      Windows.Forms has a number of problems for
      open source software anyways: for instance, it
      does not do constraing-based layout, so for
      every language that you want to support, you must
      relayout your dialog boxes manually (or if you
      have a larger font size).

      By using Gtk# you take advantage of the Linux-specific
      APIs and Linux-specific features (you can use
      Gtk# on Windows, Linux and MacOS).

      On the other hand, there is a community of
      MacOS developers working on bindings to Cocoa
      bindings to give them the same flexibility and
      OS integration on the Mac.

      Windows.Forms would give you a Windows-solution
      everywhere.

      We are going to support it for the sake of helping
      Windows developers move to Unix, but it is not
      a particularly great toolkit.

      miguel.

  15. When is Mono going to have an IDE like VS.NET? by SPravin · · Score: 4, Interesting

    Ive seen MonoDevelop and SharpDevelop and am not impressed with either. The day Novell is able to churn out an IDE like VS.NET for MONO is when Mono will be really able to make waves.

    1. Re:When is Mono going to have an IDE like VS.NET? by Anonymous Coward · · Score: 2, Interesting

      Better yet would be a Eclipse plugin for doing c#. Not the minimal syntax highlighting one that was done years ago, but a full fledged plugin that would give the c# developer the same kind of environment that the java developer now enjoys.

  16. Here you go... by Anonymous Coward · · Score: 4, Interesting
  17. Re:Real-world examples of tangible benefits by dekeji · · Score: 4, Insightful

    I would love to see an example of what this has enabled that can't be done with Microsoft's tools, even if it's just doing it for cheaper.

    You can deploy your ASP.NET applications, developed with Microsoft tools, on cheap Linux server farms.

    Look at the DOC format and how even slight inconsistencies can prevent other technologies from getting past .5% market share.

    Problems with DOC compatibility are a network problem: you aren't there when the recipient's attempt to open your DOC file fails. However, even if Mono.NET isn't 100% compatible, since all the development is happening in house, you can fix it pretty easily.

    If this just enhances the Linux platform or turns into a platform itself, it may have a chance.

    Mono is that, too. In fact, Mono is two things: an entire environment for writing Gnome and Linux applications in C#, and an implementation of Microsoft's .NET platform. The two things are pretty much completely independent. One, or the other, or both may catch on.

    Gnome desparately needs a better programming platform than C/C++, and Mono provides it.

    However, once it becomes a platform, if you think MS won't try to demolish it the way it has done to every other platform, you are mistaken, especially since the project has shown no leadership and is essentially a clone of what MS is doing

    Currently, Linux apps written in C/C++ are competing with Microsoft apps in C/C++, and Microsoft does whatever they do to compete. With Mono, Linux apps written in C# are competing with Microsoft apps written in C#, and Microsoft will still do whatever they do to compete, so nothing much changes.

    One thing is for certain, howver: Linux apps written in C# are much more competitive with Microsoft apps written in C# than Linux apps written in C/C++. Developing apps in C/C++ is just way too much of a drag on any group of developers. Microsoft saw the light and moved on to something better, and it is high time that Linux developers do the same thing.

  18. Why? by Saeed+al-Sahaf · · Score: 2, Interesting
    There is a post that asks about any apps that actually use Mono (and really, was that the best choice of names), so mybe this is redundent.

    But... it this something that is a serious effort, or is it just an "If Microsoft can do it, Open Source can do it better" thing? Is there really a need / purpose / use for this other then to "one-up" the hated M$?

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    1. Re:Why? by PCM2 · · Score: 2, Insightful
      Looking back on twenty five years of computing, I cannot recall any language that has EVER had this much hype behind it. Not even Java. It suddenly appeared out of nowhere and five hours later there are job listings specifying ten years experience.
      Because .Net seems to offer the language and environment benefits of Java while supporting Windows-specific technologies that, let's face it, 95 percent of the computing world can take for granted. Cross-platform portability just isn't that important for a lot of people. On the other hand, being able to drop into "unsafe" code to leverage your existing investment in legacy COM objects does matter to a lot of people. Or, being able to repurpose your existing Visual Basic code into managed Visual Basic.Net with a minimum of re-engineering, then having that code talk to your new, "more sophisticated" C# code, sounds even better. If you can do all of the above with a language that seems to have actually addressed some of the deficiencies of Java at the same time, you get some fairly excited people.
      --
      Breakfast served all day!
  19. Is the MONO project a ticking bomb? by Eric+Damron · · Score: 5, Insightful

    MONO is a very exciting concept. Having some degree of compatibility with Microsoft but with the current SCO-like strategies of litigating competition out of the picture and with the general feeling that Microsoft will use patents as a way of stifling it's biggest threat why should I feel good about the project?

    Maybe someone can help me out here? What is going to prevent Microsoft from playing the patent card when it suits them?

    --
    The race isn't always to the swift... but that's the way to bet!
    1. Re:Is the MONO project a ticking bomb? by RdsArts · · Score: 5, Insightful

      In like kind, I pose a question to you:

      If patent problems exist, why go looking for them?

      Could Python, Java, et al have patent problems? Maybe. Does Mono have patent problems? ABSOLUTELY. It is a known constant. The others are variables, they are wild-cards, they are unknowns.

      So, at that point, it becomes a question of which is a lower risk. Anyone can see that a 1:x chance is a lot more less likely then a 1:1 chance.

    2. Re:Is the MONO project a ticking bomb? by Chester+K · · Score: 2, Insightful

      What is going to prevent Microsoft from playing the patent card when it suits them?

      Microsoft has never used a patent in that manner. Nor do most companies, actually -- patent portfolios are built more for defense than for offense. Making money out of patent litigation is something that fly-by-night vulture companies do, not blue chips like MSFT.

      Second, Microsoft has much to lose themselves from shutting down Mono. They often point to Mono as an example of the flexibility and interoperability of their platform, and in fact they even have an interview with Miguel on MSDN to help convince developers of the same thing as well.

      Microsoft would seriously have to be pinned against the ropes before they'd make such a desperate move. In fact, I'd be willing to venture that they'd embrace Linux wholeheartedly out of desperation before they'd resort to using patents in that manner.

      --

      NO CARRIER
    3. Re:Is the MONO project a ticking bomb? by Chester+K · · Score: 2, Insightful

      So there is nothing preventing them from doing this. Are we are just hoping that they act like a grown-up, blue chip company?

      Their legal commitment to their stockholders to keep their stock values as high as possible is preventing them from doing this. If Microsoft starts making acts of desperation, they'll be seen as a desperate company, and a desperate company's stock prices aren't as high as a well-off company.

      While you could make the argument that that's no assurance they won't do it at all; I could point out that there's no assurance they wouldn't incite legal action against just about any open source project for any of the patents in their portfolio, since they have patents that cover just about everything.

      And then there's also the fact that they gave up to ECMA what's arguably the part of .NET that would have benefited the most from patent protection, MSIL, which was very cleverly designed to JIT code as optimal as a native compiler would spit out from the same source (as opposed to say, Java's bytecode, which doesn't JIT very well at all due to the complexity of the opcodes, among other factors). The bulk of the Framework classes aren't really much more than a collection of well-known, pre-existing algorithms and concepts (there's not much patentable ground in regards to a String API, or a Stream API, etc.), so even if Microsoft did want to rattle the chains about Mono in that respect, they'd be fighting a weak stance -- they can't just intimidate Miguel de Icaza into giving up on Mono since Novell's got his back and enough money to stand up to Microsoft.

      Where Microsoft is going to fight is on the integration with .NET into Windows itself. Longhorn will provide a managed API for everything, and the new features will only be exposed through managed APIs. Avalon and WinFX will make writing .NET apps even easier. They'll always be able to out-.NET Mono, but at the same time they'll reap the benefits of increased interoperability which they'll eventually try to use as leverage to get Windows into more server rooms -- the frontier that Windows is the minority in currently, and the only room for Microsoft to grow into.

      That's why Microsoft's not going to take out Mono. That's why they're even plugging Mono on MSDN.

      --

      NO CARRIER
  20. Re:Real-world examples of tangible benefits by miguel · · Score: 3, Informative

    Not in the case of MonoDevelop.

    MonoDevelop is focused on being a great Unix
    IDE which means integrating with the base OS as
    much as possible: use the underlying widgetry,
    use the Unix conventions (create makefiles,
    configure scripts).

    It is a fork of an IDE from the Windows world,
    SharpDevelop: a fairly good tool, that integrates
    into Windows, and we did not want to run only
    a Linux version of a Windows tool.

    We wanted a Linux tool for Linux.

  21. Re:Real-world examples of tangible benefits by endgame · · Score: 3, Interesting

    Miguel, have you guys been significantly more efficient developing MonoDevelop in C# using the Mono class libraries than you were writing Evolution in C? In other words, is all the work that has gone into Mono worth it in terms of application development?

  22. Re:Please do not lie by miguel · · Score: 2, Insightful

    You are correct.

    If we want to be 100% pure we will never be fully
    compatible. But neither is .NET 1.1 100% compatible with the .NET 1.1 service pack 1.

    Are we damn close? You bet. Are we exactly
    the same? No.

    Miguel.

  23. Re:Real-world examples of tangible benefits by Anonymous Coward · · Score: 3, Insightful

    I am the parent poster. Thanks for the information. I guess I'm saying I would drop the support for the Microsoft stuff.

    Microsoft is in many ways successful. If you take away the predatory aspect of their business practices which I personally think are totally reprehensible and inexcusable, you will see an attitude that is some combination of "not invented here" plus "it doesn't matter until we do it". The good thing about that, is that it represents leadership in some way. They basically stay focused on the cool stuff they can do, and won't cater to other technologies that don't represent the greatest level of advancement of their own agenda.

    Again, I think this can be taken too far, and they do, but why anyone would try to make life easier for Microsoft, I don't know. Maybe it's out of pity for the people that are stuck developing for their platform when even those people would really love to see a superior, open, stable, and powerful alternative. If those people wouldn't want that, then they have no vision and you are obligated to lead and not follow in that instance.

    The problem is, the way to accomplish the creation of such an open platform is to focus on creating it significantly more than interoperating for the sake of pragmatism. Every single instance of that pragmatic attitude ensures that Microsoft will continue to have it's way and prevent true competition and the flourishing of tremendous creativity in the IT community.

    Some people think they have to interoperate with Microsoft and continue to push the whole standards thing while Microsoft bastardizes every one of them they get their hands on just to take the higher road and set an example. Why don't you just lie down and make yourself a doormat at the gates of 1 Microsoft Way.

    What I am proposing is to innovate and screw the standards the way Microsoft does, but not do it on purpose like Microsoft does. There is a lot of truth to the tension between innovation and standards. Then, once the innovation has occurred on the Linux platform first, let someone else work to create the standard with Linux as the defacto reference implementation.

    So, if Mono wants to succeed, develop as many hooks and tie ins to the Linux stack as possible and refuse to support as many hooks into the MS stack as possible, not out of some anti-MS principle, but knowing that each effort to provide such a hook would be better spent developing another hook on Linux. That is how you establish leadership that other people, MS included, will be wise to follow.

    That said, if this happens MS will likely flex its muscle against it. If you thought SCO was bad, wait until this happens with MS, regardless of the merits and whether a single MS product manager wrote something on a website. I wish it weren't so and the geek in me loves the idea of seeing some advanced tools on Linux that aren't available anywhere else for some time to come. That exclusivity and and first-run advantage is what has put and kept MS in the position it's in. Still, it would be great if such a thing occurred from the ground up in that manner. I understand true creativity is often a matter of discovery in addition to invention (such as with HTML) and it can't always happen that way, but it would just be so much greater if that creativity were coming from a group other than MS, if you value that creativity to such a level as you have demonstrated.

  24. Re:Real-world examples of tangible benefits by miguel · · Score: 3, Interesting

    I am biased, but I would say yes, we are more
    efficient.

    That being said, I recommend you ask the question
    to third parties that are using Mono/Gtk#: gfax,
    beagle/dashboard, MonoDevelop

  25. Does mono do SSL? by Anonymous Coward · · Score: 2, Interesting

    That was the big showstopper and why my last project used java. Has it changed?

    1. Re:Does mono do SSL? by miguel · · Score: 5, Informative

      Hello,

      Yes, thanks to the work of Carlos Guzman and
      Sebastien Pouliot we now have support for TLS and
      SSL (it is a fully managed implementation ;-)

      miguel.

  26. Re:Performance comparisons by miguel · · Score: 4, Informative

    Although those benchmarks were done against
    our first JIT. We redid our JIT to address that
    (and many other issues), so the data is relatively
    old (one year+)

  27. workable stack? by BigGerman · · Score: 2, Insightful

    So if I am to start developing a new desktop GUI application, what should I use to make it cross platform? And don't say "java" or "wxwindows".
    It cannot be C#, Windows Forms combination because Mono does not have real support for Windows Forms yet.
    Would I be able to package GTK# in some kind of installable form for distribution on Windows so I can do C#, GTK# on Mono? Is this the right way to think about this?
    Can I use Visual Studio to develop Mono, GTK# applications?

    1. Re:workable stack? by CoolMoDee · · Score: 3, Interesting

      I too am fixing to being developing a new desktop gui app. I first thought 'Java' because I like cross platformness, however, working with Swing is a bitch. So, my idea so far is to take C#, develop on the logic and db access etc. in it (using the ado.net sqlite dll), slap it into a dll. All of a sudden all of brains of my app is crossplatform from Windows to Linux/OS X. Then, all one has todo is reference the dll and build a gui in Windows.Forms or GTK# etc. I will be doing a seperate gui in Windows.Forms and one in GTK# at a later date since windows support is needed first. The above solution would allow you to use Visual Studio to create apps that should run on mono without any problems (assuming you don't take advantage of any windows specific features in the logic dll).

      --
      Jisho - A Japanese English German Russian French Dictionary for the rest of us.
  28. No VB.NET support by Anonymous Coward · · Score: 5, Interesting
    I develop ASP.NET applications using VB.NET, and it's disappointing that the VB.NET development seems to be at a complete standstill. I've been tracking the mbas (Mono Basic) project since the beginning of the Mono project, and there's been virtually no activity on it. It appears to be the work of a single hacker in his non-existant spare time.

    Although the official reason that GnomeBasic was dropped was because of "stagnation", the real reason that it died was because Mono was supposed to take it's place.

    If that happened, I've seen no evidence of it.

    While you can write Mono code in Java, PHP, Logo, Oberon, Pascal, Forth and Lisp, VB is still unavailable.

    It's a pity such a popular language appears to be entirely ignored.

    1. Re:No VB.NET support by miguel · · Score: 5, Informative

      A few updates on VB.NET:

      We have a full time developer working on this
      (Anirban) and you will see a lot of work on
      compliance from him.

      Mainsoft has donated a full VB.NET runtime that
      we are now integrating.

      Rafael and others have just obtained a grant
      from the government of Brazil to complete the
      VB.NET support in Mono.

      And in addition to that, a few open source developers
      work on it on their spare time.

      You are right, the Open Source developers are not
      particularly thrilled at doing VB.NET, but it is
      important to bring developers from Windows, so
      that is why the effort is being funded.

      Miguel.

  29. Mono vs DotGNU by APDent · · Score: 3, Interesting

    I'm sure it is heresy to ask, but am I the only one who's confused by the Mono and DotGNU difference? I read the internetnews article, and the controversy is still pretty opaque. I don't use .NET, and don't have any imminent plans to do so, but if I did, why should I prefer one implementation over the other? Is it purely a religious issue?

    To paraphrase Life of Brian: The only people we hate more than Microsoft are the f*ing Mono developers. Or the f*ing DotGNU developers. Take your pick.

    Splitters!

    1. Re:Mono vs DotGNU by Gopal.V · · Score: 2, Informative
      Depends on whether you like Windows.Forms or Gtk# better ... right now :)

      MDI Windows.Forms in DotGNU , an IDE in Windows.FOrms on DotGNU , Gtk# on DotGNU ...

      Is there any difference you see ?. (sorry working on DotGNU for 2 years without pay has clouded my senses)..
  30. Miguel must be on the road by illsorted · · Score: 4, Funny

    I don't know
    which is worse,
    reading or
    writing comments
    for slashdot on
    my cell phone.

    Keep up the great
    work Miguel.

  31. Meritocracy by SPravin · · Score: 2, Informative

    Its the simple case of Meritocracy dude! The one who contributes the most does have the most say and does end up pulling the strings. Whats wrong with that? Sun is pulling the strings on OpenOffice. And its 16 programmers only recently, since a few months back. Until then it was just some 3-4 developers, someone correct me if I'm wrong.

  32. Diversity by ChaoticCoyote · · Score: 2, Insightful

    I've written free, open, and closed software; I've accepted money from companies big and small, and I've also been paid to work on non-commercial free projects. I try, very hard, to be an agnostic when it comes to conflicts of religion -- such as the debate of Windows vs. Linux, or KDE vs. Gnome, of C# vs. Java. Tools are tools, and it is how they are used that matters.

    And given that case, I do not like how Gnome is being used. Money drives everything, so Novell's involvement only bothers me when I consider their past history of screwing up good things like WordPerfect.

    Foremost among my concerns is how Mono can be used as a wedge by Microsoft; if they can not "beat" free software with legal trickery (e.g., SCO), they can slip behind the lines via involvement in Linux via proxies. Microsoft has proven itself untrustworthy, in my personal dealings with them as well as their highly-publicized run-ins with anti-trust law.

    I'm not against .NET or C#; I've written some C# code, just as I've written Java and C++ and Python and Fortran and COBOL over the years. I dislike proprietary standards (like .NET and Java) because they trap people, limiting choices and input form the community at large. Give me the chaos of C and C++ over the corporate machinations of C# and Java; I will accept a bit of chaos if my tools can evolve based on conceptual and community diversity.

  33. MS preparing for the offensive... by burnin1965 · · Score: 4, Informative

    Do not presume that MS's past use of patents for defensive purposes only means there is a low probability of threat to the Mono project...

    MS has hired an IP manager who not only believes in but has spearheaded IP rampages.

    "Marshall Phelps has long been a vocal advocate of the need for companies to take IP licensing seriously."

    "...he inspired at his previous company, IBM, which is now reaping almost $2 billion a year from licensing its patents."

    "At IBM we did a lot of it. We had lots of lawyers doing preparation and prosecution around the world. At Microsoft, we don't have anyone doing that, but we are going to start."

    "According to Phelps, managers too often fall into the trap of seeing patents as a purely defensive measure, a tool with which to stop the competition in their tracks.

    Phelps says he is pleasantly surprised by just how understanding Microsoft's executives have been. "On these IP issues I don't have much of a problem getting anyone's attention at Microsoft. It starts at the top, and if you've got a guy like Bill Gates who's really concerned about IP and really likes it then you don't have much of a management problem."



    Make no mistake about it, Microsoft has learned to do business by using its capital to get what it wants. Microsoft cannot buy out FOSS but they sure as hell can litigate FOSS directly or indirectly to "stop the competition in their tracks."

    As most everyone here knows, FOSS has been on the Microsoft radar for several years now and they have been very active and very unsuccessful in halting the progress of FOSS.

    This is the last ditch effort on Microsoft's part to stop what is becoming an unstoppable force. It will not matter if the FOSS community produces a better and more technologically advanced product because Microsoft will not be competing based on the merit of their products.

    Whether or not the patents that are filed are frivilous and ridiculous, they will be used offensively to diminish the threat of FOSS to the Microsoft revenue stream.

    Be prepared, there is more of the SCO syndrome to come.

    burnin

  34. Re:Benchmark: Mono vs. Java vs. C++/C by Decaff · · Score: 2, Interesting


    Firstly, if you want to test Java for speed, use IBM's VM - it can be very much faster than Sun's.
    Secondly, I just don't believe these results. Given equivalent code Java is usually quoted as being within 10%-20% of C++ speed (and IBM's VM is faster). I am highly suspicious that exactly equivalent code was not used. Was an Integer class implemented in C++?

    Also, what about memory use? by default, the 1.4 VM allocates 64MB max heap. The test is allocating a million objects. I don't know how Integer is implemented, but if it involves even a few tens of bytes, there is going to be a lot of garbage collecting going on.

  35. 'religious' stuff by dijjnn · · Score: 2, Insightful

    The article details the running argument between DotGNU's Norbert Bollow and Mono's Miguel de Icaza on the issues of commercial involvement, software patents and all the 'religious' stuff that the Free software community holds against the open source community.

    You know, it's funny, but all things considered i've noticed more ire coming from open source people towards free software people than the other way around. I've heard at least seventeen thousand rants on slashdot regarding the 'utter flaming stupidity' or 'rotten worthlessness' of RMS, but very few free software 'zealots' as they're so often called blasting the open source community for their beliefs, or lack therof. I've never heard anyone on slashdot call Linus a wanker.

    why is that?

    i'll tell you why, it's actually very simple. open source advocates are hobbyists at heart. It's true. even if your job, career, whatever focuses on OSS, you're almost inevetably doing it because you enjoy playing with computers. And i mean that in the most positive way; i enjoy playing with computers, i think they're very fun and interesting things. But the software... doesn't really matter as long as you can play with it and do something interesting -- usually meaning that you can see the code. but either way, you're good, as long as there's something interesting to mess around with.

    Free Software 'zealots', on the other hand, are not hobbyists, they are activists. They want to change things for the better. They are very serious, and operate on principle, not interest. That is why they don't flame the slashdot trolls, because the real FS guys -- they're to busy trying to enact permenant change for the better.

    So, the next time anyone (you) talks about, 'oh, the free software people are such a bunch of zealots, i wish they would just calm down'... i hope they think about that ire and from whence it really comes. And then i hope they tell me, because i don't know -- i wish i did. What i do know, is that you're mad, but it's not me you should be mad at.

    --
    ~dijjnn
  36. Re:Benchmark: Mono vs. Java vs. C++/C by Decaff · · Score: 2, Insightful

    Funny, I've never seen Java perform anywhere close to the speed of C and C++ and that benchmark is quite believable.

    This would definitely have been the case 4 or 5 years ago, before hotspot compiling. Java was then typically 10%-20% of the speed of compiled C++, but there is good reason why Java should be pretty much the same speed as C++: All good Java VMs now produce not just native code at runtime, but highly optimised native code resulting from profiling analysis. Java 1.5 even caches the native code to disk, so you are running a pre-compiled binary the next time you start an application - there is no interpretation phase.

    I use Java for numerical work and have found that some math routines run up to 10% faster (on the IBM VM) than the same code compiled with optimisation using GCC.

  37. Re:Efficient...but rather large by miguel · · Score: 3, Informative

    Mono mmap()s the files it loads, so that shows up
    on the VSIZE; The RSS is mostly Gtk/Gdk/Pango/X
    libraries and libc.

  38. Re:Performance comparisons by wernerv · · Score: 2, Informative

    Anyone who wants to compare the performances now instead of looking at the older graphs, can download the C# Scimark or the cli-grande (C# version of the Java Grande Section 1) benchmark and see for themselves. I know what the differences are in performance between the 0.23 version used in the original posting and the current Beta, but it is probably better if people try for themselves.

  39. disagree by dfghjk · · Score: 2, Insightful

    You don't have to look to hard to find FS rantings. Just look at the FSF's pompous, obtuse description of the difference between FS and OS or RMS's silly rant on why Linux must be called GNU/Linux. I don't recall anywhere in the GPL where it says that RMS reserves the right to approve of the name of your product. RMS is called a kook because he is one.

    Perhaps the thousands of rants targeted at RMS are simply reasonable observations or your perception of imbalance reflects your own biases on the issues. One thing's for certain, your characterization of FS contributors as "serious" as opposed to OS "hobbiests" is absurd. I wouldn't characterize BSD contributors as any less serious than GNU people. I would say, though, that they feel their OS license should not be burdened with a political agenda. Quite the contrary, I think many that most support the concept of the GPL are ones who don't contribute at all but like the idea of a license that burdens future software with RMS's personal idealisms.

  40. Re:Real-world examples of tangible benefits by dekeji · · Score: 2, Informative

    You know how Gnome, KDE, and wxWindows each have their own object system hacks on top of C/C++? And how they are all different and incompatible with each other? Well, C# has a built-in standard for that functionality: a standard object system and a standard way of querying objects about what they are and what they can do. So, reflection is one important capability.

    Another one is runtime safety. When you load a shared library into a C or C++ program and call one of its functions, anything can happen: it can corrupt arbitrary data structures in your program and you may not even know it. When you load code dynamically into C#, no matter how buggy it is, it cannot corrupt data that has not been passed to it (unsafe C# code behaves like C/C++, but dynamically loadable code should not be unsafe, and you can enforce that). So, concretely, when you load a plug-in into Gimp# or Apache# and the plugin crashes, you don't have to shut down the application. Runtime safety also prevents buffer overflows and other common security holes.

    Yet another is sandboxing. Sandboxing means that you can restrict the operations of sections of code. That means that you can safely run untrusted code, not just potentially buggy code. As an ISP, for example, you can let your customers load modules into Apache# without having to worry about the module from one customer doing something to the module of another customer.

    You already mentioned garbage collection.

    Those are some of the major benefits of C# (and Java) over C/C++. And they make a big difference. Lack of runtime safety is responsible for most of the application crashes we experience; with runtime safety, applications still have unexpected bugs, but they can usually recover from them. Lack of sandboxing means that people come up with all sort of complex extension methods (e.g., CGI scripts) instead of having a simple, clean interface. Lack of reflection and standard object systems is one of the reasons that makes libraries so wildly incompatible. And, finally, lack of garbage collection is responsible for a huge amount of extra work during library development and for a lot of bugs in C/C++.

  41. But they do not want to develop only for Windows by SuperKendall · · Score: 2, Insightful

    You are not fully understanding the issue. If something were only Windows, they would not go for it. They do want some portability. Mono gives the illusion of such portability, thus they move forward with projects which in the end are really stuck on Windows because of libraries and tools and experience.

    Then of course it only half works (have you seen what most ASP.net projects end up looking like?), but all of the people of any skill have moved on by the time anyone knows that and it's left for some poor fool to keep it all working and adding what changes they can, until they get fed up and quit or convince someone else to take on the old man.

    I have made it my mission to never to be that fool, and have made quite a success of it so far. But I still feel great pity that the whole cycle ahd to happen and lead to this horrible result which easts people up. It doesn't have to be that way.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley