Daily Thought - 2024-10-21
Hey, I'm Hanno! These are my daily thoughts on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!
This thought was published before Crosscut was called Crosscut! If it refers to "Caterpillar", that is the old name, just so you know.
One thing that came out of the recent compiler cleanup, is that function calls (as represented in the compiler's intermediate representation) now refer to the called function by hash. Previously, calls still referred to the callee by name.
This approach is inspired by Unison. I've talked about that before. Caterpillar, at this point, doesn't make use of any of the possibilities this brings yet thought. All calls are just updated immediately, when the called function changes.
So at this point, this is just another building block on the way towards eventually having a code database. It's something I would really like to prioritize at some point. But for now, there's too much else to do.
Hey, you! Want to subscribe to my daily thoughts? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email whenever I post a new one.