[HN Gopher] Crystal: Bdw-GC Coroutines Support
___________________________________________________________________
Crystal: Bdw-GC Coroutines Support
Author : ksec
Score : 14 points
Date : 2022-02-26 17:57 UTC (5 hours ago)
(HTM) web link (crystal-lang.org)
(TXT) w3m dump (crystal-lang.org)
| kbd wrote:
| So what is the status of Crystal multi-core now? My understanding
| was that Crystal enables Go-like concurrency (green threads
| communicating over channels) except they call "go" "spawn".
| Except it was still single-core and they were working on multi-
| core?
|
| From what I've seen I really like Crystal. It has good ideas
| _and_ they 're working on a dang REPL! I'd like if it took over
| some of Go's share, and I'd like to not have to say "but they're
| still working on multi-core".
| capableweb wrote:
| AFAIK, multi-core has been available for quite some time now
| (unsure about specific disclaimers/missing features) with the
| `-Dpreview_mt` flag. Here are two resources demonstrating it:
|
| - https://crystal-lang.org/2019/09/06/parallelism-in-
| crystal.h... (2019)
|
| - https://github.com/bcardiff/crystal-benchmarks
___________________________________________________________________
(page generated 2022-02-26 23:01 UTC)