Crystal
#!/usr/bin/env crystal
puts "Hello World!"
- Embed Crystal code directly in Ruby / HN - have ruby generate crystal code from ruby code and then invoke it.
Creating a project or library
crystal init app <name> # create app/lib project
shards # edit shards.yml/ then install shard
crystal [build|[run]] main.cr # compile & execute main
Installation Notes
contrary to doc keys.gnupg.net is not reachable, use pgp.mit.edu instead.
Lang
Standard library
Shards (Gems)
C bindings
Crystal allows you to bind to existing C libraries without writing a single line in C.
Overall perfs
Forum
References
see also
Written on August 30, 2017, Last update on April 11, 2024
crystal
lang
golang