Closed qm3ster closed 5 years ago
I'd have to benchmark it. Runtime overhead is pretty of cpython is pretty low. I'm leveraging the rust crowbar crate which exposes a rust function as a python initializer without the need to wrap a python script around it. The result is the cost of the startup time for python which is very low compared to other runtimes + the time it takes python to install an initializer. At runtime there's small layer in rust crowbar that uses cpython to marshal to and from serde Json types.
I would be interested in the comparison but would also be curious about it's trade offs. Not just in terms of performance but in what's currently available crate wise that would make the work flow comparable to the ease of rust crowbar. For me workflow is as important has performance.
Given the "official" rust support now I think this issue can be closed.
Would
PInvoke
ing the rust dll from F# (allegedly fastest AWS Lambda runtime) be slower than the cpython?