3 ms·
Why is Mozilla doing this? They're already doing Rust, and their products don't use Python internally. The build process for Mozilla add-ons was even converted
by Animats 10y ago
Why is Mozilla doing this? They're already doing Rust, and their products don't use Python internally. The build process for Mozilla add-ons was even converted from Python to Javascript to eliminate Python from the build chain.
I'd rather see Mozilla support Thunderbird, which is useful.
- jonwayne 10y agoMozilla's websites notably use Python and Django.
- phonon 10y agoTheir site(s) are using python extensively. https://blog.mozilla.org/webdev/2013/02/22/the-restful-marketplace/ https://blog.mozilla.org/webdev/2013/02/22/the-restful-marke...
- mintplant 10y agoThe code push infrastructure also runs on PyPy specifically: https://github.com/mozilla-services/autopush https://github.com/mozilla-services/autopush
- Etzos 10y agoIn addition to their sites (which have already been mentioned), their build tool "mach" uses Python[1]. [1] https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/mach https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
- jgraham 10y agoPedantry time: mach isn't a build tool, it's a command dispatch framework. So yes, |mach build| will build Firefox (or servo), but, for example, |mach try| will push code to the try server, and |mach mdn| will search MDN. However to address the original point, Python is indeed widely used at Mozilla, not just for websites but for test harnesses, build tools, analysis scripts, etc. It wouldn't surprise me if it was second to only to javascript on the basis of "number of developers who have written >0 lines of code in this language for Mozilla projects".
- Etzos 10y agoHa, thanks for pointing that out. You're obviously correct about it being a command dispatch framework. I've only ever used it as an interface to build and never realized what it actually did behind the scenes. And after reading a little more about it after you pointed out my mistake I have learned about an awesome tool. I don't know how many people say this, but I appreciate the pedantry!
- pcwalton 10y agoMozilla uses Python for many things. To name just one example of many, the mach build script for Firefox and Servo is written in Python.
- steveklabnik 10y agoSame comment and replies from four days ago (though not made by you) https://news.ycombinator.com/item?id=12233988 https://news.ycombinator.com/item?id=12233988
- yeukhon 10y ago> The build process for Mozilla add-ons was even converted from Python to Javascript to eliminate Python from the build chain. Which part of the build process? I don't think the build process is written in Javascript / NodeJS.