AI authored to showcase ironpad capabilities.
ironpad is an interactive Rust notebook that compiles each cell to WebAssembly and runs it in your browser.
Each code cell's output is available in later cells as a typed variable:
cell0, cell1, ... — by cell index (only counting code cells)last — alias for the most recent code cell's outputThe variables are strongly typed — the compiler knows their Rust types!
Cells can output more than just text. Use Html(...) for HTML or Svg(...) for SVG graphics.
You can even combine multiple outputs using tuples!