Crystal

A language for humans and computers - Home / HN v1.0.0

#!/usr/bin/env crystal
puts "Hello World!"

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