Get the latest tech news
Notes on the Crystal Language
A friend talked me into trying out the Crystal programming language, and then another friend talked me into starting a little project that Crystal would be good for, so here’s the traditional rambling thoughts on it. Written in September 2024, using Crystal 1.13.
The tutorial also has editable and executable online code blocks, which is an excellent way to play around Has a good range of useful-but-less-common built-in types like sets, symbols/atoms, tuples and closures, so the creator is no fool Reasonably modern package/build manager: shards. I have no idea whether Crystal is unsound or not, since its logic around types and objects and stuff seems different from TS’s approach, which is shaped by needing to interoperate with the abject sadness that is JS. There’s fairly mundane things like a formatter and a macro-expander, and also slightly more uncommon but interesting bits like something that prints out the full class tree for a program, or shows the implementations possible for an overloaded method call.
Or read this on Hacker News