What the heck is the event loop anyway? | Philip Roberts | JSConf EU

Share this & earn $10
JSConf
Published at : 25 Dec 2020
1628266 views
45351
301

JavaScript programmers like to use words like, “event-loop”, “non-blocking”, “callback”, “asynchronous”, “single-threaded” and “concurrency”.

We say things like “don’t block the event loop”, “make sure your code runs at 60 frames-per-second”, “well of course, it won’t work, that function is an asynchronous callback!”

If you’re anything like me, you nod and agree, as if it’s all obvious, even though you don’t actually know what the words mean; and yet, finding good explanations of how JavaScript actually works isn’t all that easy, so let’s learn!

With some handy visualisations, and fun hacks, let’s get an intuitive understanding of what happens when JavaScript runs.

Transcript: http://2014.jsconf.eu/speakers/philip-roberts-what-the-heck-is-the-event-loop-anyway.html

License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
Philip Robertsevent loopJS

The Poisonous Snake | C.I.D | सीआईडी | Real Heroes

The Poisonous Snake | C.I.D | सीआईडी | Real Heroes

EverLast - This Kind Of Lonely

EverLast - This Kind Of Lonely

Mona is curious about something... [Genshin Impact]

Mona is curious about something... [Genshin Impact]

Blackpink, See U Later, in Sydney Australia

Blackpink, See U Later, in Sydney Australia

Logic - Homicide (feat. Eminem) | REACTION

Logic - Homicide (feat. Eminem) | REACTION

Evans Creek Vineyard Grape Harvest

Evans Creek Vineyard Grape Harvest

Bitcoin, Roku, Capitol Hill: Jim Cramer's Stock Market Breakdown 1/8

Bitcoin, Roku, Capitol Hill: Jim Cramer's Stock Market Breakdown 1/8

24 December Current Affairs 2020 | Current Affairs by Krati Singh | Current Affairs Today

24 December Current Affairs 2020 | Current Affairs by Krati Singh | Current Affairs Today

MY SUSTAINABLE CLOTHING LINE !

MY SUSTAINABLE CLOTHING LINE !

How to Pronounce Appreciably

How to Pronounce Appreciably

Your Whatsapp Data is Unsafe!!! Pegasus Spyware Attack By Israeli Company🔥🔥🔥

Your Whatsapp Data is Unsafe!!! Pegasus Spyware Attack By Israeli Company🔥🔥🔥

Types of MEAT | Red Meat vs White Meat | Complete Info by Guru Mann

Types of MEAT | Red Meat vs White Meat | Complete Info by Guru Mann

Atonement (2007) - Official Trailer

Atonement (2007) - Official Trailer

Anaysha Figueroa "Give Us This day"

Anaysha Figueroa "Give Us This day"

Comfort & Reassurance: Guided Sleep Talkdown for Uncertain Times

Comfort & Reassurance: Guided Sleep Talkdown for Uncertain Times

Uploading This Official ADMIN SHIRT Got People BANNED! (ROBLOX)

Uploading This Official ADMIN SHIRT Got People BANNED! (ROBLOX)

Coaching - Team Spirit

Coaching - Team Spirit

Dealing with Duplicates in Excel and Finding Unique Data

Dealing with Duplicates in Excel and Finding Unique Data

General Reply On Your Questions

General Reply On Your Questions

How to Reinforce Door Frame and Hinges!

How to Reinforce Door Frame and Hinges!

We Convinced Them They Cheated On Each Other.. (REVENGE PRANK)

We Convinced Them They Cheated On Each Other.. (REVENGE PRANK)

JACKSEPTICEYE ALSO GAVE SYKKUNO A NICKNAME | BROMANCE FOR 8 MINUTES

JACKSEPTICEYE ALSO GAVE SYKKUNO A NICKNAME | BROMANCE FOR 8 MINUTES

Lowering - Struggling With The Dark [Album] (2020)

Lowering - Struggling With The Dark [Album] (2020)

Class 1 Science Our Surroundings

Class 1 Science Our Surroundings

THAT'S WHEN I LOST MY VIRGINITY. BE FEARFUL OF MEN

THAT'S WHEN I LOST MY VIRGINITY. BE FEARFUL OF MEN

Re:  Regular Oil vs Synthetic Oil -EricTheCarGuy

Re: Regular Oil vs Synthetic Oil -EricTheCarGuy

WORK WEEK IN MY LIFE: ITALY WORK TRIP!

WORK WEEK IN MY LIFE: ITALY WORK TRIP!

CHEZAME & SXIN React | @Swissbeatbox Kickback Battle 2021 Wildcards | Part 12 😱

CHEZAME & SXIN React | @Swissbeatbox Kickback Battle 2021 Wildcards | Part 12 😱

Solving Problems Involving Quadratic Equations and Rational Algebraic Equations (Part 1)

Solving Problems Involving Quadratic Equations and Rational Algebraic Equations (Part 1)

35 MAGIC TRICKS THAT YOU WILL MASTER IN 5 MINUTES

35 MAGIC TRICKS THAT YOU WILL MASTER IN 5 MINUTES

Alpharad's Misleading Mario Maker Levels

Alpharad's Misleading Mario Maker Levels

New Years Eve vlog ✨

New Years Eve vlog ✨

Boko Haram: Who is Abubakar Shekau? - BBC News

Boko Haram: Who is Abubakar Shekau? - BBC News

Let's Imagine a better future, together - Lennon and his friends - Adaptación Imagine (John Lennon)

Let's Imagine a better future, together - Lennon and his friends - Adaptación Imagine (John Lennon)

6 Awesome Homemade Inventions

6 Awesome Homemade Inventions

How To Compose A Photo (Part 1)

How To Compose A Photo (Part 1)

Why Are Russian Helicopters Ahead Of American

Why Are Russian Helicopters Ahead Of American

9 Logic Riddles That'll Stretch Your Brain

9 Logic Riddles That'll Stretch Your Brain

Fortieth Anniversary

Fortieth Anniversary

Steve Okeyo- Familiar With Failure

Steve Okeyo- Familiar With Failure

OPENING A TON OF DIFFERENT POKEMON CARDS! LIVE🔴

OPENING A TON OF DIFFERENT POKEMON CARDS! LIVE🔴

Scientists concerned over UK changing COVID-19 vaccine doses

Scientists concerned over UK changing COVID-19 vaccine doses

🤣 Szprint Machen 🤣 Phasmophobia #32 w/@Wojtusialke @GuGa Gejmerka @Tomek

🤣 Szprint Machen 🤣 Phasmophobia #32 w/@Wojtusialke @GuGa Gejmerka @Tomek

Grammar: Using 'what' to give emphasis - BBC English Masterclass

Grammar: Using 'what' to give emphasis - BBC English Masterclass

Easy  Beef Stuffed Potato Pancakes | Ləziz Ətli Kartof Pankeki | Potato Recipes

Easy Beef Stuffed Potato Pancakes | Ləziz Ətli Kartof Pankeki | Potato Recipes

[Tower Battles] Triumph Halloween 2020|Defeating Grim

[Tower Battles] Triumph Halloween 2020|Defeating Grim

Abraham Hicks - Take pleasure in the dream

Abraham Hicks - Take pleasure in the dream

You Got Served - The Final battle

You Got Served - The Final battle

Death Bed - Powfu ft. Beadadoobee ( Lyrics | Lyric Video )

Death Bed - Powfu ft. Beadadoobee ( Lyrics | Lyric Video )