> Then I realized that it wasn't totally clear to me what json_list_to_str_vector() should do, exactly, and so I don't even know how it would compare.
It just converts a JSON-encoded list of strings into a Vec<String> doesn't it? That's what the other languages do:
* get data from some envvar
* decode it from json to an array/list/vector of strings
* concatenate argv[1..]to the result of (2)
* execute this new argslist (the first item being the name of the program)
Re:Python to OCaml: Retrospective
by steveklabnik on Wednesday January 27, 2016 @09:33AM
(#10980145)
Ah that makes sense. Oh well.
Then I realized that it wasn't totally clear to me what json_list_to_str_vector() should do, exactly, and so I don't even know how it would compare.
When this article was written Rust had a big runtime. It was a very different language. OCaml is pretty fast, but I would still expect Rust to fare much, much better today.