3 ms·
Crystal (http://crystal-lang.org http://crystal-lang.org) has fibers and channels. Current implementation isn't multi-threaded but it's being worked on. So you'
by ricardobeat 9y ago
Crystal (http://crystal-lang.org http://crystal-lang.org) has fibers and channels. Current implementation isn't multi-threaded but it's being worked on. So you'll get that concurrency + nice syntax + types + a wonderful stdlib.
EDIT: as seen in other responses, options abound: Python 3, Elixir, D, Dart and more all have built-in concurrency primitives, not to mention that discarding nodejs because of "callback hell" is at this point laughable.
- giancarlostoro 9y agoNot sure about channels but D has fibers. It is one reason / benefit of why vibe.d[0] was made. [0]: http://vibed.org/features http://vibed.org/features Note: Vibe.d is a web frameworks as well as a networking stack for D. If you're even remotely curious about D or do any web development I recommend you check out Vibe.d it is quite impressive (at the very least to me). Edit: There's apparently jin.go / Go.d: https://github.com/nin-jin/go.d https://github.com/nin-jin/go.d
- holydude 9y agoI am really,really excited about Crystal. I wish it success but I am afraid if the rails shops and big companies do not start using it it will be too little too late.
- goatlover 9y agoThat would be unfortunate. I really like Crystal as a fast, typed alternative to Ruby, but I also prefer Ruby as a language to Go or even Elixir, which not everyone does.