3 ms·
I'm a little surprised that Node is beating Deno. Interesting that Java would be faster than Kotlin since both run on jvm.
by knowitnone 2y ago
I'm a little surprised that Node is beating Deno. Interesting that Java would be faster than Kotlin since both run on jvm.
- entropicdrifter 2y agoI mean, the JVM's been optimized specifically for Java since the Bronze Ages at this point, it's not that surprising
- pjmlp 2y agoThat is one of the differences between a platform systems language, and guest languages. You only have to check the additional bytecode that gets generated, to work around the features not natively supported.
- wiseowise 2y ago“Faster”. > Ran each three times and used the lowest timing for each. Timings taken on an M3 Macbook pro with 16 gb RAM using the /usr/bin/time command. Input value of 40 given to each. Not even using JMH. I highly doubt accuracy of the “benchmark”.