Re: [Mono-dev] Google Summer of Code project ideas

2012-04-04 Thread Konrad M. Kruczyński
Hi, I have an idea of Summer of Code project. I call it Smart usings for C#. I'm writing code not only in C#, but in Java too, and I noticed one difference between C# and Java IDEs: while most java IDEs can automatically add imports (usings in C#), it seems that only ReSharper can do it in

[Mono-dev] Nuget and xbuild

2012-02-01 Thread Konrad M. Kruczyński
Hi all, during playing with nuget I discovered that xbuild has some problems with playing with nuget's targets. Specifically nuget.targets contains lines like that one: PackagesConfig$([System.IO.Path]::Combine($(ProjectDir), packages.config))/PackagesConfig During the build one can see errors

[Mono-dev] Reference queue

2012-01-23 Thread Konrad M. Kruczyński
Hi, I've just noticed that runtime offers mono_gc_reference_queue_new function, which can be used to register callback executed after object is collected. Is there a possibility of exporting this functionality to class library to have it available from C# code? (Mono.Runtime or sth like that).

Re: [Mono-dev] Reference queue

2012-01-23 Thread Konrad M. Kruczyński
Thanks for the answer. Here is the case: Let's say I have a class which contains some data in temporary file (for example some kind of cache which should not stay in memory). I'd like to have this file removed when object of this class dies. I can implement a finalizer but if I do this, object

[Mono-dev] Stopwatch's frequency

2012-01-03 Thread Konrad M. Kruczyński
Hi, lastly I've explored Stopwatch class implementation in Mono. It seems that it has hardcoded 100ns resolution. However examining mono_100ns_ticks function reveals that is written well and uses platform specific high resolution timer. My question is: why the initializer of the Frequency field

[Mono-dev] HeapShot like GUI

2011-08-31 Thread Konrad M. Kruczyński
Hi, is there some kind of HeapShot like GUI for Mono profiler? -- Regards, Konrad Kruczynski ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Warnings version conflict mono 2.10 xbuild

2011-08-10 Thread Konrad M. Kruczyński
It happened to me when I had references to libraries compiled against 3.5 (which in turn referenced System etc.) in an assembly compiled against 4.0 (which referenced System too). In my case I could just recompile those libraries to 4.0. Hi all, I'm developing on windows in Visual Studio

Re: [Mono-dev] Unable to build current master on Linux

2011-05-23 Thread Konrad M . Kruczyński
Hi Leszek, I'm trying to build current master branch on Linux, today it keeps failing with (...) I can confirm that. Using git bisect I was able to find that first time compilation has been broken after 5c82e32b676 commit, i.e. using new versions of functions to moving and zeroing memory.

Re: [Mono-dev] Unable to build current master on Linux

2011-05-23 Thread Konrad M . Kruczyński
Hello again, I'm trying to build current master branch on Linux, today it keeps failing with (...) I just pulled from origin and discovered that it is fixed now by revert by grendello. And that's the reason, reverting gc.c did not fix build - it was just a coincidence. Sorry to bother you,

Re: [Mono-dev] JIT register binding

2011-05-21 Thread Konrad M . Kruczyński
Hi Miguel, Could you try the same code, but using LLVM as the code generation engine? As expected, llvm generation is as optimal, as can be seen: movsd 0x8(%ebx),%xmm4 movsd 0x8(%edi),%xmm1 subsd %xmm1,%xmm4 movaps %xmm4,%xmm1 mulsd %xmm1,%xmm1 movsd 0x10(%ebx),%xmm2 movsd

[Mono-dev] JIT register binding

2011-05-17 Thread Konrad M. Kruczyński
Hello all, lastly I was looking at n-body test on shootout (http://shootout.alioth.debian.org/u64q/performance.php?test=nbody) in the context of Mono. Program is very simple so it is a nice piece to analyze sources of performance problems. I've also contributed SIMD version, but it has

Re: [Mono-dev] [MonoTouch] what happens with MonoTouch and Mono for Android now

2011-05-16 Thread Konrad M. Kruczyński
On 2011-05-16 22:13, Mauricio Henriquez wrote: ...and that on Miguel blog was the suspected good news??mmm, very uncertain the mono future is... I really sad for the mono team situation and the decision of Attachamate, specially after such a great last couple of years of mono related

Re: [Mono-dev] FULL-AOT problem in SUSE 11.2

2011-05-07 Thread Konrad M. Kruczyński
Hello, On 2011-05-07 20:18, Zoltan Varga wrote: Hi, You don't need full-aot, it is full platforms where no JITting is possible, on normal platforms, it won't lead to much perf increase. Also, AOT does not increase performance, it only decreases startup speed, since it avoids JITting

[Mono-dev] Pull requests on bug fixes

2011-05-05 Thread Konrad M. Kruczyński
Hi, lastly I posted two pull requests corresponding to bugs founded in bugzilla. One of these has even already be closed, however nobody showed interesting in pulling my changes or rejecting them. Could anyone with privileges check it out? One can find requests here: