Memory safety violations leave programs vulnerable to security threats like unintentional data leakage and remote code execution. There are ways to ensure memory safety, including smart pointers and garbage collection. Research engineer Diane Hosfelt explains how Rust’s ownership system achieves memory safety while minimizing performance costs.
What kinds of tools do artists, developers, designers, entrepreneurs and creatives of all flavors need to be able to easily make augmented reality experiences? What kinds of apps can people build with tools we provide? In this in-depth retrospective, Anselm Hook describes the challenges and learnings from creating ARPersist, an experimental AR app that lets you apply virtual post-it notes in real-world spaces.
CSS Flexbox is an increasingly popular layout model that helps in building robust dynamic page layouts. However, it has a big learning curve! The new Flexbox Inspector, created by Firefox DevTools, helps developers understand the sizing, positioning, and nesting of Flexbox elements. You can try it out now in Firefox Nightly or Dev Edition.
MDN wraps up a year of hard work by shipping monthly MDN payments, converting from Font Awesome to SVG, adding browser names to compatibility tables, and growing the development team. Thanks to every one of the contributors who've helped us make MDN Web Docs better than ever in 2018.
The year's last release of Firefox bundles together goodies for all, including multi-tab management in the interface, new CSS features, devtools improvements, better privacy protections, add-ons updates, and much, much more. Read all about it!
Starting today, the Rust 2018 edition is in its first release. With this edition, we’ve focused on making Rust developers as productive as they can be. Most of the language changes are completely compatible with existing Rust code. Because they don’t break any code, they also work in any Rust code… even if that code doesn’t use Rust 2018. This is because of the way the language is evolving. Lin Clark illustrates and explains.
LPCNet is a new project out of Mozilla’s Emerging Technologies group — an efficient neural speech synthesiser with reduced complexity over some of its predecessors. Neural speech synthesis models have already demonstrated impressive speech synthesis quality, but their computational complexity has made them hard to use in real-time, especially on phones. Our solution with LPCNet uses a combination of deep learning and digital signal processing (DSP) techniques.
ActivityPub is a W3C standard protocol that describes ways for different social network sites (loosely defined) to talk to and interact with one another. ActivityPub aims to do for social network interactions what RSS did for content, and is being used today to power alternative social networks like Mastodon and Pleroma.