X
Innovation

Microsoft opens up Rust-inspired Project Verona programming language on GitHub

Microsoft is developing a new programming language but it's not giving up its work on Rust.
Written by Liam Tung, Contributing Writer

Microsoft recently created a stir after revealing it was taking some ideas from the popular Rust programming language to create a new language for 'safe infrastructure programming' under the banner Project Verona. 

Matthew Parkinson, a Microsoft researcher from the Cambridge Computer Lab in the UK, detailed Project Verona for the first time in a talk late last year and promised that Microsoft would open-source the project soon. 

Microsoft Research has now followed through and open-sourced Project Verona on GitHub, offering a few more details about the project and its ambitions for building safer systems through better memory management, compartmentalization, and "pervasive sandboxing". Project Verona is also being aided by academics at Imperial College London. 

SEE: Six in-demand programming languages: Getting started (free PDF)

As Parkinson explained, Project Verona aims to help secure code in unsafe languages like C and C# that still exists in a lot of Microsoft's legacy code, which Microsoft can't afford to waste but would like to protect better. 

"We're going to run some C and C++, stuff we don't trust," Parkinson said at the talk. "We're going to put it in a box and we know there is this region of objects, we have to be very careful with it, but there's a group of things going on there and we can built some pervasive sandboxing there. So there can be sandboxed libraries that we can embed in our sandboxed Verona program."

The GitHub page for Project Verona outlines some of the high-level questions the group is working on that will be fleshed out in forthcoming peer-reviewed articles. The questions include: 

  • If we design a language without concurrent mutation, can we build scalable memory management?
  • Can linear regions be used to remove the restrictions of per-object linearity without sacrificing memory management?
  • Can language-level regions be used to support compartmentalizations?

Also, Rust isn't the only language that's inspiring Project Verona, which also borrows concepts from Cyclone, a "safe dialect of C" and Pony, which has key contributors from Microsoft Research

The GitHub page, written by Parkinson, stresses that Project Verona is not a product and also has no bearing on Microsoft's ongoing use of C++, C#, and Rust. Microsoft last year revealed it was experimenting with Rust instead of C and C++ to write low-level Windows components.

"Project Verona is a research project that is not affecting engineering choices in the company," it states. 

"The Project Verona team is connected to the people using all the major languages at the company, and want to learn from their experience, so we can research the problems that matter."

Additionally, Microsoft considers Project Verona a "research programming language" and hopes that, by open-sourcing it, it can attract academic collaborators who want to explore the concept of concurrent ownership.

SEE: Microsoft: We want you to learn Python programming language for free

Parkinson has also provided a more detailed rundown of Project Verona's goals, concepts and where it fits within systems programming. 

"With Project Verona, we are carving out an area of system programming, 'infrastructure programming', that has important performance and predictability requirements, without needing raw access to the machine," he writes.

"In Project Verona, we do not expect our research language to be suitable for implementing the Verona runtime itself. This is an explicit non-goal of the project."

More on programming languages

  • Google reveals new Python programming language course: Scholarships for 2,500  
  • Microsoft boosts programming language Python's popular VS Code extension  
  • Programming language of 2019? Python beaten by trusty old C  
  • Programming language Python's popular extension for Visual Studio Code revamped  
  • Programming language Python 2.7 code is now frozen: Last release coming in April  
  • Netflix: Our Metaflow Python library for faster data science is now open source  
  • Microsoft: We're creating a new Rust-like programming language for secure coding  
  • Tech jobs: Python programming language and AWS skills demand has exploded  
  • Programming language Python 2's end looms, so why will many miss the deadline? 
  • Google: As Go programming language turns 10, here are the big names using it
  • Python programming language creator retires, saying: 'It's been an amazing ride'
  • Programming languages: How Instagram's taming a multimillion-line Python monster
  • Salesforce: Why we ditched Python for Google's Go language in Einstein Analytics  
  • Python-inspired Nim: Version 1.0 of the programming language launches
  • Google: Take our free Kotlin programming language courses to build Android apps
  • Facebook: Microsoft's Visual Studio Code is now our default development platform
  • Microsoft: We want you to learn Python programming language for free
  • Google: Dart 2.5 programming language SDK will 'supercharge' developers
  • Raspberry Pi gets MIT's Scratch 3 programming language for Raspbian
  • Julia programming language: Users reveal what they love and hate the most about it
  • Is Julia fastest-growing new programming language? Stats chart rapid rise in 2018
  • Python vs R for data science: Professor rates programming language rivals
  • Programming languages: Python predicted to overtake C and Java in next 4 years 
  • Netflix: Python programming language is behind every film you stream
  • JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time TechRepublic
  • Mozilla's radical open-source move helped rewrite rules of tech CNET
  • Editorial standards