Message from JavaScript discussions
September 2017
— Okay thank u i will note that down now
Not really, all it is, is an event loop and cooperative scheduler, things that can be used for any purpose
— It basically lets seperate things get processing time without returning
— Single-threaded
— Applications will use system calls to the kernel for specific things. Stuff like yield DISPATCHER_WAIT(pid);
which tells the scheduler to not run the program's main thread again, only running the event loop, until the dispatcher gets an IPC message from the specified pid
— There will be messaging between running programs, so you might want to wait for a message sometimes.
— I will also be disabling Node automatic GC via C++
— So GC will only run when there is actual work to do, and it will only run as a scheduler program at a low system pid
— Otherwise there will be random unpredictable delays, impacting events and interactivity
— Damn man, that's too much for my little knowledge lmao
— 😳
— Dani is JS and C++ goddess