Hi Peter,
 
> C# runs from source?  What?? While the compiler is in fact part of the
runtime (so there are APIs to load and compile source on the fly) it still
is generally statically compiled.
 
Good to see you spotted my intentionally controversial comment ;-)  So, as you say C# is a compiled language, not an interpreted one; however there are two characteristics about the C# compiler that make this distinction somewhat academic:
 
- the C# compiler, and everything needed to use it (libraries, ...) is included with the basic .Net Framework runtime
- the C# compiler runs *very* fast.
 
To illustrate that second assertion, that C# compiler runs fast, here's a comparison.  OSMP C++ edition will build in around 30-60 minutes, depending on your machine.  OSMP C# will build in between 500ms and 10 seconds, depending on your machine.  That's fast enough that OSMP C# does actually run from source-code, using lescript, at application start-up.
 
On 3/12/06, Peter Amstutz <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 12 Mar 2006, Hugh Perkins wrote:

> Hmmm,
>
> After playing around a little with C#, I have to agree with Neil: C# rocks.

At my work we have a large (300,000+ line) application written mostly in
C# and C++ (managed and unmanaged projects).  On the whole I would say C#
is very good, particularly now that in .NET 2.0 they have introduced
cross-langauge generics.  At work all our new code is written in C# these
days.

> Just to throw some salt in the wounds of the Python discussions, I cant help
> thinking that C# has all the advantages of both Python (run from source,
> easy to read) and C++ (strong typing, runs quickly).

C# runs from source?  What?? While the compiler is in fact part of the
runtime (so there are APIs to load and compile source on the fly) it still
is generally statically compiled.

> Btw, OSMP is now available in a C# version ;-)
>
> http://manageddreams.com/osmpbb/viewtopic.php?t=333

Neat.  What are you using for your 3D engine?

If I were to develop in C# in my own projects, I would used the free
software implementation, Mono.  However I have not looked at it yet, so I
can't comment whether it is any good.  The biggest concern I have with C#
as a language for developing free software is cross-platform support --
Microsoft and Mono don't have the same APIs and the runtime system just
isn't a standard component on non-Windows platforms.

Making VOS accessable in .NET (either binding the C++ library or actually
reimplementing it) is something I have given some thought to.  However,
nobody has specifically asked for it yet, and we've already got a TODO
list a mile long...

[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:   pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEE9JlaeHUyhjCHfcRAiOLAKCsZ6Nt3Pb9f8iK5RzkaOhUuWF/0ACgiYvy
5LHKtPAkh5H5iQKFthguaN4=
=CfXg
-----END PGP SIGNATURE-----


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to