Key takeaways
- Mozilla's Iodide aims to enhance data science experimentation and communication within web browsers.
- The tool is designed to facilitate computation directly in the browser, avoiding reliance on remote servers.
- Iodide offers a user-friendly, low-friction workflow influenced by established tools like Jupyter and R-Studio.
- Mozilla's initiative focuses on addressing challenges faced by data scientists rather than merely creating new software.

The Objective Behind Iodide
The data science team at Mozilla wanted to answer questions and not to create new software. They wanted to eliminate the hassles a data scientist comes across while skimming through the report of other data scientists. For instance, tracking code behind the report or if they want to extend the code based on which the results have been documented requires identical configuration on the machines. To begin with, the team at Mozilla lists down few objectives behind Iodide:- To make the advantages of web tech available to scientists without requiring them to become fully fledged web devs.
- Users should be able to get up and running immediately and be able to start doing real work entirely within the browser.
- Allowing the notebook to work with other clients and/or server-side programs/components/tools (e.g. external editors, external compute kernels (other languages or big data thingies)) might be something cool to work on down the road, but is not an objective at the moment.
- Addons to do things that the browser restricts or can’t do for some reason.
- Avoid magic APIs — users should (within reason) not have to learn about a ton of idiosyncrasies of the notebook to get up and running.
- Users need to be able to pull examples from bl.ocks.org or JSfiddle or Stackoverflow and have them run in the notebook without modification (within reason).

Going Mainstream With Pyodide
The language in the browser, JavaScript, doesn’t have a mature suite of data science libraries, and it’s missing a number of features that are useful for numerical computing.. So the developers at Mozilla are working towards changing that and moving the JavaScript data science ecosystem forward. Pyodide is an experimental project from Mozilla to create a full Python data science stack that runs entirely in the browser. Requirements to download Pyodide to browser:- The compiled Python interpreter as WebAssembly.
- A bunch of JavaScript provided by emscripten that provides the system emulation.
- A packaged file system containing all the files the Python interpreter will need, most notably the Python standard library.
- simplifies a number of the elements of workflow friction
- simplifies sharing as the write-up and the code are available at the same URL rather than, say, pasting a link to a script in the footnotes of a Google Doc.
- simplifies collaboration as the compute kernel is the browser and libraries can be loaded via an HTTP request like any webpage loads script — no additional languages, libraries, or tools need to be installed.
Spotted an error? Tell our editors. Read our editorial standards and corrections.
Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign





