[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - Update Mono to support C# 4.0

It is currently Mon Dec 11, 2017 2:02 am Advanced search

Update Mono to support C# 4.0

New Language? Want more libraries? Post Here.

Update Mono to support C# 4.0

Postby quizunder » Sat Oct 15, 2011 7:50 pm

C# 4.0 is supported since
Ubuntu Oneiric (11.10) include
quizunder
Cadet
 
Posts: 2
Joined: Sat Oct 15, 2011 7:22 pm

Re: Update Mono to support C# 4.0

Postby athena » Sun Oct 16, 2011 4:08 pm

Is there any particular reason you would want C# 4.0?
User avatar
athena
Lieutenant-Colonel
 
Posts: 41
Joined: Wed Sep 29, 2010 10:37 pm
Location: Copenhagen, Denmark

Re: Update Mono to support C# 4.0

Postby quizunder » Mon Oct 17, 2011 7:37 am

C# 4.0 features:
- Dynamic binding support
- Generic type variance
- Optional parameters
- Named arguments

.NET 4.0 frameworks:
- Parallel Framework + PLinq
- Code Contracts

Mono 2.8+ Improvements:
- New Garbage Collection engine (mono --gc=sgen or mono-sgen)
- Large performance improvements

Mono 2.10 Improvements:
- Improved the Mono runtime's sandbox ()

Of course it's not big changes, but you're already using Ubuntu for Java, C++, PHP.
Upgrade to Ubuntu 11.10 is easier prior the competition than later.
quizunder
Cadet
 
Posts: 2
Joined: Sat Oct 15, 2011 7:22 pm

Re: Update Mono to support C# 4.0

Postby athena » Mon Oct 17, 2011 9:27 pm

I don't see any game breakers at all.

You're not allowed to run anything in parallel and you can't use the external code contracts library.

There has been so many issues with C# and changing version, so would it really be necessary to introduce new bugs just before the competition starts?
User avatar
athena
Lieutenant-Colonel
 
Posts: 41
Joined: Wed Sep 29, 2010 10:37 pm
Location: Copenhagen, Denmark

Re: Update Mono to support C# 4.0

Postby Savaron » Sat Oct 22, 2011 5:18 pm

I would like to use Tuples, that are only available since C# 4.0 and thus are not supported by your mono-version.
Savaron
Captain
 
Posts: 22
Joined: Tue Feb 09, 2010 10:32 pm

Re: Update Mono to support C# 4.0

Postby casual » Sun Oct 23, 2011 3:43 pm

Hello, I would like to see Mono upgraded to the latest stable version too. It seems to me that 2.10.5 has received enough testing and point releases to be considered stable.
As for the reasons, both Mono 2.8 and 2.10 feature performance improvements and bug fixes. That should be enough of a reason to upgrade from venerable 2.6, even if not all features of C# 4 are implemented there, or considered "game breaker".
casual
Cadet
 
Posts: 1
Joined: Sun Oct 23, 2011 3:27 pm

Re: Update Mono to support C# 4.0

Postby TeamUnknown » Wed Nov 02, 2011 2:45 am

I'm interested in this. So what's the status of adding Mono 2.10? Have you decided not to do it?
TeamUnknown
Cadet
 
Posts: 2
Joined: Wed Nov 02, 2011 2:43 am

Re: Update Mono to support C# 4.0

Postby PostScriptum » Sun Dec 04, 2011 4:49 pm

Hi!
I also would like to write on C# 4.0. Actually I have written my bot on it, but now I can't compile my code. C# 4 has many useful features: default parameters, tuples, ect.
Additional problem was with string.Join() which don't want to receive IEnumerable<string>.
Please, include the C# 4 compiler...
PostScriptum
Cadet
 
Posts: 5
Joined: Sun Sep 12, 2010 6:47 pm


Return to Language Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron