Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread Jb Evain
Hey Pablo, On 11/11/09, pablosantosl...@terra.es pablosantosl...@terra.es wrote: Any experience anyone using Interactive C# shell (http://www.mono-project.com/CsharpRepl) embedded into a server process for monitoring purposes (accessible through a socket maybe?) It's doable using the

Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread Miguel de Icaza
Hello, Sure, I've seen that. My question is if anyone already played with it, introducing it into an app and giving a network access to it. The problem today with CSharp and attach is that it is not integrated with the main loop of an application, so it is inherently unsafe. For Gtk#

Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread pablosantosl...@terra.es
Sure, I've seen that. My question is if anyone already played with it, introducing it into an app and giving a network access to it. Jb Evain wrote: Hey Pablo, On 11/11/09, pablosantosl...@terra.es pablosantosl...@terra.es wrote: Any experience anyone using Interactive C# shell

Re: [Mono-dev] Should we replace MemoryStream?

2009-11-11 Thread Grzegorz Sobanski
* Avery Pennarun apenw...@gmail.com [2009-11-10 17:34]: might or might not result in the array being reallocated even in the *naive* implementation. Each reallocation will cause a copy of the entire buffer every time. Conversely, a chunked implementation would reallocate-and-copy the data

[Mono-dev] gmcs version #define

2009-11-11 Thread Stefanos A.
According to the documentation, gmcs #defines the __MonoCS__ constant when compiling C# code. However, it doesn't seem to provide a constant that identifies the compiler version. My use case: I have added a workaround to avoid some code which causes gmcs 2.0-2.4 to choke. Since this specific

Re: [Mono-dev] gmcs version #define

2009-11-11 Thread Jonathan Pryor
On Wed, 2009-11-11 at 17:22 +0200, Stefanos A. wrote: According to the documentation, gmcs #defines the __MonoCS__ constant when compiling C# code. However, it doesn't seem to provide a constant that identifies the compiler version. ... Does this sound like a reasonable feature? Would it be

Re: [Mono-dev] Interactive C# shell for server monitoring

2009-11-11 Thread pablosantosl...@terra.es
Ok, thanks Miguel. Miguel de Icaza wrote: Hello, Sure, I've seen that. My question is if anyone already played with it, introducing it into an app and giving a network access to it. The problem today with CSharp and attach is that it is not integrated with the main loop of an

Re: [Mono-dev] gmcs version #define

2009-11-11 Thread Stefanos A.
Στις 11-11-2009, ημέρα Τετ, και ώρα 11:22 -0500, ο/η Jonathan Pryor έγραψε: On Wed, 2009-11-11 at 17:22 +0200, Stefanos A. wrote: According to the documentation, gmcs #defines the __MonoCS__ constant when compiling C# code. However, it doesn't seem to provide a constant that identifies the