InfoQ Homepage C# Content on InfoQ
-
Mono 2.12 Roadmap
In anticipation of the upcoming Mono 2.12 public beta, Miguel de Icaza has released the planned feature set including many of the .NET 4.5 APIs and C# 5’s Async support. There is also an improved garbage collector, support for the full table of Unicode surrogate characters, and a new backend for the C# compiler.
-
The Cost of Async and Await
Asynchronous techniques can offer significant improvements in an application’s overall throughput, but it isn’t free. An asynchronous function is often slower than its synchronous alternative. Stephen Toub of MSDN Magazine has recently covered this topic in an article titled “Async Performance: Understanding the Costs of Async and Await”.
-
Design Details of the Windows Runtime
The Windows Runtime (WinRT) was created to provide a fluid and secure application experience on Windows. WinRT was influenced by both .NET, C++ and JavaScript. WinRT does not replace the CLR or Win32, but rather provides unified support for applications written in different languages to run on Windows using the new Metro UI.
-
C# and Visual Basic on the WinRT API
While Win32 APIs can be called from .NET languages, doing so can be quite difficult. So for the last two year Microsoft has been building a replacement known as Windows Runtime or WinRT with cross-language support in mind. WinRT components can be created in both C++ and .NET and may be consumed by both of those as well as JavaScript.
-
Java Lambda Syntax based on C#, Scala
A recent posting on the lambda-dev mailing list announced the conclusion that the Java Lambda syntax will be based on C# syntax, very similar to Scala's implementation that many are already familiar with: "It was better to choose something that has already been shown to work well in the two languages that are most like Java – C# and Scala – rather than to invent something new."
-
WCF Support Improved in Mono
Xamarin's first official Mono release came out earlier this month with many bug fixes, OS X Lion support, a “vastly improved WCF stack”, and better debugging support. The version number is 2.10.3, which makes it a short-term support release. Those who desire a long term commitment to support should stay with the 2.6 series until Mono 3 is ready.
-
New.NET Async Control Flow Explained
Alan Berman recently explained the details of how the new Async and Await keywords impact the flow of control. Using these keywords allows an asynchronous function's return values to be processed without using explicitly defined callbacks. This allows for more natural code grouping, as calling and processing of an asynchronous function can occur in the same function.
-
Object Oriented Programming is out of the CMU Computer Science Introductory Curriculum
Robert Harper and Dan Licata, Professors of Computer Science at Carnegie Mellon University, announced last week that they have decided to "eliminate entirely" OOP from the CS introductory curriculum.
-
Why Microsoft Believes that VB and C# Need an Asynchronous Syntax
The new Async CPT for VB and C# looks like it may actually make it into the core language. But with all the emphasis on multi-core systems, why is Microsoft investing so heavily in syntax for designed specifically for making single-threaded asynchronous programming easier?
-
Orleans: An Object Framework for Cloud Computing From Microsoft Research
Earlier this week Microsoft Research published a paper outlining a framework for Cloud Computing codenamed Orleans. The framework is intended for cloud computing applications where a client such as a PC, smartphone or embedded device is employed.
-
Sneak Peak: Asynchronous Syntax for Visual Basic and C#
In a recent blog post the Visual Basic team let slip an announcement that Visual Basic and C# would be getting a new syntax for asynchronous programming. Built on top of the Task Parallel Library that was introduced in .NET 4, this adds the Async and Await keywords to both languages.
-
Optional Parameters Are Gaining Ground in .NET
Optional parameters have always been part of .NET, but with C# unwilling to support it, using them was generally considered taboo unless work with COM libraries. Now that C# 4 does support them, we are starting to see them used for a lot more than just legacy code. Other uses include interoperability with dynamic languages, immutable data structures, and various parts of ASP.NET MVC.
-
CSI C# Interpreter Supports .NET 4.0
CSI is a simple C# interpreter allowing command-line compilation of standalone C# files. A new version has been released to support .NET 4.0. CSI is open source with a full test suite.
-
Stack Overflow Has Open Sourced Markdown/C#
Markdown Sharp, initially called Markdown.NET, a C# implementation of the Markdown text processor, has been open sourced by Stack Overflow.
-
Mono Introduces Experimental C# Language Extensions
Having caught with the recent advances in Microsoft’s C# 4, the Mono team is now playing with their own extensions to the language. The two features they are experimenting with are string interpolation and support for multiple return values.