#crystallanguage

2025-05-02

Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was πŸš€ trending on #GitHub two weeks ago? 🀩

For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in πŸ€– #IoT).

And it was born at @84codes / #84codes. πŸ™πŸ»

lavinmq.com/

#crystallanguage #crystal

Meet LavinMQ - the ultra quick message queue and streaming server built with Crystal! Experience lightning-fast communication #OpenSource #MessageQueue #CrystalLang #DevCommunity
Jamie Gaskinsjamie@zomglol.wtf
2025-03-27

I've been trying to figure out how to document operators built with my Crystal Kubernetes client because the types are all generated from the CRD.

It just occurred to me today that K8s CRDs use OpenAPIv3, which supports a `description` property. All I needed to do was use it to write doc comments in the generated code.

github.com/jgaskins/kubernetes

#kubernetes #CrystalLanguage

Jamie Gaskinsjamie@zomglol.wtf
2025-03-23

I just noticed that NATS 2.11 was released last week. The feature I've been waiting for is per-message TTLs, so I just added support for them to my Crystal NATS client. πŸŽ‰

github.com/jgaskins/nats/commi

#NATS #Crystal #CrystalLanguage

Jamie Gaskinsjamie@zomglol.wtf
2025-03-12

Cutting out regexes made Armature's path matching over 30x faster. 🀯

Routing a request to an endpoint in 6Β΅s is good, but doing it in under 190ns is a lot better!

github.com/jgaskins/armature/c

#Crystal #CrystalLanguage

2025-02-16

Very cool:

if you're using #vscode and you program in :ruby: @ruby, πŸ’Ž @CrystalLanguage or 🐍 @Python, then you might want to use @ninoseki's #vscode_extension Mogami, which shows the latest dependencies in #Gemfile, #shards and #requirements_txt.

Keep in mind that #crystalshard checks are only working on #github repos for now though!

github.com/ninoseki/vscode-mog

#ruby #rubylang #CrystalLang #crystal #CrystalLanguage #python #code #dependencies #rubyprogramming

Screenshot showing a Gemfile snippet with hints to the latest dependency versions
2025-02-08

@martenframework btw you should consider using hashtags on such announcements, like #crystallang #crystallanguage #webframework #webdevelopment #webdev #crystal.

And I think it would be great if the posts would also contain a summary of the changelog of that release.

No pressure but I think it might help regarding visibility. πŸ˜‰

2025-02-05

Wow, Grzegorz's #CLI πŸ“… #calendar tool Plany looks amazing, it's written in @CrystalLanguage and it can be managed in #yaml:

github.com/gergelyk/plany

#CrystalLang #CrystalLanguage #commandline #meetings #ncurses #linux #opensource #foss

Jamie Gaskinsjamie@zomglol.wtf
2025-01-24

Finally published a library I've wanted for a long time: a Crystal type for dealing with both calendar and monotonic durations in the same object.

github.com/jgaskins/duration

#Crystal #CrystalLanguage

2025-01-23

It seems that @sdogruyol did another performance and memory #benchmark where he compared @ruby's Sinatra (#Ruby 3.4.0) against @CrystalLanguage's @crystalkemal.

However, I don't think it's entirely fair though. πŸ˜‰

You can find the repository over here:

github.com/sdogruyol/kemal-git

#rubylang #crystallang #crystallanguage #ruby #crystal #SinatraRb #sinatra

Crystal 1.15.0 vs Ruby 3.4.0 Benchmark πŸ‘‡

Kemal  - 174671 Requests per second (13.6 MB memory) 
Sinatra -    6014 Requests per second (27.6 MB memory)

Crystal is 2903% faster than Ruby in throughput, consumes less than 50% memory πŸš€wrk -c 100 -d 40 http:/Nocalhost:3000/applications/123/tokens/123 Max
3.58k Running 40s test http://ocalhost : 3000/applications/123/tokens/123wrk -c 100 -d 40 http:/I/Nocalhost:3000/applications/123/tokens/123 Running 40s test http://localhost:3000/applications/123/tokens/123
2025-01-14

Serdar updated the #crystalkemal cookbook with more recipes (i.e. #Cookies, #Databases, #redis ).

If you're looking for a #sinatra like framework for @CrystalLanguage, then #kemalcr is the best way to go.

#CrystalLang #CrystalLanguage#kemal

Serdar's post on Twitter saying:
Great news everyone

I've updated the Kemal Crystalkemal Cookbook with more recipes (Cookies, Databases, Redis e.g)

What else would you like to see in Kemal Cookbook?
2024-12-13

In case you're looking for further #RubyLang folks to follow, you might want to have a look over here:

fedidevs.com/ruby/

It seems a @CrystalLanguage list is missing for now though.

#ruby #rails #rubyonrails #CrystalLang #CrystalLanguage #Crystal

2024-11-22

The moment when you're searching around and you found something that finally makes it very easy just to do the thing that you like to do.

I think that every #Ruby, @rails and @CrystalLanguage developer felt this happiness at one point. 😊

reddit.com/r/crystal_programmi

#CrystalLang #CrystalLanguage #crystal #RubyLang #rails

This is a GREAT language

I'm not an experienced programmer, and I'm trying to write my own monitoring tool for linux

I tried Rust and C++ and gave up after a week because the syntax and learning curve is so steep

Cr on the other hand feels like pure Ruby, so fast to develop, compile and test, its light speed, already have a working binary that monitors my OS and sends valuable info a monitoring engine (in 2 days of coding)

I dont understand how CR is not blowing away everything else in terms of popularity and usage, its the best of all worlds.

even w a much smaller lib ecosystem than something like Rust, I can still create productive software (one example is Hardware lib, didnt have everything I needed to report on system CPU, Mem usage, I wrote the missing functionality myself in CR in 1 hour)
2024-10-27

Serdar just pointed out at the other site that Steven Belanger gave some interesting input on execution contexts for @CrystalLanguage:

github.com/crystal-lang/rfcs/p

#crystallang #crystallanguage #crystal #multithreading

A core contributor from Node.js joins the Crystal community to comment on the highly anticipated Multithreading RFCβ€”a powerful testament to the collaborative spirit of open source πŸ’ͺ
#crystallang #nodejs @CrystalLanguage
2024-10-13

Just in case you missed it:

Serdar released 🎩 Kemal 1.6.0 two days ago πŸŽ‰

- πŸͺŸ Windows Support
- πŸ’Ž #CrystalLang 1.14.0 Support
- πŸ“‚ Improved Directory Listing

github.com/kemalcr/kemal/relea

@CrystalLanguage #CrystalLanguage #Crystal

2024-10-10

@ilyhanshi there are a lot of Shards that extend #Kemal and personally I like Spider-Gazelle.

#Crystallang #crystal #crystallanguage

2024-10-06

This is a nice watch: Shane Mason (Senior Manager at self-driving vehicle company Cruise) played around with @CrystalLanguage to create the Artificial Life Simulation (Game of Life) on #steamdeck:

youtube.com/watch?v=yCSqM__ZPA

#crystallang #crystallanguage #gameoflife

2024-09-25

have i told you all i love spectator? i love spectator!

#crystallang #crystallanguage #spectator #bdd

2024-09-18

Nice detail: Celso @fernandes showed @CrystalLanguage on his @friendlyrb slide with fast languages.

And he just said that he's a "huge fan of Crystal". 🀩

#friendlyrb #conference #FriendlyRB2024 #Bucharest #crystallang #crystallanguage #crystal

Celso on the stage with presentation slides in the background showing the Crystal Language logo

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst