crystal
Installation
SKILL.md
Crystal
Crystal compiles to native code (using LLVM) but looks exactly like Ruby. v1.12 continues improving Windows support and parallelism.
When to Use
- High-Performance Ruby-Like Applications: Building compiled native binaries with Ruby-like elegance and C-like execution speed.
- Fast Microservices & APIs (Kemal / Lucky): Serving high-throughput REST and WebSocket APIs with sub-millisecond response latencies.
- CLI Tool Development: Compiling single, self-contained standalone executable binaries without external runtime dependencies.
- Concurrent Network Processing: Handling thousands of concurrent connections using lightweight CSP fibers and channels.
Quick Start
# Define typed struct with automatic getters
record User, id : Int32, name : String, email : String