Re: [Mono-dev] Mono Wizard

2013-03-11 Thread Autif Khan
It depends on what kind of wizard Do you mean like Oz or Gandalf or Dumbledore? For Oz, you should try one of the brick roads - i think yellow. I am not sure happens with red. For Gandalf - You will need white - grey has been out of development for a while. Lastly, Dumbledore, after a major

[Mono-dev] ObservableCollection and BindingList Serialization

2013-03-11 Thread Neale Ferguson
Hi, ObservableCollection was moved from Windows.Base to System and TypeForwardedTo and TypeForwardedFrom tags were added to the relevant source code. ObservableCollection is serializable but when done on a Windows system using .NET = 3 the serialized object will still contain the WindowsBase,

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Ian Norton
On Sun, Mar 10, 2013 at 02:19:55PM +, edward.harvey.mono wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of imreolajos Hi all! SpeedTest.cs http://mono.1490590.n4.nabble.com/file/n4658877/SpeedTest.cs Did you read that

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Ian Norton
Don't forget too, that process creation is very expensive on windows, .Net sort of shortcuts this because it is deeply welded into windows. On Mon, Mar 11, 2013 at 09:07:00AM +, Alan wrote: The majority of the time in this benchmark is spent doing array bounds checking. If you change it

[Mono-list] UnicastIPAddressInformation.IPv4Mask not implemented issue

2013-03-11 Thread Rubén Segura
Hi, I'm working on a cross-platform (Windows-Linux) client-server application. The server process will be installed on a Windows 2008 server machine and the client process on a Ubuntu 12.04. All Windows code was developed with Visual Studio 2010. I have developed a basic net layer (as a dll

[Mono-list] Mono for Android: how to use a non-standard widget from axml?

2013-03-11 Thread Dimitar Dobrev
        Hello,     I have a class in my project that is a widget. I know I can use it in code as a workaround but can I use it in axml as well? If so, how do I configure it?     Thanks,     Dimitar Dobrev ___ Mono-list maillist -

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread edward . harvey . mono
From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Andres G. Aragoneses Edward, he's not comparing managed vs. unmanaged, but .NET vs Mono. I made a few comments on managed vs unmanaged, and the bulk of my message was .Net vs Mono. Read it

Re: [Mono-list] Mono for Android: how to use a non-standard widget from axml?

2013-03-11 Thread Jonathan Pryor
On Mar 11, 2013, at 8:07 AM, Dimitar Dobrev dpldob...@yahoo.com wrote: I have a class in my project that is a widget. I know I can use it in code as a workaround but can I use it in axml as well? If so, how do I configure it? The monodroid list [0] or the forums [1] would be a better

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Jonathan Pryor
On Mar 11, 2013, at 6:04 AM, Ian Norton ian.norton-bad...@thales-esecurity.com wrote: Don't forget too, that process creation is very expensive on windows, .Net sort of shortcuts this because it is deeply welded into windows. Not really. A process is a process. That's why the .NET team

Re: [Mono-list] Mono for Android: how to use a non-standard widget from axml?

2013-03-11 Thread Dimitar Dobrev
    I had already tried that but I kept getting Error    36    Error parsing XML: unbound prefix    .../Resources/layout/locationslayout.xml in Visual Studio. I use Mono for Android 4.4.55.Any other ideas? From: Jonathan Pryor jonpr...@vt.edu To: Dimitar

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Andres G. Aragoneses
On 11/03/13 13:21, edward.harvey.mono wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Andres G. Aragoneses Edward, he's not comparing managed vs. unmanaged, but .NET vs Mono. I made a few comments on managed vs unmanaged, and the bulk

Re: [Mono-list] Mono for Android: how to use a non-standard widget from axml?

