Language Selection

English French German Italian Portuguese Spanish

Programming: Compiling Firefox, Mozilla's Rust, and Go/Python Adventures

Filed under
  • Firefox is now built with clang LTO on all* platforms

    You might have read that Mozilla recently switched Windows builds to clang-cl. More recently, those Windows builds have seen both PGO and LTO enabled.

    As of next nightly (as of writing, obviously), all tier-1 platforms are now built with clang with LTO enabled. Yes, this means Linux, Mac and Android arm, aarch64 and x86. Linux builds also have PGO enabled.

    Mac and Android builds were already using clang, so the only difference is LTO being enabled, which brought some performance improvements.

  • Rust office hours

    ...I’m going to start an experiment that I call Rust office hours. The idea is simple: I’ve set aside a few slots per week to help people work through problems they are having learning or using Rust. My goal here is both to be of service but also to gain more insight into the kinds of things people have trouble with. No problem is too big or too small!

  • This Week in Rust 251

    Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. This is a weekly summary of its progress and community.

  • Return to Limbo

    When the time came to pack up and return to Norway I considered whether I wanted to continue writing small examples in Go and porting some of my Python modules. It didn't feel all that comfortable or intuitive to write in Go, though I realise that it simply takes practice to gain familiarity. Despite this, it was worth taking some time to get an overview of the basics of Go for reasons that I'll get to later.


    As mentioned earlier, I was interested in setting up Inferno on an old netbook – an Efika MX Smartbook – and had already experimented with running the system in its hosted form on top of Debian GNU/Linux. Running hosted Inferno is a nice way to get some experience using the system and seems to be the main way it is used these days. Running the system natively requires porting it to the specific hardware in use, and I knew that I could use the existing code for U-Boot, FreeBSD and Linux as a reference at the very least. So, the task would be to take hardware-specific code for the i.MX51 platform and adapt it to use the conventions of the Inferno porting layer. Building from the ground up, there are a few ports of Inferno to other ARM devices that could be used as foundations for a new port.

Firefox Is Now Built With Clang+LTO Everywhere

  • Firefox Is Now Built With Clang+LTO Everywhere, Sizable Performance Wins For Linux

    Firefox nightly builds are now built with the LLVM Clang compiler on all major platforms and the Linux build in particular is also now utilizing PGO optimizations too. Faster Firefox is coming thanks to this compiler work.

    All of Mozilla's tier-one platforms are now building the newest Firefox browser code under the Clang compiler and having LTO (Link Time Optimizations) enabled. That includes Linux, Mac, Android, Windows across ARM / AArch64 / x86 relying upon this open-source compiler. For now only the Linux builds also have PGO (Profile Guided Optimizations) enabled.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Plata Is A New Gtk Theme Based On The Latest Material Design Refresh

Plata is a new Gtk+ theme based on the latest Material Design refresh. The theme comes in 3 variants, regular (mixed), Lumiere (light) and Noir (dark), each with regular and compact versions. The theme, which mixes black, indigo and grey with bits of red and purple, supports Gtk+ 3.20.x, 3.22.x and 3.24.x, as well as Gtk+ 2, and a multitude of desktop environments like Gnome Shell (and Flashback), Cinnamon, Xfce, Mate, LXDE, and Budgie Desktop. Patheon (elementary OS), Unity 7 and "Gnome Shell customized by Canonical" (the Ubuntu session) are not officially supported by Plata theme. I've used Plata in Ubuntu 18.10 with Gnome Shell and I didn't notice any issues other than the theme GDM theme not being used, but this is only after about an hour of usage. Read more

Android Leftovers

GNOME 3.31.2 released

GNOME 3.31.2 is now available. This is the second unstable development release leading to 3.32 stable series. Apologies that it's slightly late: there were some technical snafus. If you want to compile GNOME 3.31.2, you can use the official BuildStream project snapshot. Thanks to BuildStream's build sandbox, it should build reliably for you regardless of the dependencies on your host system... Read more Also: GNOME 3.31.2 Desktop Released

Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower

After running a lot of tests and then bisecting the Linux 4.20 kernel merge window, the reason for the significant slowdowns in the Linux 4.20 kernel for many real-world workloads is now known... This latest Linux 4.20 testing endeavor started out with seeing the Intel Core i9 performance pulling back in many synthetic and real-world tests. This ranged from Rodinia scientific OpenMP tests taking 30% longer to Java-based DaCapo tests taking up to ~50% more time to complete to code compilation tests taking measurably longer to lower PostgreSQL database server performance to longer Blender3D rendering times. That happened with a Core i9 7960X and Core i9 7980XE test systems while the AMD Threadripper 2990WX performance was unaffected by the Linux 4.20 upgrade. Read more