Mono 4.0.0 Release Notes(mono-project.com) |
Mono 4.0.0 Release Notes(mono-project.com) |
It's also a little sad, in a way. It relegates Xamarin to maintainers of a distribution for another operating system. At the end of the day, C# and .NET are now officially first class citizens on Linux. Speaking as someone that actually ran Mono in production for around a year before realizing it was a ridiculous waste of time and money and switching to Windows Server 2012 after finding and filling dozens of untrackable deployment and stability issues in ASP.NET under Mono, I'm definitely not ready to switch back anytime soon, but Mono is definitely foreseeably a real option.
(And there's nothing wrong with being a port factory that deals with obscure path issues all day. That's why they give you a paycheck...)
Still, Xamarin is doing a LOT more than just Mono, much of it extraordinary.
Also delivering something that actually works is an ego boost. Probably attracts the "right" kind of employee for the task, too.
I don't. I mean yes mono <4.0 has a lot of problems, but it works well enough for me to shell out money for applications running on mono and be happy about it.
I'm not sure I understand what you mean here. As I understand things, Mono is still keeping its runtime - JIT, garbage collector (the release notes here mention optimizations to SGen), etc. That means Mono isn't nor is it planning to be "just" a distro for Microsoft's .NET. (But it is using more and more Microsoft library and compiler code.)
So? Who will still use those, if there's a fully supported MS based (+ some open source effort for some edges) alternative?
For iOS I think you would have to figure out how to hook up MS runtime to a LLVM AOT compiler and then do all the work Mono team did to make sure libraries compile/work without JIT.
I really hope Xamarin guys follow Microsoft lead and make entry level version of their product free. It's not just about the ~25$ per month, it's about community as well - say some guy X is maintaining .NET library Y. I write up a port/pull for Xamarin - X goes "sweet but I can't test that since I don't own Xamarin and I can't even include it in my test suite to not break it further". Now I have to maintain a branch of Y for Xamarin and most other people are likely not going to find it or willing to use it.
I don't know which % of their profit comes from the indie licensing but if it's not significant as I suspect I would hope that they see this - it will help both their adoption and the OSS community build tools for their product.
I pay for Xamarin personally and think it's well worth it if doing cross-platform compared to the alternatives out there. I'd continue to do so until there's a very stable open sourced alternative. However, I think Xamarin knows such a possibility could happen and that's why they primarily target enterprise and not individual developers.
C# and .NET will never be first class citizens on unix. This is by design.
Who ten years ago would have imagined so much of .NET would wind up MIT licensed, not just some 'shared source' malarky, on Sourceforge's ~2015 successor?
This isn't the Microsoft of the Halloween memos anymore.
Nowhere near as relevant or enlightening as you think it is in 2015 (wasn't much of an analysis in 1998 either, but still...)
HN mods: can we get a "(draft)" note added to the submission title as well?
Does that go for the runtime as well? Does this mean I can no longer run a (compiled) .NET 2.0 application on Linux?
Please note that this is still a draft and the .NET 2.0/3.5 assemblies will likely reappear as reference assemblies (i.e. containing only method signatures in IL, so you can build against those profiles but not run on them).
http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-...
so updates in Mono are irrelevant to Unity.
> we will also be upgrading to recent versions of the Mono C# compiler, base class libraries, and runtime for use in the editor
> We will continue to use the Mono C# compiler (and perhaps later, Roslyn). We will continue to use the Mono class libraries. All currently supported features and 3rd party libraries which work with Mono AOT should continue to work with IL2CPP. We are only seeking to provide a replacement for the Mono VM and AOT compiler, and will keep on leveraging the wonderful Mono Project.
I don't know man. Mono moved away from Boehm GC to a real gc (SGen) because it never really worked for them bespite feeding it a lot of metadata. Others before them have found out that tanspiling to C/C++ isn't really that great (some of the more recent ones where HipHop PHP).
Second, Microsoft is open-sourcing their whole VM - JIT, GC, as well as compiler and libraries. Compiler and library code is already being utilized by Mono, and more all the time. However, Mono doesn't even have plans to replace their JIT or GC with .NET's, as far as I know (and the Trello board linked to in the article seems consistent with that).
Could Mono do that (once Microsoft's builds on Linux and other platforms Mono needs)? Yes in theory, but it would mean abandoning all the massive amount of work they put into their VM over many years. I don't know whether it would be rational or not to do so.
Licensing isn't a problem for Mono to use Microsoft code. However, Mono's runtime is LGPL licensed, and this has been a source of revenue for them (people pay Xamarin for licenses for platforms like consoles where LGPL is a problem). So to replace the Mono VM with Microsoft's could be a step back there.
There are also a few cases where the code needs to be tweaked so it works correctly on Mono and the platforms it runs on.
But there are several issues:
* reference source code not being portable and not working on Unix. * complex dependencies between the portable and non portable pieces * some bits were only released recently, and without those it was not possible to port other chunks * dynamic happy code high prevents some code from being adopted as Mono can be used as a full static compiler on iOS, Xbox and Playstation.
So as time permits we will bring those over.
We also plan on supporting the "core" model where our contributions will flow back upstream.
But "core" is still a bit undefined
The release notes are also incomplete and not ready for publishing
Miguel
[1] http://www.reddit.com/r/programming/comments/31ezp0/mono_4_r...
Awesome work by team Xamarin + Contributors.
Also, yes, this is a replacement for the VM and AOT, but the libraries in Mono are still very useful. Many of them are currently being replaced by Microsoft code as well, though, so it looks like .NET, Mono and il2cpp will share lots of code that way. Just not the VMs.
let rec beep x =
if x = 0 then x else boop (x - 1)
and boop y =
if y = 0 then y else beep (y - 1)
let main argv =
printfn "%A" (beep 999999999)
0Microsoft hasn't had some crazy awakening like, "Hey, have you guys heard of this open source thing? We should embrace open source and free software!"
They've realized that they're beginning to fall from #1 in the eyes of developers. So they're throwing some bones to try to dissuade people from leaving their platforms.
Microsoft stands to gain NOTHING from open sourcing their platforms besides developer marketshare and perhaps a bit of PR from those who are stupid enough to think that Microsoft suddenly turned altruistic.
They're scared shitless. They shipped a bunch of products that are not so popular with consumers (Windows Phone 7, WP8, Windows 8, Surface Pro, etc.) and developers are starting to care less about targeting people on Windows. This is just damage control.
I hope it isn't enough.
Yeah man, it's all capitalism, they don't do it out of the goodness of their hearts!
What a revelation!
Pass the bong.
Response #2:
They're is no "Microsoft" as a person. That's a company, an aggregate entity which doesn't have either brains or a strategy.
What DOES exist is people running the company. Those people can change (and have, Gates->Ballmer->this new guy), and these new people can have different ideas about how to go about things.
If there are any propritary companies you like, then imagine that MS could be turned to behave like them. There is no "evil brain" behind it all making sure MS will always be like in the 1998 carricature you have in mind.
IBM circa 1999-2004 was hailed by OSS advocates for supporting Linux and OS -- yet the same company was the fearful Microsoft equivalent of its era, a few decades back.
Oh, and this evil AT&T that everybody feared and they had to break up in an anti-trust case? This is the company that gave us UNIX in the first place. (Not to mention Xerox Parc, another company's proprietary research facility, without which we'd have shit today).
And vice versa: those "nice" companies could change course if the wrong people came on board, or their current people saw an opportunity and got greedy.
Response #3:
A lot of us don't give a flying fuck about the success of OSS as some ideological venture.
We like some OSS software, and we like some proprietary software. Heck, some of us make a living creating proprietary software for proprietary companies, from small indie firms to Adobe to Microsoft to what have you.
And even as users, a lot of us won't settle for an inferior OSS product is there's an (affordable) superior proprietary one (and vice versa).
Xamarin did an immense amount of work pushing that boulder up a hill. Glad you got results, but frankly it did a lot of damage to a lot of people. I say this as a Microsoft fanboy and someone who deployed sites you've heard of on Mono + Postgres + CentOS.
In the last year or two many .NET vendors went from "yes, it works on Mono!" to "it should work but no support." This indicates the formal death of the ecosystem to anyone but apologist hobbyists and thankfully we've gotten to a better place now.
A couple of things. First: "This", so far, is anecdotal and doesn't indicate much of anything, really. For something concrete, look at Unity. Maybe you haven't used anything built with it, but everything I've seen come out of it works just fine.
Second: Apologist hobbyists? That's not true and needlessly insulting. If your aim is to just marginalize anyone with a differing opinion please don't expect me to take you seriously.
http://forum.unity3d.com/threads/unity-5-and-mono-runtime.23...
Mono project has been mainly pulling Microsoft's code that is managed, which is the one that should run in any OS unmodified.
That said, I am excited to see the direction Microsoft is heading. It enthused me enough to start using Xamarin when I want to build cross platform for personal projects and to recently switch my day job to a company that uses .net for most of the their software. Not overly fond of cmd.exe and powershell on Windows still, but for most things, there's always Cygwin and it too has come a long way. Main issue is Powershell inherited all of cmd.exe's bad user interaction design (tab completion, select/copy/paste, buffer, history up/down scrolling) when compared to a typical *nix terminal.
Huh, what a fantastic point you make. Because I can trust the British in spite of something they did before any current living human being was alive, I should be willing to forget things that Microsoft did 10 years ago in an industry that hasn't fundamentally changed.
Are you being serious?
Just countering your argument with an equally absurd one.
I probably wouldn't even bother if you hadn't dragged out the tired old "embrace, extend, extinguish" meme/mantra that was popular 10-15 years ago (and then wiki linking to it like no one is aware of it). I respect the differences in our opinions, but having to convey your point by adding that line in 2015 make one's argument a bit hallow.
> equally absurd one.
You must be trolling me. You cannot possibly think that the statement "Britain cannot be trusted, after what they did in the 18th century" and "Microsoft cannot be trusted after what they did in the early 2000's" are on equal footing.
But let's not resort to making this argument about analogies. How about you respond to my statement in the highest comment: What Microsoft can possibly stand to gain, fiscally speaking, from open sourcing .NET? From future profits to the current market.
Okay you're correct about the comparison, it was slightly more absurd to highlight the absurdity I saw in your original remark.
> What Microsoft can possibly stand to gain, fiscally speaking, from open sourcing .NET?
What does Google, Facebook or any other public, for-profit entity have to gain from open sourcing? I don't see Microsoft's motives as being any different. Companies aren't individuals, despite what US Corporate Law states. They're a system composed of the good and bad individuals currently working there and are subject to change. I would keep going, but I would basically end up saying everything coldtea already said to you a couple days ago.
If you you're looking for an official answer, you might want to ask the core .net developer in this thread as I don't work for or have any affiliation with Microsoft.
These aren't hobbyists and they're not definitely not apologists. They're making good money on it. If it was as bad as you say, why bother with the Linux/Mac support to begin with? That's just noise compared to the Windows market.
I also have to point out that an ancient version of mono being problematic doesn't mean mono failed or doesn't work. By my measure, even that old version of mono works.
I don't know what your metric is. People ship working code and make money in parts of the market they wouldn't otherwise have. But I guess that doesn't count in the face of what? your decision not to use it?
It doesn't mean DirectX 6.1 is a great 3D game platform, nor AmigaDOS an awesome place to make a video editor, nor Mono under Unity the bees knees for an iOS game.
It feels like we're debating whether the Mono bullshit was waist deep or merely knee deep. Which doesn't matter because Xamarin and Microsoft just pulled out a giant firehose and washed everything clean.
That is precisely my point. We're still doing it and we will be doing it for the foreseeable.
For example:
> It doesn't mean DirectX 6.1 is a great 3D game platform [...]
If your opinion is DX6.1 didn't work, I think what you really mean is "isn't the best option under ideal circumstances today." I would agree with that assessment for mono, but "cross-platform" is not something anyone puts next to "ideal circumstances" when it comes to the work involved in making it happen.
> It feels like we're debating whether the Mono bullshit was waist deep or merely knee deep.
There is certainly bullshit to contend with in mono, but there's bullshit in Microsoft's too. And every other platform throughout the ages as you helpfully illustrated. A topical example is porting a game in C++ vs. writing working code for mono. C++ is uncontested as a working technology, but I would pick Unity on mono in a heartbeat for that task. So where is the line, really? In development all you can do is keep above it and all the better if you can keep your socks dry.
I get the impression you are very unimpressed with mono's failings and have written it off and want to complain about it. That's fine but it doesn't mean the hyperbole you've chosen to express yourself is accurate.
But the goals and history of the project were clear. Meanwhile if you tried to run a desktop app on Mac or a server app on Linux, it was a total fucking debacle.
Xamarin punted desktop, then they punted server, and they landed on mobile. And even then they couldn't keep up or keep compatible.
"It worked" much the same way "the Space Shuttle worked." Awesome effort, cool project, didn't meet spec, didn't meet goals, and it had one nine of uptime before it repeatedly crashed.
I remain grateful for the work they did. But I'm glad things are moving forward sensibly now. Because unlike WINE, they really never got close.