A contribution to LLVM's Tail Recursion Elimination pass, adding support for shift accumulators. This optimization allows the compiler to transform certain recursive patterns involving shift operations into efficient iterative code.
Welcome
Hello and welcome to my blog! I am a PhD Candidate in Computer Science at the ADAPT Lab (Università degli Studi di Milano), under the supervision of Prof. W. Cazzola. Programming Languages and Compilers enthusiast. Here I share insights, notes, and posts about my work.
A discussion on idiomatic Rust patterns for consuming input only when a function successfully returns a value. This explores ownership semantics and how to write clean, expressive APIs in Rust.
An in-depth exploration of open source licenses, covering their legal implications, the differences between permissive and copyleft licenses, and practical guidance for choosing the right license for your project.
A practical exploration of building a lexical analyzer in Rust using finite state automata. We cover DFA/NFA theory and show how to implement an efficient lexer from scratch.