108 points · by tomkwok · 11y ago · 36 comments
How can this be possible? How can allocation via JavaScript (which I assume must call malloc underneath) be faster than just malloc in C++? Does Node have a slab allocator for buffers like the Linux kernel has for task structs, or are objects allocated on the heap on demand?
Java for example does object instantiation much faster.
It's also common to replace malloc with an in house implementation for performance sensitive code.
- semver
- small, infrequently changing major & minor version numbers
- large, active project
For 2: Since semver implies that the version numbers increase fast with the number of releases, 2 can hold, if we only rarely release new versions. Note that this does not imply that it isn't large and active. For an example: If creating new releases takes a lot of time, few new versions will be releases, but the project can still be very active. To give a (slightly artificial) example: If (because of quality standards of the project) any release will also contain a machine-checked proof of correctness, creating a new release will take a long time.
TLDR: A large, active project that only rarely releases new versions, but names them semantically has all three properties.
Point releases are generally for non-breaking patches or bug fixes.
From the changelog it looks to be inline with this.
$ node -v v0.12.7
What happened to Node?
If you need to visually "hide" the text in order to make it look "clean," you're doing typography wrong.
The offending CSS is:
html { scroll-behavior: smooth; }
Only noticing this issue in Firefox.