I wanted to write out some thoughts I've had (but haven't captured anywhere) about how we should do optimizations in the new compiler
for example, today we compile tag unions down to one of several (very) different representations for the sake of optimization
this obviously makes things run faster, but it has made it really hard to generate glue for different targets
for the new compiler, I think we should avoid doing any of these optimizations - at least at first
so the basic strategy would be:
This is specifically for optimizations that touch host to app communications?
Last updated: Jul 06 2025 at 12:14 UTC