logoalt Hacker News

gostsamotoday at 11:07 AM2 repliesview on HN

> how much memory a native code version of the same functionality would use.

native to what? how c++ is more native than python?


Replies

VorpalWaytoday at 11:37 AM

Native code usually refers to code which is compiled to machine code (for the CPU it will run on) ahead of time, as opposed to code running in a byte code VM (possibly with JIT).

I would consider all of C, C++, Zig, Rust, Fortran etc to produce native binaries. While things like Cython exist, that wasn't what was used here (and for various reasons would likely still have more overhead than those I mentioned).

fluoridationtoday at 1:26 PM

Native to the hardware platform.