Paper Details

Communicating Process Architectures (CPA)
 Title: Occam (Raspberry) Pi
 Conference: Communicating Process Architectures 2014
 Authors: Richard Miller
Miller Research, Oxford, England, Miller Research
 Abstract: The Raspberry Pi is a small, inexpensive ARM-based computer for students and embedded hardware tinkerers. The KRoC implementation of occam runs on the Pi, thanks to the highly portable Transterpreter, but performance is limited compared to native compilation. Runtime profiling of the virtual machine shows a majority of time spent in instruction decode and dispatch, even in communication-intensive benchmarks. A bit of hand tuning concentrated in this area gives a significant speedup to the VM, which is further improved (at a cost of portability) by reimplementing the 15 primary transputer opcodes in ARM assembler. Decode and dispatch are eliminated altogether by a just-in-time translation from bytecodes into a directly executable form, but it's not possible in all cases to find a correct translation without more semantic information than the Transterpreter bytecode file currently provides. 
Files:


BibTeX Entry