#projects

One fun thing with the compiler project is always being on the lookout for some non-trivial "real world" test programs that are also not enormous.

Seeing another of

's triangle rasterizer posts made me realize that that'd be an interesting one (various nested loops, math, 2d/bitmap array access, etc).

#Projects #Compiler

Realizing that having basic blocks containing instruction lists is useful, but for things like liveness ranges I'm going to have to flatten the program so I can number instructions across larger ranges...

Stumbled over this Cornell CS6120 site online which is a nice collection of lesson videos, notes, links to papers, etc.
cs.cornell.edu/courses/cs6120/

See also, the IR (with the canonical form being JSON, hm!) designed for the course:
cs.cornell.edu/~asampson/blog/

Thanks,

!

#Projects #Compiler

www.cs.cornell.edu

CS 6120: The Self-Guided Course
Show Full thread

Okay, actually had to put together the glue to wire up the links between predecessor and successor basic blocks and track the FILLED and SEALED states (as well as add some ENTER/EXIT/DEAD flags to manage other fiddly details).

Bonus: Found the code in the old compiler that emitted basic blocks containing IR instructions in graphviz dot format. Will be reviving that soon.

#Projects #Compiler

Elk Logo

Elk is in Preview!

Thanks for your interest in trying out Elk, our work-in-progress Mastodon web client!

Expect some bugs and missing features here and there. we are working hard on the development and improving it over time.

Elk is Open Source. If you'd like to help with testing, giving feedback, or contributing, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

Daniel Roe三咲智子 Kevin DengPatakAnthony Fu

The Elk Team