Frans,

> > Frans there is a huge coverage area for writing platform 
> agnostic code 
> > with C# and mono.
> 
>         Sure, but there are a lot of issues. For starters, on 
> Linux we don't have IIS, nor COM+, nor MSMQ. Oh and no 
> winforms, although there's something similar in the works.

Linux has direct substitutes for all of these except COM+. Both .NET and
Mono act as a façade to these services to some reasonable extent. Even COM+
can be supported if it was vital to someone's project.

http://www.opengroup.org/comsource/
http://www.softwareag.com/corporate/products/entirex/downloads/download_exxd
com.asp


>         Writing DB agnostic code is already hard and there 
> you only have to deal with dialects in SQL, which are 
> relatively minor when you compare it to the differences in 
> how Linux and Windows work for example. .NET and Mono don't 
> abstract away all of that, not by far.

Neither does Java. Yet, starting from a .NET app,  you started off by
suggesting Java was automatically a better choice for reaching other OSes.

>         Yeah well, I can assure you, my 100K lines of code 
> which form the runtime of my o/r mapper won't compile on mono 
> and it will take a lot of effort to get it running. Perhaps 
> not the .NET 1.x version (that one does compile with some 
> work), but the .NET 2.0 version definitely will be difficult.

Is this related to the current status of Mono's .NET 2.0 support?

>         But whatever. Apparently I'm now seen as a mono 
> basher, while all I want to say is that if you pick a 
> different OS, it's not a GIVEN that your code will run, no 
> matter what amount of work you throw at it.

Does this apply to Java?. Or is is just a feature of Mono?

> I wish the people 
> who think it is a given and a piece of cake no matter what 
> project, a lot of fun when they have to port a non-portable 
> piece of code to linux/mono.

Non-portable code (i.e. behaviour/functionality/service)?. Between Un*x and
Windows?. There's no such thing. Cost/risk of doing the port vs other
options might suggest a better/cheaper/less-risky way than doing a port.


Kunle


---------------------------------------------------------
"Java isn't platform independent; it is a platform. 
 Like Windows, it is a proprietary commercial platform. "
                                      - Bjarne Stroustrup
 

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to