2 ms·
Not strong enough of a package. Add some features to sell it. Safety, design features, testing support, concurrency and more...
by AstralStorm 10y ago
Not strong enough of a package. Add some features to sell it. Safety, design features, testing support, concurrency and more...
- hamandcheese 10y agoYou must not have taken a very close look because the concurrency story is already great (and will one day turn in to a great parallel story), the built in testing library has a very useful set of assertions and an RSpec like BDD syntax, and safety far exceeds Ruby -- the compiler knows the type of all variables and won't ever let you make an "undefined method foo for Nil class" type of error.
- AstralStorm 10y agoIt is a library, not a part of the language. I can have a great testing library in any language. By language I mean actual language, keywords, syntactic constructs. Formal logic descriptions even. I haven't looked closely enough, the concurrency looks decent but it's not as integrated as in certain other modern langs (e.g. Go, Erlang or certain other FP languages, even certain ones riding on JS) It is sad to see something this outdated starting up now...
- RX14 10y agoI'm sorry what? Crystal's type system is both expressive and safe compared to most languages. It has generics, tagged type unions and dynamic dispatch. It has a built in spec runner and testing suite which are highly usable and proven on the compiler. Most of all, it is already concurrent. Crystal has lightweight fibers implemented in assembly for x86, arm and arm64. It has channels to communicate between fibers. All io is evented by default, where the http server manages over 100,000 requests per second per core. Its obvious to me you don't know what you're talking about.