logoalt Hacker News

sumnole • today at 2:22 PM • 3 replies • view on HN

For those that don't know: Crystal is like a typed Ruby with the performance and concurrency flow of Go.


Replies

onlyrealcuzzo • today at 3:06 PM

> Crystal is like a typed Ruby with the performance and concurrency flow of Go.

I'm not up to date, but the scheduling engine was far behind Go in terms of parallelism. Crystal was always quite good at concurrency.

But Go is popular because it's so good at parallelism (and relatively safe with a garbage collector).

I know Crystal has been working on this for the last few releases, but I'd be surprised if it's matching Go on parallelism.

Go's runtime is quite the engineering feat.

It can often outperform hand-optimized Rust in worst-case parallel workloads (p99), despite Rust having a number of pretty huge advantages...

➕ show 3 replies
Shorel • today at 3:16 PM

That actually sounds awesome.

Mainly because normal Ruby is an awesome language to write code, and it is also a language that's tried and lost the spotlight because its performance is really, really low, even when compared only with other interpreted languages.

sevenzero • today at 2:23 PM

[flagged]

➕ show 4 replies