NEW · INTERACTIVE BOOK

Notes from the edge of silicon

Essays, experiments, and teaching materials from a decade of wiring software to hardware.

By Prof. Derek Molloy DCU Dublin City University
src/sensor_node.rs
// Derek's annotation:
// Ensure safe memory access at the edge
pub fn read_sensor_data(address: u16) -> Result<f32, Err> {
    let mut buffer = [0u8; 4];

    match hardware_bus.read(address, &mut buffer) {
        Ok(_) => Ok(f32::from_le_bytes(buffer)),
        Err(e) => {
            log_error!("I2C failure at node");
            Err(e)
        }
    }
}

From the bench

VIEW ALL →

Writing from the last decade

LIVE Edge Programming with C/C++ and Rust cover

Edge Programming with C/C++ and Rust

STARLIGHT · ONGOING · 2026

A live, interactive textbook. Runnable code blocks, guided terminal sessions, schematic marginalia — the lab, in a browser.

Open book