Top Tweets for #eventloop
DAILY LOG #1
> Internship - 8:30 am to 4 pm
> go deep dive into Call stack , eventloop , callback queue( Microtask Queue , Macrotask Queue) [gonna write a Medium article on that soon ]
> For fun vibe coded a basic webpage to have a check of my learnings
~will do better tommrow!
![Harsh_Buildzzz's tweet photo. DAILY LOG #1
> Internship - 8:30 am to 4 pm
> go deep dive into Call stack , eventloop , callback queue( Microtask Queue , Macrotask Queue) [gonna write a Medium article on that soon ]
> For fun vibe coded a basic webpage to have a check of my learnings
~will do better tommrow! https://t.co/BZ6YyJ0HzW](https://pbs.twimg.com/media/HNXy6rQaQAAf927.png)
Not all callbacks go to the same queue. π‘
Promises β Microtask Queue setTimeout β Callback Queue..Chain too many promises?
Callback Queue starves.
MICROTASK QUEUE ALWAYS WINS. π₯
Knew the difference? Reply π
#JavaScript #EventLoop #JSConcepts #LearnInPublic

Not all callbacks go to the same queue. π‘
Promises β Microtask Queue setTimeout β Callback Queue..Chain too many promises?
Callback Queue starves.
MICROTASK QUEUE ALWAYS WINS. π₯
Knew the difference? Reply π
#JavaScript #EventLoop #JSConcepts #LearnInPublic

Promises + Mutation Observer β Microtask Queue π
setTimeout + EventListeners β Callback Queue
Microtasks keep creating microtasks?
Callback Queue NEVER runs β that's Starvation. π οΈ
SILENT BUT DEADLY. Knew this? Reply π
#JavaScript #EventLoop #JSConcepts #LearnInPublic

Promises + Mutation Observer β Microtask Queue π
setTimeout + EventListeners β Callback Queue
Microtasks keep creating microtasks?
Callback Queue NEVER runs β that's Starvation. π οΈ
SILENT BUT DEADLY. Knew this? Reply π
#JavaScript #EventLoop #JSConcepts #LearnInPublic

Promises + Mutation Observer β Microtask Queue π
setTimeout + EventListeners β Callback Queue
Microtasks keep creating microtasks?
Callback Queue NEVER runs β that's Starvation. π οΈ
SILENT BUT DEADLY. Knew this? Reply π
#JavaScript #EventLoop #JSConcepts #LearnInPublic

Day 9/100 β Web Dev Challenge π
Today I understood how libuv and the Event Loop work inside Node.js.
Learned how async tasks, timers, and non-blocking I/O are handled under the hood.
thank sir @namastedev_
#100DaysOfCode #NodeJS #EventLoop #LearnInPublic

->Have you wonder why there is 2 taskQueue in eventloop ?
->what happens when there is only one taskQueue in eventloop how execution will change and all
so here is the ans π§΅
1/n
We all know multithreading and Eventloop are two ways of achieving concurrency. A better word for Event loop would be I/O multiplexing. Since I/O is fundamentally a blocking operation, the idea of I/O multiplexing is to make it non-blocking. Now let's see how we can do that.

Quiz: After 4, what prints first?
A) timeout
B) microtask
Drop your answer + reasoning, letβs see who can map the event loop clearly.
#JavaScript #EventLoop #AsyncAwait #NodeJS #WebDev #BlockseBlock
Who runs first in JS? π§
1οΈβ£ Sync code
2οΈβ£ Microtasks (Promise.then, await)
3οΈβ£ Macrotasks (setTimeout)
Even setTimeout(..., 0) waits behind promises.
Master the event loop β avoid async surprises.
#JavaScript #WebDev #Async #EventLoop

The JavaScript event loop is what makes async magic happen π
It lets single-threaded JS handle multiple tasks without blocking.
β
Call stack
β
Microtasks (Promises)
β
Macrotasks (setTimeout, I/O)
Master it, and async code becomes clear.
#JavaScript #EventLoop
Just published a new blog post diving deep into the JavaScript Event Loop!π
Learn how it works and why itβs key to mastering async programming.
Check it out: [https://t.co/sgonRl3Tsy]
#JavaScript #WebDevelopment #Eventloop
Just published a new blog post diving deep into the JavaScript Event Loop!π
Learn how it works and why itβs key to mastering async programming.
Check it out: [https://t.co/sgonRl3Tsy]
#JavaScript #WebDev #Eventloop
Can you solve this JavaScript brain-twister?
What's the output and why ?
I will share this answer soon.
#JavaScript #WebDev #CodeInterview #EventLoop #AdvancedJS #CodingChallenges #TechTwitter #FrontendInterview #Closures #AsyncJS

Implementing an Event Loop from scratch in Java!
I have always wondered how an event loop works.
How does it accept a task? How does it delegate that task?
How does it continue accepting new tasks without pausing the execution of previously accepted tasks?
How does it know that a previously-submitted task has completed its execution & the result should be returned to its owner?
Given that event loop sits at the core of non-blocking client-server frameworks such as Netty that are widely used in our day to day development, I felt it's essential to gain a first-hand understanding of the inner workings of an event loop!
And, hence, I decided to implement an event loop from scratch in Java & wrote the following blog to share my learnings:
https://t.co/axOmcsxVwI
#eventloop #singlethreaded #workerthreads
What will the output be? π οΈ
Let's discuss how Node.js handles the Event Loop! π
#javascript #nodejs #eventloop

Understanding the phases of the NodeJS Event Loop cycle is key to writing efficient, non-blocking code. Hereβs a simple breakdown of each phase and how it impacts your app. π§΅π
PS: If youβre enjoying this content, please support me by liking and/or resharing this post π.
#NodeJS #JavaScript #EventLoop
Understanding the phases of the NodeJS Event Loop cycle is key to writing efficient, non-blocking code. Hereβs a simple breakdown of each phase and how it impacts your app. π§΅π
PS: If youβre enjoying this content, please support me by liking and/or resharing this post π.
#NodeJS #JavaScript #EventLoop
Letβs get into the basics of the Event Loop, the backbone of Node's asynchronous behavior. Hereβs a simple breakdown of how it works and what makes it essential. π§΅π #NodeJS #JavaScript #EventLoop
@LavKushwaha_ Frist>Second>Third
Answering this question requires a lot of familiarity with eventloop
π§΅ Challenges and Solutions π οΈ
While single-threaded design simplifies certain aspects, it poses challenges in handling CPU-intensive tasks. #Developers address this by offloading such tasks to web workers or utilizing features like the #EventLoop to maintain responsiveness.
which gave me good insight into internal components and request handling.
#nodejs #springwebflux #backenddevelopment #eventloop
2/2
https://t.co/yDyAXaNbxC
Last Seen Hashtags on Sotwe
ΰΈΰΈΰΈΰΉΰΈ‘ΰΈ·ΰΈΰΈΰΈΰΈ±ΰΈΰΉΰΈ’ΰΉΰΈ
Seen from Thailand
hijabi
gayinterracial #bbc
Seen from Puerto Rico
fypmalaysia
Seen from Malaysia
buyingcontent
Seen from Mexico
Feminisation
Seen from France
ChristophNix
Seen from Saudi Arabia
sakaryaescort
Seen from Turkey
aprovechandohastaelΓΊltimominuto
Seen from United States
turbanliporno
Seen from Norway
Most Popular Users

Elon Musk 
@elonmusk
239.6M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers















