top | item 7305379

Mono 3.2.7 is out

109 points| ot | 12 years ago |news.mono-project.com | reply

112 comments

order
[+] CoffeeDregs|12 years ago|reply
The lack of benchmarks comparing Mono to the CLR (C# VM) is very frustrating. Apparently, the lack of benchmarks is due to Microsoft's license forbidding the publication of benchmarks without Microsoft's permission (common practice among commercial vendors?).

Fortunately, we have the Benchmarks Game and that shows Mono performing well [on synthetic benchmarks...] when compared to a variety of languages.

vs Java: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

vs Go: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

vs Python: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

[+] bhauer|12 years ago|reply
We have included Mono in our Framework Benchmarks project for some rounds now. However, we have recently set up a new hardware environment and we're not having any luck getting Mono installed on that environment [1]. It's simply not installing correctly for us. We're not Mono experts, so we're probably doing something wrong.

If anyone is interested in lending a hand, we'd appreciate it since we'd like for the Mono tests remain in Round 9. Thanks!

[1] https://github.com/TechEmpower/FrameworkBenchmarks/issues/78...

[+] antihero|12 years ago|reply
Can someone not just make some code that does the benchmarks, and publish that?

Then some other helpful person can pastebin the actual results.

[+] mands|12 years ago|reply
I think if you run a recent Mono, with the sgen GC using the LLVM backend and turn off array bounds-checking performance is supposed to be pretty impressive. (I recall Miguel saying within 10-20% of C++).

Having said that, I've had no performance issues running 3.2 on Linux in general.

[+] igouy|12 years ago|reply
>>Microsoft's license forbidding<<

I seem to remember that changed; and for a couple of years the benchmarks game did provide measurements for C# F# (.Net and Mono) and Java on MS Vista.

[+] romanovcode|12 years ago|reply
MVC5 still not working tho. Good thing we have Nancy.

Edit: Seems like many do not know about Nancy, check it out, some even say it's better than MVC. The good side is that it's 100% compatible with Mono because they run tests against it too so you can host your C# websites on Linux.

Github: https://github.com/NancyFx/Nancy

[+] skrowl|12 years ago|reply
First time I've heard of Nancy. Anyone got a URL since it's name is so terrible that you can't google it?
[+] Xdes|12 years ago|reply
What *nix needs is an OWIN compatible web server.
[+] rjzzleep|12 years ago|reply
didn't know mvc5 was out. but i can tell you mvc4 with f# was nifty weeeee

(as nifty as mvc can possibly be anyway)

[+] yawgmoth|12 years ago|reply
On [1], what does the underscore mean?

public SampleModule() { Get["/"] = _ => "Hello World!"; }

[1] http://nancyfx.org/

[+] manuletroll|12 years ago|reply
Nancy is indeed an excellent framework, I use it for practically every web project at my day job these days.
[+] antihero|12 years ago|reply
How does Nancy stack up to ServiceStack?
[+] edwinnathaniel|12 years ago|reply
I tried Mono a few months ago because I was thinking of writing cross-platform (ish) desktop GUI application.

My dev platform is Ubuntu so I downloaded MonoDevelop and load the GtkSharp example (or maybe it was just the skeleton project template). Hit compile, bunch of errors showed up. Apparently I don't have the GTK libraries. Googled a bit, it looks like I had to download gtk-dev, compile, and do a bunch of things before I can run a "Hello, World" GTK sharp app.

I wade through the net and the tutorials and documentations are either for older versions or just weren't there (for example, integrating with NuGet).

It's a bit sad because I'm sure there are tons of engineering effort went into Mono but it just doesn't feel polished enough.

It's open source but lately I felt that it's more of a teaser for Xamarin than anything else.

[+] curveship|12 years ago|reply
That sounds like the kind of growing pains experienced when you set up any new largish development environment. If we're up and running with ecosystem X, we forget how much work it took to get there, because it was amortized over time. When we start out with a new ecosystem Y, we spend a lot of time in the steep part of the learning curve before reaching Hello World. Java is, IMHO, the worst for this.

Just curious, I've never installed Mono, but my first thought would have been to look for a PPA. Are there none out there? Let someone else figure out the dependencies and configs for you.

[+] Sir_Cmpwn|12 years ago|reply
Ubuntu and friends are really, really bad at packaging Mono, and have been for a long time. Mono development on Arch Linux is delightful.

I suggest trying to compile it all yourself instead of going for packages on Debian-derived systems.

[+] coldtea|12 years ago|reply
>My dev platform is Ubuntu so I downloaded MonoDevelop and load the GtkSharp example (or maybe it was just the skeleton project template). Hit compile, bunch of errors showed up. Apparently I don't have the GTK libraries. Googled a bit, it looks like I had to download gtk-dev, compile, and do a bunch of things before I can run a "Hello, World" GTK sharp app.

Well, that's how it works on Linux. What else did you expect? That they'd bundle all the Gtk stuff statically?

[+] baldfat|12 years ago|reply
I am still so frustrated that Mono got lambasted for being a M$ trap. It was the biggest FUD I have ever read. Hope to see mono return to use in Linux community again.
[+] rbanffy|12 years ago|reply
Why?

The nix world never suffered from lack of decent languages, compilers, development tools, ecosystems and runtimes. The only benefit Mono gives nix users is to write software that's easy to run on Windows and that barely registers on most priority lists. It's been, IIRC, 6 years since I last wrote a "real" desktop app. I did it in C#, but Mono couldn't run it because it relied on Windows-only GUI components. Happily, it was never intended to be deployed on non-Windows environments and everyone was happy.

If I needed to write a desktop application (that's so 90's) that runs identically on both Windows and Linux, I'll just write it in Java.

[+] mands|12 years ago|reply
Agreed, it was disappointing. There were some trust issues surrounding Mono but also an excessive amount of hyperbole.

A real shame, as Mono is great technology with good GTK bindings and integrated well with the GNOME system. I think having Mono as a first-class GNOME environment would have been interesting.

I've spent the past week using Monodevelop and F# to develop compiler tools under Fedora and have thoroughly enjoyed it. Not to mention F# is well supported within IDE, almost equal to VS.

[+] nbevans|12 years ago|reply
Roslyn and the MS/Xamarin partnership suggest Mono will be benefiting in some big ways in the coming year.
[+] skrowl|12 years ago|reply
STILL no Ubuntu packages. The official repos are back in 2.x.x land.
[+] romanovcode|12 years ago|reply
Well compiling it from sources is not THAT hard.

    git clone git://github.com/mono/mono.git
    cd mono
    ./autogen.sh
    make
    sudo make install
[+] fiatmoney|12 years ago|reply
It's coming in 14.04. Mark your calendar for April 17th.
[+] pjmlp|12 years ago|reply
Great work! Now if Unity would just update their runtime....
[+] TillE|12 years ago|reply
That situation is now verging on the comical. Is it really so hard to cut a new deal with Xamarin? Even if they can only offer the new Mono version for paid users in Unity Pro, they need to do something.

If Unity go another major version still using Mono 2.6, they seriously risk losing ground among developers making CPU/memory-intensive games. Or even those concerned about optimizing for mobile platforms.

[+] gamblor956|12 years ago|reply
I recall reading somewhere that Unity wasn't going to upgrade its Mono framework until Mono 4.0. I can't find the link, so I'm hoping it was just a rumor.
[+] melling|12 years ago|reply
"Performance under some benchmarks was improved by more than 20%."

How is Mono's JIT performance compared to Microsoft's? Are they nearing parity?

[+] patja|12 years ago|reply
What are some big poster-child success stories for running MVC on Mono in production?
[+] DrJokepu|12 years ago|reply
I believe 7digital use MVC on Mono in production with success.