Message from JavaScript discussions

October 2018

— You could say, JS is extremely opinionated, due to that event loop wrapping it

— 

You start only one thing this way. better pass some array of functions.. or even better some array that will have stop markers. like [A B C stop D E stop F G]

— I mean, this is not uncommon though? Plenty of languages have the same stuff, C#, Python, etc?

— This is the current model in nodejs for blocking i/o and so

— You dont need it

— An observable is perfect as a channel

— The thing is, this are patterns to abstract a low level implementation

— Promise or observable in nodejs are hidding the model of event loop

— One main thread throwing tasks to a thread pool

— Making the main thread never locked

— This is one model, and promise or observable is the abstraction, or a mechanism to deal with it

— What Dani does is another model like promise or observable, but it's focused on high granularity and stackless code

Message permanent page