danbev / learning-nodejs Goto Github PK
View Code? Open in Web Editor NEWProject for learning Node.js internals
Project for learning Node.js internals
Hi,
First of all thank you so much for such great learning resources.
Since the node source code changes rapidly, could you please tell me the git revision/tag/branch or node version number which these articles are based on? So that I can learn more efficiently as a beginner?
Thank you.
There are uv__run_timers()
and uv__run_pending()
in uv_run()
. But, there isn't run_next_tick().
How can my callback function which I registered with process.nextTick( {callback} ) is processed between two phases( uv__run_timers() & uv__run_pending() ) ?
Hi @danbev,
Can you explain a little bit on how node implement the "MessageChannel" api?
I googled on this topic and seems few people talked about the api implementation, only its usage.
I checked the "node_messaging.h" as well as "node_messaging.cc", and knew what a message channel/port looks like, but I can't figure out how node uses those data structure to implement a real message channel, by that I mean being ware of /keeping tracking of the communications between contexts(a parent worker and a child worker, many siblings workers etc.)
Hope you don't mind I ask a question here.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.