Node v4.1.0
nodejs.org
nodejs.org
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.
I've not tried 4.1
If you can, check out https://github.com/websockets/ws .
I'll take a look at this. I only recently started using socket.io in my express site, so I'm not too deep down the rabbit hole. It seems to have close to the same syntax.
Any reason why you support ws over socket.io?
ws is faster, and most browsers now support web sockets properly.
If you want some isolation, there are various shim layers that are available.
$ 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.Anyways, they do it on their whole site, and it's more cohesive on the other pages. It's better to view the release notes in readerview I guess.