crystal-docker-quickstart
sorbet
Our great sponsors
crystal-docker-quickstart | sorbet | |
---|---|---|
6 | 53 | |
20 | 3,521 | |
- | 0.4% | |
4.4 | 9.9 | |
2 months ago | 5 days ago | |
Makefile | Ruby | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
crystal-docker-quickstart
- Crystal 1.10.0 Is Released
-
Show HN: Crystaldoc.info – Crystal Shards API Documentation Hosting
Happy Crystal user and code contributor here. (Also created https://github.com/compumike/crystal-docker-quickstart in case you want to try Crystal without installing anything.) In my opinion:
- Slow compile times are still a pain for iteration.
- The REPL / interpreter mode is still rough around the edges.
As far as companies using Crystal:
- We’re using it happily in production at Heii On-Call https://heiioncall.com/status
- Kagi is using it for their search engine backend https://news.ycombinator.com/item?id=32687071
- Other companies using it list: https://crystal-lang.org/used_in_prod/
-
Crystal for Rubyists
This is great Serdar.
As an alternative to Chapter 2 I’ll also share https://github.com/compumike/crystal-docker-quickstart my project template which lets you get a Crystal (currently 1.6.2) dev environment running with just Docker. Good for kicking the tires, which is what I think your audience is probably wanting to do! And then eventually can install a binary package as you suggest.
-
Marten, a Crystal web framework that makes building web apps productive and fun
My side project https://totalrealreturns.com/ is now about 5k lines of Crystal. There are some rough edges: in particular I think it could use a better templating solution (a port of HAML would be ideal!), and there are some failure modes with the Redis connection pool that have required workarounds.
This includes unit tests: the built-in spec framework is great and much like rspec. https://crystal-lang.org/reference/1.6/guides/testing.html
I'm now starting to use Crystal for internal backend infrastructure and microservices.
For anyone who wants to kick the tires on Crystal, I built a crystal-docker-quickstart project template: https://github.com/compumike/crystal-docker-quickstart works without having to install anything locally. (Assuming you have docker.) You can have your own, home-built "Hello world" static binary in under a minute:
git clone https://github.com/compumike/crystal-docker-quickstart.git my_app && cd my_app && ./d_dev
- crystal-docker-quickstart: try Crystal in a container, without installing anything
-
Crystal Programming Language
If you'd like to try out Crystal without installing anything locally, I've created a tiny Docker container with a Crystal project template:
https://github.com/compumike/crystal-docker-quickstart
For example, you may do:
git clone https://github.com/compumike/crystal-docker-quickstart.git my_app
sorbet
-
The Design Principles of the Elixir Type System
Not part of the official language spec, but Ruby has Sorbet, from a company who employs Ruby core contributors and helped with the recently released JIT additions to the language, amount countless other contributions over the last couple decades.
https://sorbet.org/
- Почему я программирую на Ruby
-
Bringing more sweetness to ruby with sorbet types 🍦
First let's introduce the tool: Sorbet is a gem developed by Stripe that aims to bring type notation syntax and type checking support for the Ruby ecosystem by utilizing the "Gradual typing" philosophy, it also provide type generation from YARD comments via the tapioca gem, allowing to grow alongside the already built Ruby codebase.
-
An Introduction to Metaprogramming in Ruby
We have hundreds of thousands of lines of ruby code spanning many services / monoliths. Even now I find it somewhat annoying to open a controller / component that is basically an empty class def but somehow executes a bunch of complex stuff via mixins, monkey patches etc, and you have to figure out how.
We are turning to https://sorbet.org/ to reign in the madness. I'm keen to know if others are doing the same, and how they are finding it (pros and cons)
- A few words on Ruby's type annotations state
-
Is Ruby on Rails still in demand?I see very few companies using it.Is it used in big tech companies like Google,Amazon,Facebook,Microsoft?
According to https://sorbet.org/ , the vast majority of code at Stripe is written in ruby.
-
¿Que lenguaje de programación consideran que no está saturado?
Caso de Stripe, que tuvo que inventar Sorbet para tener type checking en ruby.
- Building GitHub with Ruby on Rails
-
RJIT a New JIT for Ruby
> I guess what I'm asking is: do you see a future where there is more explicit control afforded to people who want to pick their own tradeoffs without resorting to writing everything performance-sensitive in extensions written in C/Rust/whatever?
An approach exists already in the present, and it's Stripe's Sorbet AOT compiler (https://github.com/sorbet/sorbet/tree/master/compiler).
-
Has Ruby actually increased the speed significantly?
That's incorrect. You may be thinking of Stripe, and AFAICT it's not very actively developed anymore: https://github.com/sorbet/sorbet/commits/master/compiler
What are some alternatives?
bridge-cli - CLI for Crunchy Bridge
solargraph - A Ruby language server.
sorbet-rails - A set of tools to make the Sorbet typechecker work with Ruby on Rails seamlessly.
vscode-solargraph - A Visual Studio Code extension for Solargraph.
crystaldoc.info - Crystal Shards API Documentation Hosting
rbs - Type Signature for Ruby
lilith - x86-64 os made in crystal
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
marten - The pragmatic web framework.
noclip.website - A digital museum of video game levels
lucky - A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
tapioca - The swiss army knife of RBI generation