Hacker News new | past | comments | ask | show | jobs | submit login
The Three Projections of Doctor Futamura (2009) (sigfpe.com)
37 points by signa11 on Nov 23, 2023 | hide | past | favorite | 7 comments



For practical implications see Truffle & Graal:

> Truffle works by taking your interpreter and generating a compiler by partial evaluation. So I believe they have written a JVM bytecode interpreter and Truffle makes the JIT.

> I'm super impressed by how the Truffle/GraalVM team has been able to turn this theoretical concept into a system that yields production grade compilers

via https://news.ycombinator.com/item?id=25842901


Does this mean that PyPy is an example of the first projection of Futamura? Which generates JIT compilers for implementations in RPython.

My understanding of this idea is that it potentially enables the architecture of software systems to be drastically transformed at runtime and over time.

Imagine if your software system (Kuberentes manifests, sourcecode, firewall rules, cloud resources such as SQS, autoscaling groups, RDB databases and so on) was all represented by a single AST and you can transform the AST to handle a new constraint by just transforming the AST which could lead to a system that looks completely different.


Good news everyone!


Glad I'm not the only one who had to double check the name...


Yeah, I read this headline wrong three times


It wasn't until I searched the article for the word Futurama to quickly check what the relationship to the show was, that I noticed my search only matched in the comments and not the title.


I didn't even realize it wasn't Futurama until your comment.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: