Porting Firefox to Apple Silicon

The release of Apple Silicon-based Macs at the end of last year generated a flurry of news coverage and some surprises at the machine’s performance. This post details some background information on the experience of porting Firefox to run natively on these CPUs.

We’ll start with some background on the Mac transition and give an overview of Firefox internals that needed to know about the new architecture, before moving on to the concept of Universal Binaries.

We’ll then explain how DRM/EME works on the new platform, talk about our experience with macOS Big Sur, and discuss various updater problems we had to deal with. We’ll conclude with the release and an overview of various other improvements that are in the pipeline.

These kinds of articles are very valuable, since Apple isn’t always forthcoming with documentation of specifications, and the new M1-based Macs are no exception. Big, massive projects like Firefox sharing their experiences can be quite useful to other developers.

12 Comments

  1. 2021-01-20 8:55 pm
    • 2021-01-21 3:53 am
      • 2021-01-21 4:29 am
      • 2021-01-21 7:59 am
        • 2021-01-22 12:20 am
          • 2021-01-22 4:08 pm
      • 2021-01-22 4:22 pm
    • 2021-01-21 6:07 am
      • 2021-01-21 12:10 pm
      • 2021-01-22 4:12 pm
  2. 2021-01-21 4:53 am
  3. 2021-01-25 9:25 pm