Feeds

Microsoft's C# to converse with dynamic languages

COM recycled

Secure remote control for conventional and virtual desktops

The next version of Microsoft's C# will see interoperability between languages for the enterprise and web, and with Microsoft's legacy COM architecture.

C# 4.0, expected with the next version of Visual Studio, will support something called dynamic look up in order to call dynamic languages like JavaScript, Python and IronPython from inside C#. Visual Basic .NET already works with dynamic look up.

Improved interoperability with Microsoft's Component Object Mode (COM), which gave way to .NET eight years ago, is also planned.

The idea is you'll be able to write C# code that looks like Office for Visual Basic as the dynamic look up will let you use C# to invoke any COM IDispatch object.

The statically typed C# was introduced with .NET in 2000 and has found huge success in the enterprise during the intervening eight years.

Microsoft, though, wants to make it easier for developers to call classes in dynamic-typed languages, particularly its versions of Python and Ruby - IronPython and IronRuby.

Anders Hejlsberg, by Gavin Clarke

Microsoft's Hejlsberg fields questions on C#

Anders Hejlsberg, the renowned software engineer working at Microsoft and lead C# architect, recently demonstrated C# 4.0 talking to JavaScript and IronPython.

Hejlsberg, speaking at Microsoft's Professional Developers' Conference (PDC), said he wanted to bring down the barriers not make things harder for those building in C# and using declarative and dynamic programming languages and methods.

"People say: 'Anders have you gone stark raving mad, haven't you taught us for 10 years static is the right and only way?," he told PDC.

"I'm not saying re-write all your code to be dynamic... However there are an increasing number of things that are important to talk to in your applications that are not dynamically typed and we should ask: should we make it harder to talk to, or easier?'". ®

The essential guide to IT transformation

More from The Register

next story
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?