Feeds

Microsoft's C# to converse with dynamic languages

COM recycled

Top 5 reasons to deploy VMware with Tegile

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?'". ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
First in line to order a Nexus 6? AT&T has a BRICK for you
Black Screen of Death plagues early Google-mobe batch
Microsoft adds video offering to Office 365. Oh NOES, you'll need Adobe Flash
Lovely presentations... but not on your Flash-hating mobe
You stupid BRICK! PCs running Avast AV can't handle Windows fixes
Fix issued, fingers pointed, forums in flames
prev story

Whitepapers

Go beyond APM with real-time IT operations analytics
How IT operations teams can harness the wealth of wire data already flowing through their environment for real-time operational intelligence.
10 threats to successful enterprise endpoint backup
10 threats to a successful backup including issues with BYOD, slow backups and ineffective security.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.