8 ms·
Author here. I do know about VMs. Is it too lazy for me to write that article and not bother to install a VM with Mojo (and Rust and Julia, to benchmark in the
by jakobnissen 3y ago
Author here. I do know about VMs. Is it too lazy for me to write that article and not bother to install a VM with Mojo (and Rust and Julia, to benchmark in the same environment)? Maybe. If this was for my work I certainly would have felt compelled to.
On the other hand, the fact that Mojo doesn't run on Windows and most Linux distros is a point in itself. And also, would the blog post really be substantially improved if I had gotten the number of milliseconds right for the Mojo implementation on my computer? Of course not. It should be clear that the implementations are incomparable, and that a similar Julia implementation is very fast which implies that the reason the original Mojo implementation allegedly beat Rust is not because Mojo is faster. It's just a different program.
- zer00eyz 3y ago>> Is it too lazy for me to write that article and not bother to install a VM with Mojo Yes. Would you talk about a book you didn't read? Or a movie you didn't see? Not on any meaningful level.
- jdiaz97 3y agoThat's not a very good analogy, you can understand code without having to run it.
- kescobo 3y agoSomeone knowledgeable enough about movies can read a script and know of it's good or not without needing to see it actually produced. Here, it's possible to read the code and know what the program does sufficient to critique it for what it is.
- eviks 3y agoBut he did read the "book" (source code). But ignoring analogies, can you cite a specific benefit to running the benchmark when discussing parsing correctness?