2013-03-11 Thread Dimitar Dobrev
        I've managed to fix it. Thanks for your help.     Dimitar From: Jonathan Pryor jonpr...@vt.edu To: Dimitar Dobrev dpldob...@yahoo.com Cc: mono-list@lists.ximian.com mono-list@lists.ximian.com Sent: Monday, March 11, 2013 3:53 PM Subject: Re:

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Olajos, Imre
Jonathan, I didn't build the mono runtime. I just took the installable Windows distributable from the Mono Download page. Is that built with our without LLVM support? (And if it's built without LLVM support, then why is the -llvm option offered at all?...) -- Imre From: Jonathan Chambers

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Olajos, Imre
Edward, If you want to do a performance comparison, you need to find a job that you actually care about, and hardware that you actually care about, and test on that. This may surprise you, but this is a job I care about on a hardware I care about. I have simplified it a lot, of course -

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Olajos, Imre
Alan, This is NOT just a benchmark - my actual code looks similar to this, except it does a lot more things inside the body of the do-while loop. If you change it from a ListT to a T[], the time taken to execute the test is about half. I'm sure that's true (and I will try that), but what

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Jonathan Chambers
Imre, Mono can load llvm dynamically, and if it fails to do so it outputs to stderr. I am 99% sure the packages for Windows are not built with LLVM support. In that case I would hope you get some output to stderr when running? Thanks, Jonathan On Mon, Mar 11, 2013 at 12:04 PM, Olajos, Imre

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Olajos, Imre
Nope, I get no errors whatsoever. -- Imre From: Jonathan Chambers [mailto:jonc...@gmail.com] Sent: Monday, March 11, 2013 9:31 AM To: Olajos, Imre Cc: mono-list@lists.ximian.com Subject: Re: [Mono-list] Poor Mono performance Imre, Mono can load llvm dynamically, and if it fails to do so it

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Olajos, Imre
Alan, So, I did try your suggestion and replaced Listint with int[]. It did improve the performance of the code, but as I suspected, it also improved the performance in .NET, so the relative performance difference between the two CLIs is still 80-90%: Windows .NET = 0.479 sec Mono 3.0.6 with

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Drew DeVault
I think this is important to address. The biggest grievance I have with Mono (and that many I've spoken with have) is the poor performance. It seems like most of this thread is just excusing away the poor performance, but not trying to address it. It really is a problem. On Mon, Mar 11, 2013 at

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Ian Norton
On Mon, Mar 11, 2013 at 04:12:09PM +, Olajos, Imre wrote: Edward, If you want to do a performance comparison, you need to find a job that you actually care about, and hardware that you actually care about, and test on that. This may surprise you, but this is a job I care about on

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Andres G. Aragoneses
You running Mono on Windows? You should take in account that Windows as a platform is not a priority, because in this OS you can already run .NET through the Microsoft stack. So it may be possible that you're hitting a performance bottleneck that doesn't exist in Unix. On 11/03/13 16:34,

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Robert Jordan
On 11.03.2013 17:19, Olajos, Imre wrote: Is there anything I can do that would bring their relative performance difference closer to each other (e.g. below 20-25%)? So you didn't find the well-hidden --make-me-as-fast-as-ms switch, did you? :) You're comparing MS' 64-bit runtime with a 32-bit

Re: [Mono-list] Poor Mono performance

2013-03-11 Thread Nigel Delaney
I played around a bit with this and also noticed a very substantial MS versus MONO difference, some notes on this: *The biggest performance difference here is not the mono vs. .NET but rather how the program is written. Right now the bulk of the code on both Mono and .NET is spent on the

Re: [Mono-list] Installing Mono 2.10.5+ on OpenSuse 11.4

2013-03-11 Thread IBBoard
Sorry, Brad (and future people reading a disjoint email trail). Somehow, Evolution has lost the reply to my email below. If you want to compile once and run in multiple locations then you might be able to do the ./configure make once, copy the files around and then do sudo make install. I've

[Mono-list] callvirt instruction performance penalty?

2013-03-11 Thread Nigel Delaney
Hi All, I had a quick question I was hoping someone could answer about the always emit callvirt instruction pattern. I had always understood that one of the great advantages of C# over Java was, as Miguel put it on his blog about porting Android from java, virtual methods were made opt-in,

Re: [Mono-list] callvirt instruction performance penalty?

2013-03-11 Thread Jonathan Pryor
On Mar 11, 2013, at 8:47 PM, Nigel Delaney nigel.dela...@outlook.com wrote: However, I was surprised to learn when disassembling code that both Mono and Microsoft seem to ignore this optimization, and emit all method calls as callvirt instructions in IL regardless of whether or not they are

[Mono-list] Seemingly impossible null reference exception running managed code with embedded Mono on Linux

2013-03-11 Thread Jean-Michel.Perraud
Hi, I am baffled by a couple of bugs I noticed running Mono (embedded in R) on a Linux box. * Issues occur on a Debian64. Occurs with Mono 2.10.8 as well as when running on a recompiled mono using the 3.0.5 tag. * Annoyingly, the issue disappears if I try to diagnose by attaching to the