A programming concept called "generic functions," borrowed from mid-1970s languages such as ML, will let programmers write data structures that can be used with multiple data sets.
Microsoft plans to include a programming time-saver borrowed from academic languages such as ML in the mid-decade version of its Visual Studio development tools, a senior researcher at the company says.
Andrew Herbert, assistant director at Microsoft Research's Cambridge lab in the United Kingdom, says researchers have built a version of the C# programming language and Common Language Runtime that incorporates a programming concept called "generic functions." The code lets developers write templates for data structures such as arrays, trees, and lists that can be reused with multiple sets of data, instead of requiring programmers to write a new data structure for each set.
"I'd write a piece of program that expresses the concept of a tree," says Herbert. Then, one developer could use the generic function feature of the C# compiler to create a tree structure for user records. A second developer could apply that template to a group of digital photos, for example.
Generic functions appear in teaching and research languages such as ML, developed in the 1970s but have been hard to implement in business languages such as C++ and Java. Microsoft plans to include the functionality in Visual Studio Whidby, the code name for the next version of the tools suite after Visual Studio .Net 2003, which ships in April. Microsoft plans to build into that product extensions to the C# compiler, and a new version of the Common Language Runtime.
Herbert was in Redmond, Wash., for TechFest, a two-day event at which 6,000 Microsoft employees signed up to tour Microsoft researchers' exhibits and attend lectures.
How Enterprises Are Attacking the IT Security EnterpriseTo learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Infographic: The State of DevOps in 2017Is DevOps helping organizations reduce costs and time-to-market for software releases? What's getting in the way of DevOps adoption? Find out in this InformationWeek and Interop ITX infographic on the state of DevOps in 2017.
Digital Transformation Myths & TruthsTransformation is on every IT organization's to-do list, but effectively transforming IT means a major shift in technology as well as business models and culture. In this IT Trend Report, we examine some of the misconceptions of digital transformation and look at steps you can take to succeed technically and culturally.