3 ms·
AFAIK, it's the same as any other language w/ Ruby. Http micro service, IPC, or FFI. There were some attempts to do inline crystal, like what Mojo does in Pyt
by DistractionRect 3y ago
AFAIK, it's the same as any other language w/ Ruby.
Http micro service, IPC, or FFI.
There were some attempts to do inline crystal, like what Mojo does in Python, but I don't know if any of them became stable long term solutions.
There's probably a way to get native C ext speed, you can see an old attempt here:
https://www.akitaonrails.com/2016/07/06/trying-to-match-c-based-fast-blank-with-crystal https://www.akitaonrails.com/2016/07/06/trying-to-match-c-ba...
But at any rate, it'll be better than ruby.