Live data from Hacker News

Mono 3.2.7 is out

news.mono-project.com

71–80 of 116 posts

Re: Mono 3.2.7 is out

#71
post #62
post #59

Earlier quoted context omitted.

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. Happ…

Haven't you heard it? The mobile is the new desktop.

I wonder how much of the mobile market cross-platform toolkits have. I've used Titanium, but only for exceedingly simple apps. Anything else is done with the native tools. I know there are apps that require complex device-side logic but, most of the time (at least for me), almost all of the logic runs on a server and all that's left is user interface management.

Re: Mono 3.2.7 is out

#72
post #10

Earlier quoted context omitted.

Rdio is probably one of the bigger success stories for Xamarin/Mono You can see a list here: https://xamarin.com/apps

rdio is using the xamarin tools for ios and android. mvc + mono website on linux success story - i haven't seen one.

I've created a Mono buildpack for Heroku that runs MVC amongst many other things: https://github.com/friism/heroku-buildpack-mono

Re: Mono 3.2.7 is out

#73
post #33

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

What *nix needs is an OWIN compatible web server.

You can run OWIN apps self-hosted on Mono/*nix. Here's my write-up for doing that on Heroku: http://friism.com/running-owin-katana-apps-on-heroku

Re: Mono 3.2.7 is out

#75
post #18

Earlier quoted context omitted.

no it's not. it's a .NET clone of sinatra. it's a web framework. it has little to nothing to do with node.js. although .net have pretty powerful multiprocessing and async routines, and can therefore be connected to node.js without too much effort.

How does it compare to Web API?

Nancy, like Sinatra, is a general-purpose web framework. You could implement an API in it, or you could implement a user-facing website.

Nancy and Sinatra are typically used for smaller sites. They're based around routes, controllers, and views but they don't (for better or worse) lock you into an MVC project structure like ASP.Net MVC or Rails.

Web API, by comparison, is pretty much "just for implementing a web-based API" and not something you'd want to use for a user-facing web application that serves up HTML pages.

Re: Mono 3.2.7 is out

#76

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…

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.

Fedora isn't much better, Monodevelop is stuck at 2.8.8.4 even. Luckily there's an OpenSUSE repository mentioned elsewhere in this discussion which has CentOS/Debian/Fedora/Ubuntu in it as well.

Re: Mono 3.2.7 is out

#77

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

On [1], what does the underscore mean? public SampleModule() { Get["/"] = _ => "Hello World!"; } [1] http://nancyfx.org/

As others have said, it's idiomatic to name a lambda param "_" if you're not using it.

To perhaps clarify a bit, here's what the Hello World example would look like if we added a second route that uses the lambda parameter, and a third route that does something else, and a fourth route that renders a view template.

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

    Get["/hello/{name}"] = p => ("Hello, " + p.name + "!");

    Get["/something-complicated"] = _ => {
      // complicated stuff happens here
      return "OK... we're all done";
    };

    // A variety of template engines are supported
    Get["/my-resume"] = _ => View["resume.cshtml"];
   
  }

Re: Mono 3.2.7 is out

#78

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…

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.

Re: Mono 3.2.7 is out

#79
post #43

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.

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.

Re: Mono 3.2.7 is out

#80

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…

>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?

Post reply on HN