3 ms·
If its so simple to port Ruby code to Crystal, then how come nobody has gotten around to porting Rails to Crystal yet?
by chrisseaton 7y ago
If its so simple to port Ruby code to Crystal, then how come nobody has gotten around to porting Rails to Crystal yet?
- rurounijones 7y agoPlease re-read what I said. I never claimed it was easy to port in every situation. I merely pointed out that "depending on what you are doing they (semantic differences) are minor considerations." and then gave an example where that was the case with a simple application I was working. If you want a more complicted library that was ported from Ruby to Crystal then you can also look at Sidekiq ( https://www.mikeperham.com/2016/05/25/sidekiq-for-crystal/ https://www.mikeperham.com/2016/05/25/sidekiq-for-crystal/ )
- deleted 7y ago[deleted]
- chrisseaton 7y agoBut when this doesn't apply to even basic parts of the Ruby ecosystem, like Active Support, these 'minor differences in some cases' are fundamental showstoppers for a company like Shopify, which was the context. The original comment said 'without needing to really think in a whole different programming experience'. Ruby without #send and #eval is a very much a whole different programming experience for a company like Shopify.