Re: [vos-d] C#
On 3/12/06, Peter Amstutz <[EMAIL PROTECTED]> wrote, a while back :-D : If I were to develop in C# in my own projects, I would used the freesoftware implementation, Mono.Hmmm, that's possibly a good idea :-D ___ vos-d mailing list [email protected] http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
[vos-d] C++ TR1
An extension to the C++ language and standard library is soon to be accepted. It will bring a few useful things. Article Part 1: http://www.ddj.com/dept/cpp/187203727 Article Part 2: http://www.ddj.com/dept/cpp/188700816 Some useful tidbits it mentions that might come out of TR1 are: * Constructor Chaining (within the class), like Java. * Variable arguments in Macros (No more FOO(), FOO1(arg), FOO2(a1, a2), etc.). * You can finally say std::set> instead of std::set >. * Some Boost-like stuff in the STL including smart pointers. * Automatic type determination (e.g. for iterators: for(auto i = list.begin();...) instead of for (std::list< blah blah blah< blah blah blah< blah blah > > blah blah>::const_[or maybe not?]iterator i = ...). ___ vos-d mailing list [email protected] http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
Re: [vos-d] C#
Hi Peter, > C# runs from source? What?? While the compiler is in fact part of theruntime (so there are APIs to load and compile source on the fly) it stillis 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: SHA1On 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 inC# 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 introducedcross-langauge generics. At work all our new code is written in C# thesedays.> 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 stillis generally statically compiled.> Btw, OSMP is now available in a C# version ;-)>> http://manageddreams.com/osmpbb/viewtopic.php?t=333Neat. What are you using for your 3D engine?If I were to develop in C# in my own projects, I would used the freesoftware 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 actuallyreimplementing 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/0ACgiYvy5LHKtPAkh5H5iQKFthguaN4==CfXg-END PGP SIGNATURE- ___vos-d mailing [email protected] http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d ___ vos-d mailing list [email protected] http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
[vos-d] C#
-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 [email protected] http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
