Feeds

Microsoft releases JavaScript alternative

TypeScript embraces and extends JavaScript, but is open source

Top 5 reasons to deploy VMware with Tegile

Microsoft has released a new JavaScript development environment, dubbed TypeScript, and says it is designed to help developers write more complex apps with the popular scripting language.

Long-time Reg readers may recall that Microsoft has form giving the world new technologies, but not always for altruistic reasons. During its epic antitrust battle with the US Department of Justice, Microsoft's in-house use of the terms “embrace and extend” or “embrace and smother” came to light to describe the practice of releasing non-standard products, among them software development tools, then using Microsoft's market share to none-too-gently steer the industry towards buying those products to the detriment of competitors.

That strategy seems not to be in play this time, as TypeScript is free, open source and compiles into garden-variety JavaScript that Microsoft has taken pains to state repeatedly will run on any browser, host or operating system.

TypeScript is also being pitched as a developer's saviour, as by extending JavaScript developers will have more and more potent tools to build the kind of large-scale apps being built around HTML 5 in the browser and on mobile devices. Apps destined for the Windows 8 store are also cited as worthy of the more robust environment TypeScript is said to afford.

In a video posted to introduce the language (and embedded below), Microsoft Technical Fellow Anders Hejlsberg argues that TypeScript is needed because JavaScript was never intended for the roles it has found itself serving today and lacks many of the structures developers find useful in other languages. TypeScript is designed to add those extra bits, with static typing and classes at the top of Hejlsberg's list of developer desirables.

Existing JavaScript code and libraries work in TypeScript, and Microsoft has arranged TypeScript support for Emacs, Vim and Sublime Text. A TypeScript editor plugin for Visual Studio 2012 has also been released. Code samples are already available, too.

Initial response to TypeScript has tended towards the positive. While a few narky comments have appeared on Microsoft's announcement post, Twitter sentiment seems broadly happy about the new language. Your own opinions can, of course, be recorded below. ®

Providing a secure and efficient Helpdesk

More from The Register

next story
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Google opens Inbox – email for people too stupid to use email
Print this article out and give it to someone techy if you get stuck
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Redmond top man Satya Nadella: 'Microsoft LOVES Linux'
Open-source 'love' fairly runneth over at cloud event
prev story

Whitepapers

Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
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?
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.