Daily Thought - 2024-11-15
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.
If your Caterpillar application has performance-intensive parts, it could make sense to implement those in Rust, as part of the host. At least for the foreseeable future. The same goes for code that needs libraries written in other languages, as Caterpillar currently does not have an FFI interface.
In such a scenario, it could make sense to use ring buffers for communication between host and Caterpillar code, especially if a lot of data is exchanged. If you have multiple worker threads on the host side, to process requests in parallel, then something like a disruptor could make sense.
But as of now, all of this is speculation. No applications that would benefit from something like it have been written. So while it's interesting to think about this stuff, I remain focused on more immediate goals. Like the static type system, and then deploying games to websites (and I still think it should actually be the the other way around 😂).
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.