Re:JavaScript is Eating the World
by ridiculous_fish on Thursday August 24, 2017 @12:14PM
(#15091346)
Favorite node / libc impedance mismatch is the stat() call. stat() returns an inode, which is a 64 bit integer. But JS doesn't have 64 bit integers, so it just gets rounded to the closest representable double. So node will sometimes identify two different files as the same file.
https://github.com/nodejs/node/issues/12115