On Monday, August 29, 2016 at 11:57:32 AM UTC-4, Páll Haraldsson wrote:
>
> Interesting benchmarks here ("virtual_module" is transpiled, but "Julia
> 0.4.6 not, only to compare, and [can be] a little slower than Python..):
>
An accurate transpiler from Ruby or Python to Julia is pretty much
guaranteed not to give any performance improvements, because it will be
limited by the semantics of the source language. (If it were possible to
take advantage of Julia's performance in a transpiler, it would be possible
to just write a direct-to-machine compiler for the original language.)
And in practice it will probably be slower than the source language because
Julia is not as heavily optimized for interpreting those semantics.