Has anybody ported code from .Net to Mono?
-
Well, it does run a bit slower then what you get on a PC but all in all its OK and usable. The graphics in themselves are nothing special: just a tabbed Windows form with some buttons/sliders etc... The amazing bit is that the windows Exe file and its DLL's runs so well on a Linux ARM based system. Who knows: If things keep going this way one day Linux and Windows may even decide to get married. :-D One thing is for sure: a lot has happened since I started coding some 39 odd years ago on my Junior Computer ( Kim 1 clone )
I still have mine. COSMAC Elf, 41 years ago. I'm not really worried about the 3D rendering, but it would be neat if I could salvage my UI and actually get it running acceptably on a Pi.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
CodeWraith wrote:
Their stuff can't be so free or good that I would want it.
Can't be so bad if your target is Mono since it is, at its core (no pun intended) a replacement for .NET. That's even worse than those who say they despise everything Microsoft, but create an email client that's designed to look exactly like Outlook.
Anything, but I don't want to have anything to do with Mickeysoft anymore.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
CodeWraith wrote:
Visual Studio is out of the question
It shouldn't be. It has been the best IDE hands down for decades and best of all, it's free. You gotta have a lot of blind hate to feel the way you do. :^)
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
CodeWraith wrote:
Visual Studio is out of the question
It shouldn't be. It has been the best IDE hands down for decades and best of all, it's free. You gotta have a lot of blind hate to feel the way you do. :^)
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
No, not at all. They can do what they want, but I see no reason to stick around and watch. I think I'm better off without them.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
No, not at all. They can do what they want, but I see no reason to stick around and watch. I think I'm better off without them.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
You're funny.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
Good. In that case I still have the option to become a CodeCommedian. In that case I would need Mickeysoft again. They have become a never ending source of things to crack jokes about.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Good. In that case I still have the option to become a CodeCommedian. In that case I would need Mickeysoft again. They have become a never ending source of things to crack jokes about.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
CodeWraith wrote:
They have become a never ending source of things to crack jokes about.
Usually, you're the only one laughing though. :laugh:
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
Just curious, but since you dislike everything MS so much, why are you still with .Net? I hear Python and PHP are both really popular on Linux.
Wrong is evil and must be defeated. - Jeff Ello
-
CodeWraith wrote:
They have become a never ending source of things to crack jokes about.
Usually, you're the only one laughing though. :laugh:
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
A pity. Laughing is still the best way to show someone your teeth.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Visual Studio Community Edition is 100% free! :) The only limitation is your imagination! :) (And also legal, cant be used in entreprise with 5 or more developers) At any rate that's the one I use at home ;P Otherwise.. have you considered [vi](https://www.vim.org/download.php)?! ;P BTW the spiritual successor of SharpDevelop might very well be Visual Studio Code! Works on Linux and MacOS too.
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
Super Lloyd wrote:
Visual Studio Community Edition is 100% free!
For teams of 5 or fewer. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
Just curious, but since you dislike everything MS so much, why are you still with .Net? I hear Python and PHP are both really popular on Linux.
Wrong is evil and must be defeated. - Jeff Ello
That's one of the best questions. I have a bad habit that is only a few years younger than Mickeysoft. I write libraries and try to reuse as much code as I possibly can. Since 2002 I have accumulated quite a stack of maintainable, expandable and reliable code, despite Mickeysoft's best efforts to prevent me from maintaining it. That's the biggest issue I have with .Net itself, but that's already reason enough to look for a better alternative before they pull away the rug from under my feet yet again. It's not even too radical to start all over again, because Mickeysoft will sooner or later make that decision for me.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Since the end of Sharp Develop I have been looking for a replacement. Visual Studio is out of the question. Not for free and not even if they actually wanted to pay me money to use it. Linux and Mono look far more attractive to me now. Has anyone ported half a ton of existing code to Mono? Was it easy or problematic? If this does not work out, then I will have little choice but to throw everything away and go home to C++. Better a bitter end than bitterness without an end.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
CodeWraith wrote:
Has anyone ported half a ton of existing code to Mono?
Yup, most of my private codebase runs on both platforms, without recompiling.
CodeWraith wrote:
Was it easy or problematic?
Easier than I expected; WinForms just works, but there's no WinForms designer. The only difference that bit me was how they handle attributes on properties in the PropertyEditor. One gives precedence to attributes on the object, the other on properties of the parent of the object. It will not be the only subtle difference, but it is the only one I encountered. Installing ASP.NET on an existing Apache server is a pain, but there's distros that contain them preconfigured and ask you nicely if you want Mono with your server. Also, no SQL Server*, which is what I missed most. Visual Studio is still the best IDE, and there's a community edition. I'm using an older version of MonoDevelop, which works fine for me. Haven't touched Gtk# yet, and writing an installer is a real pain under Linux. There's dependencies in every bloody package, and a new version often means also updating those dependencies who in turn have dependencies of their own. ..but Mono itself, as an environment to run .NET software is nice. The tools aren't that polished, and mono is no IDE, just a framework. Also, Visual Studio Code - Code Editing. Redefined[^] also works on Linux. Install OpenSuse using a pendrive and give it a try over the weekend with some of your existing code. Dual-booting works, and 20Gb goes a long way under Linux. If you have a NAS to share code between those two platforms, even better. Check your router if it has an USB-port and plug in an old pendrive if possible. Linux can read/write Windows partitions, but not the other way round. --edit *) There is now, as I been told in this thread. Haven't tried it yet, but would be nice if it performs similar.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about p
-
CodeWraith wrote:
Has anyone ported half a ton of existing code to Mono?
Yup, most of my private codebase runs on both platforms, without recompiling.
CodeWraith wrote:
Was it easy or problematic?
Easier than I expected; WinForms just works, but there's no WinForms designer. The only difference that bit me was how they handle attributes on properties in the PropertyEditor. One gives precedence to attributes on the object, the other on properties of the parent of the object. It will not be the only subtle difference, but it is the only one I encountered. Installing ASP.NET on an existing Apache server is a pain, but there's distros that contain them preconfigured and ask you nicely if you want Mono with your server. Also, no SQL Server*, which is what I missed most. Visual Studio is still the best IDE, and there's a community edition. I'm using an older version of MonoDevelop, which works fine for me. Haven't touched Gtk# yet, and writing an installer is a real pain under Linux. There's dependencies in every bloody package, and a new version often means also updating those dependencies who in turn have dependencies of their own. ..but Mono itself, as an environment to run .NET software is nice. The tools aren't that polished, and mono is no IDE, just a framework. Also, Visual Studio Code - Code Editing. Redefined[^] also works on Linux. Install OpenSuse using a pendrive and give it a try over the weekend with some of your existing code. Dual-booting works, and 20Gb goes a long way under Linux. If you have a NAS to share code between those two platforms, even better. Check your router if it has an USB-port and plug in an old pendrive if possible. Linux can read/write Windows partitions, but not the other way round. --edit *) There is now, as I been told in this thread. Haven't tried it yet, but would be nice if it performs similar.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about p
Thanks. Sounds like it's worth a try. Any idea about good old SOAP webservices? I used them quite a lot in the service layers.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Thanks. Sounds like it's worth a try. Any idea about good old SOAP webservices? I used them quite a lot in the service layers.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
Would be supported; Mono is lagging a bit on the newest C# language features, and XSP is a better (easier) choice than Apache. No WPF UI either, obviously.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
-
Anything, but I don't want to have anything to do with Mickeysoft anymore.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Would be supported; Mono is lagging a bit on the newest C# language features, and XSP is a better (easier) choice than Apache. No WPF UI either, obviously.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
That's not a problem. I have my own UI and I already know that the graphics library it is based on was resurrected under Mono after Mickeysoft had killed it.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
So again, if that's truly the case, why are you trying to move code to a platform that is simply a re-implementation of a Microsoft technology?
You can read the full version some posts further down. Short version: Damage control. I have a ton of code that survived Microsoft's best efforts to make it useless. If they succeed, I will have to move on anyway, but why not at least try to salvage it if that is possible,
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
I did not want to go there, but I have enough of Mickeysoft. Their stuff can't be so free or good that I would want it.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
Q: What's the difference between C++ and CodeWraith? A: None, they both shoot themselves in the foot! :O ;P
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
Super Lloyd wrote:
Visual Studio Community Edition is 100% free!
For teams of 5 or fewer. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
So you count me as at least 6? I'm honored. :-)
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Q: What's the difference between C++ and CodeWraith? A: None, they both shoot themselves in the foot! :O ;P
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
Yeah, gone are the days when I plucked targets out of the sky at 50km and thought that was an easy shot. :-) But I was also not bad at all with the buzzsaw at 300 meters. 15 rounds in the belt, four targets hit, 8 holes in the inner circle, 7 holes in the outer circles, no misses.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.