Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Development
    • Development

    Mozilla, Samsung Building Rust Programming Language, Servo Browser

    Written by

    Darryl K. Taft
    Published April 3, 2013
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Ever-focused on advancing the Web, Mozilla’s research arm has joined forces with Samsung to create a new browser engine based on a new programming language called Rust.

      Mozilla Research is collaborating with Samsung to deliver an advanced technology Web browser engine called Servo that will take advantage of the faster, multi-core, heterogeneous computing architectures on the horizon. And Rust is the language Mozilla felt compelled to create purpose-built for the task.

      “Servo is an attempt to rebuild the Web browser from the ground up on modern hardware, rethinking old assumptions along the way,” Brendan Eich, CTO at Mozilla, wrote in an April 3 blog post. “This means addressing the causes of security vulnerabilities while designing a platform that can fully utilize the performance of tomorrow’s massively parallel hardware to enable new and richer experiences on the Web. To those ends, Servo is written in Rust, a new, safe systems language developed by Mozilla along with a growing community of enthusiasts.”

      Mozilla and Samsung are bringing both the Rust programming language and Servo, the experimental Web browser engine, to Android and ARM, Eich said. This will enable them to further experiment with Servo on mobile. And Samsung has contributed an ARM back-end to Rust and the build infrastructure necessary to cross-compile to Android.

      But why the need for yet another programming language? “Rust, is a systems language that is focused on speed, safety and concurrency,” a Mozilla spokesperson told eWEEK. “Rust is an attempt to create a modern language that can replace C++ for many uses while being less prone to the types of errors that lead to crashes and security vulnerabilities. Because Servo is designed from the ground up using Rust as its main implementation language, Servo will also tend to avoid sources of bugs and security vulnerabilities associated with incorrect memory management common to browsers implemented in unsafe languages such as C++, resulting in a faster, more secure experience for people browsing the Web.”

      Eich goes a bit further in his post:

      “Rust, which today reached v0.6, has been in development for several years and is rapidly approaching stability. It is intended to fill many of the same niches that C++ has over the past decades, with efficient high-level, multi-paradigm abstractions, and offers precise control over hardware resources. But beyond that, it is *safe by default*, preventing entire classes of memory management errors that lead to crashes and security vulnerabilities. Rust also features lightweight concurrency primitives that make it easy for programmers to leverage the power of the many CPU cores available on current and future computing platforms.”

      According to the Rust language Website, “Rust is a curly-brace, block-structured expression language. It visually resembles the C language family, but differs significantly in syntactic and semantic details. Its design is oriented toward concerns of “programming in the large,” that is, of creating and maintaining boundaries—both abstract and operational—that preserve large-system integrity, availability and concurrency. It supports a mixture of imperative procedural, concurrent actor, object-oriented and pure functional styles. Rust also supports generic programming and metaprogramming, in both static and dynamic styles.”

      Mozilla, Samsung Building Rust Programming Language, Servo Browser

      Although Eich is the creator of JavaScript, he is not the mind behind Rust. “Graydon Hoare, a Mozilla employee was the originator of Rust, but it is has changed quite a lot since he created it several years ago and is now very much driven by a core team at Mozilla and others from the open-source community, which now includes Samsung,” a Mozilla spokesperson said. Hoare began working on Rust in 2006, and it first appeared to the world outside Mozilla in 2010.

      “It is great to see experimentation with browser engines,” said Al Hilwa, an analyst with IDC. “This is also a good development for Mozilla, namely to take a varied approach to Google and work with Samsung on this. It is also Samsung flexing more platform muscles and wanting to see itself [as] something more than just a device maker.”

      Mozilla and Samsung are working to complete the first major version of Rust and to provide developer tools and improve the performance of the language, Eich said.

      Adding “safety” to a programming language typically means some sort of performance penalty. “Safety has a cost, but Rust tries to do as much at compile time as it can,” Eich told eWEEK in an email. “And runtime optimizations help: we have an nbody.c vs. nbody.rs benchmark (n-body problem solver) that shows Rust faster than gcc currently. The important point is that C++ when written with manual safety on top is both harder to write and less efficient than when the language support enables greater productivity *and* better optimizations by the compiler and runtime. Safety is not free and can’t be treated as free, but lack of safety is not an option for browsers and OSes.”

      “At the same time, we will be putting more resources into Servo, trying to prove that we can build a fast Web browser with pervasive parallelism, and in a safe, fun language,” Eich said in his post. He also invited developers to help with the project and contribute to the effort by checking out the source for Rust and Servo on GitHub. “Then come participate in the development process on the Rust (https://mail.mozilla.org/listinfo/rust-dev) and Servo (https://lists.mozilla.org/listinfo/dev-servo) mailing lists,” he said.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×