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
Computer Architecture 27/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 Simulator & Custom Firmware
  • JIT Compiler Engine: Engineered a highly optimized Just-In-Time compiler translating eBPF bytecode into native RV64IMA machine code, handling complex register mapping and isolated execution on bare-metal.
  • Architectural Emulation: Overcame host PCIe bottlenecks by designing a RAM-backed NVMe simulator. Implemented asynchronous submission/completion ring buffers (SQ/CQ) via shared memory (`mmap`) between a Linux host and the RISC-V core.
  • Hardware-Level Integration: Managed critical silicon constraints on the StarFive JH7110 SoC (VisionFive 2), including Memory-Mapped I/O (MMIO) and explicit L1/L2 Instruction-Cache coherency (flush/invalidate) for safe dynamic code execution.
  • Hybrid Validation HAL: Developed a custom Hardware Abstraction Layer allowing seamless testing and debugging transition between x86-64 QEMU simulation and the physical RISC-V target.

Projects

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