Luigi Masdea

Computer Science Student

Education

Bachelor of Science in Computer Science
University of Parma
2023 - Present
Course Grade
Software Engineering 30L/30
Calculus I 30/30
Probability and Statistics 30/30
Programming Fundamentals 28/30
Parallel Programming and HPC 28/30
Four-year Scientific High School - Applied Sciences
IISS Gadda, Fornovo Taro, Parma
2019 - 2023

38/40 School Credits

Technical Skills

Systems & Core

C C++ Linux API Bash Scripting

Modern Dev

Python JavaScript SQL Docker

Other

Make Git GitHub

Projects

eBPF-to-RISC-V Bare-Metal JIT & Computational Storage Firmware
Asymmetric Multiprocessing (AMP) Runtime on StarFive JH7110 SoC (VisionFive 2)
  • JIT Compiler Engine: Engineered a bare-metal Just-In-Time compiler translating eBPF bytecode into native RV64IMA machine code; achieved ultra-low program activation (~33.7 µs) and sub-microsecond control plane latencies, executing safely without an underlying OS.
  • AMP Firmware & Hardware Integration: Deployed an isolated RISC-V compute core booted via OpenSBI HSM into reserved physical DRAM (16 MB); implemented explicit I-cache/D-cache coherency (`fence.i`) and zero-overhead memory mappings for deterministic execution (±0.18% jitter).
  • NVMe TP4091 & SLM Emulation: Modeled next-gen NVMe Computational Storage (TP4091/SLM) protocols using shared-memory ring buffers (SQ/CQ) between Linux and the bare-metal worker, featuring double-buffered asynchronous execution pipelines.
  • Performance & I/O Scaling: Evaluated on physical NVMe storage and emulated low-latency ONFI Flash buses, achieving up to 6.5x end-to-end speedup over host processing by filtering data in-storage and cutting host PCIe traffic by 99.7%.
ToyForth Interpreter
Stack-Based Virtual Machine & Execution Engine in C
  • Execution Model: Engineered a custom stack-based (LIFO) virtual machine in pure C, implementing a direct-threaded execution model using function pointer dispatch to minimize interpreter overhead
  • Memory & Data Flow: Designed manual memory allocation strategies for the data and return stacks, ensuring deterministic execution and zero-dependency low-level operations
  • Interactive REPL: Built a custom lexical analyzer and parser from scratch to handle real-time script execution, user-defined words, and fundamental I/O primitives