Tech News
← Home  ·  All topics

C Programming

2 GoKawiil briefs on this topic

Developer builds a working Python interpreter in just 1024 bytes of C

Austin Z. Henley, a Microsoft engineer, built a minimalist Python interpreter written in C that fits within 1024 bytes of code, after an initial attempt at 512 bytes proved too small. The interpreter supports a limited subset of Python syntax—including def, colons, indentation, and parenthesis-free if statements—enough to run a FizzBuzz program, but skips CPython's full tokenizing, AST, and bytecode pipeline in favor of global variables and a fixed-length array.

Canonical backs Bristol PhD to automate C-to-Rust code conversion

Canonical is funding a three-year PhD project at the University of Bristol's Programming Languages Research Group aimed at automatically converting large C codebases into Rust. UK Research and Innovation is providing matching funds, and the project will be led by student Alex Wood under Professor Meng Wang, with Dr. Cristina David and Canonical's Jon Seager as co-supervisors.