News › 2025 › April 2025
Óscar Toledo's transputer emulator, now in JavaScript
Project2025-04-01
Óscar Toledo ported his transputer emulator from C to JavaScript. It runs the operating system he wrote for the chip in 1995.
On 1 April 2025 Óscar Toledo G. published a JavaScript port of his transputer emulator. The C version belonged to a series of articles on the transputer. The JavaScript version runs the operating system he wrote for the processor in 1995. The source is nanochess/transputer.
He notes two practical details of the port: JavaScript bitwise operators produce signed 32-bit results, so the emulator uses an unsigned right shift to keep a 32-bit word, and Uint8Array replaces ordinary arrays for speed.