High Definition Standard Definition Theater
Video id : Z_FHEFao-r8
ImmersiveAmbientModecolor: #ba8e7a (color 1)
Video Format : (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: 140 ( High )
PokeTubeEncryptID: e1b188ab7ee70f682015b11df6ba5564c45618c9e1d9321eb77b700d5378f67393cf303f8449ec7e5485022c4b9958d5
Proxy : eu-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1728534760618 - unknown on CCBot
Mystery text : Wl9GSEVGYW8tcjggaSAgbG92ICB1IGV1LXByb3h5LnBva2V0dWJlLmZ1bg==
143 : true
The Secret Language Scaling WhatsApp and Discord
Jump to Connections
160,670 Views • Aug 29, 2024 • Click to toggle off description
Erlang's vm is criminally under appreciated. Elixir as well of course.

SOURCES
favtutor.com/articles/whatsapp-discord-and-the-sec…
elixir-lang.org/blog/2020/10/08/real-time-communic…

Check out my Twitch, Twitter, Discord more at t3.gg/

S/O Ph4seon3 for the awesome edit 🙏
Metadata And Engagement

Views : 160,670
Genre: Science & Technology
Uploaded At Aug 29, 2024 ^^


warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.935 (77/4,635 LTDR)

98.37% of the users lieked the video!!
1.63% of the users dislieked the video!!
User score: 97.56- Overwhelmingly Positive

RYD date created : 2024-10-10T00:34:50.38294Z
See in json
Tags
Connections
Nyo connections found on the description ;_; report an issue lol

YouTube Comments - 341 Comments

Top Comments of this video!! :3

@swodaw1247

1 month ago

theo should grow his mustache out and cosplay as dr eggman

505 |

@JonGretarB

1 month ago

The “let it crash” mantra can be considered to it’s origin as a telecom language. Dropping a phone call because of an error is preferrable to trying to fix it and letting the problem propogate up and crashing the whole system or leaving it in an unstable state.

131 |

@gigibecali699

1 month ago

"It's gonna be elixir"
"And that language... is erlang"
"It's been used for a lot more, including my favourite language, elixir"
We got there eventually

321 |

@ray73864

1 month ago

Load balancing, including web server load balancing existed in the '90s, it didn't come about because of Ruby :) Man, you are making me show my age here now, darn youngin's that think everything happened during their life :P

152 |

@NuncNuncNuncNunc

1 month ago

They didn't have the idea of virtual machines back then, lol. Kids. BEAM was a play on JAM (Joe's Abstract Machine), a precursor to BEAM. JAM was a play on WAM (Warren Abstract Machine) a prolog abstract machine. Before that there was Pascal a decade earlier

5:30 sounds like MULTICS.

Not knocking Erlang, but there was a lot going on in the world of CS that Erlang inherited and evolved into a unique solution for its problemspace

50 |

@quinndirks5653

1 month ago

7:52 Using chat gippity to look up facts, big yikes

Per Wikipedia: Early programming languages with pattern matching constructs include COMIT (1957), SNOBOL (1962), Refal (1968) with tree-based pattern matching, Prolog (1972), St Andrews Static Language (SASL) (1976), NPL (1977), and Kent Recursive Calculator (KRC) (1981).

124 |

@Endelin

1 month ago

Discord's blog has an article about how they tried different data structures and used Rust to speed up Member List updates. It would be a nice part 2 to this video showing when Rust is worth it. Blog title "USING RUST TO SCALE ELIXIR FOR 11 MILLION CONCURRENT USERS"

14 |

@radekszymczyszyn8710

1 month ago

Great video! Erlang is a fantastic technology which definitely deserves more attention! And Elixir has brought some new energy to the whole ecosystem!

One remark about "let it crash", though. It's a common misconception, but it's not there to allow for avoiding proper handling of edge cases.

When you think of it in general, there are two types of errors: those you can avoid (logic aka programmer errors) and those you can't (hardware failures: disks malfunctioning, network packets dropped, etc.). ""Let it crash" utilises process supervision, i.e. restarts of some parts of an application. If data doesn't change and there's a logic error in the code (an edge case missed), then it's as likely to occur after a restart as it does in the first place, i.e. "let it crash" doesn't solve programmer errors, because trying again doesn't solve the problem in code. It's there for the errors one cannot avoid and cannot foresee, like corrupted network packets, faulty hardware, or others components' nondeterministic misbehaviour.

Happy to see Erlang and Elixir material on YouTube!

18 |

@Gorabora

1 month ago

just saw your interview with josé valim, dived right into elixir, again but for real this time! so exciting

26 |

@mattilindstrom

1 month ago

My hat's off to the Swedish engineers for inventing something that satisfied an immediate need, and unforeseenly carried on to spark on further inventions. I was in an industry where parallel processing of data was almost required, this was the final years of the transputer. It was close, we could have chosen Erlang, but the processor speed slope took us to conventional toolchains and at first single thread workloads.

7 |

@zwanz0r

1 month ago

Oh man! You're right! I need to incorporate Flutter in my next project. Thanks for the vid!

6 |

@VijayKumar-dq5xo

1 month ago

As per wikipedia, first languages to have COMIT (1957), SNOBOL (1962), Refal (1968) with tree-based pattern matching, Prolog (1972). It seems ChatGPT have a lot of hallucinations!

29 |

@ray73864

1 month ago

Well actuallllllly...... Erlang was 1986, the "official" birthdate of the internet was 1983, so technically the internet existed before Erlang :) Now if you mean 'The Web' or the 'WWW' then yes, because WWW was 1989. It's a common mistake people make, The Internet != The WWW. The WWW runs on-top of The Internet.

106 |

@immaterial_vivi

1 month ago

prolog (72) was a year earlier than ml (73) and had pattern matching, plus there were apparently older languages on ibm mainframes that also had it - at least wikipedia says s, and i'm a lot more inclined to believe that than whatever chatgpt hallucinated, Theo pls (edit: oop, not the first to see that)

10 |

@RyanIsHoping

1 month ago

Gleam is the best BEAM language!! Clean type system, ADTs/case statements, and a type-safe version of almost all the lovely BEAM stuff

7 |

@arthur0x2a

1 month ago

The real hero is Ejabberd, which singlehandedly gave rise to WhatsApp, Messenger, Google Push Notification, about every game chat (LoL). Damn they were good !

6 |

@arivanhouten6343

1 month ago

10:14 Hot swapping in java is actually possible but there are a lot of constrains. Small changes can be done quickly without any effort (especially useful when debugging larger applications), but removing / adding classes etc. is normally not possible. There are projects tho that managed to aid in this manner but I can't remember how well they work.

29 |

@SimonClarkstone

1 month ago

7:37 At a glance of that article, "Core Erlang" isn't normal Erlang; it's an intermediate representation produced by the compiler that programmers woudn't normally see.

9 |

@manofacertainrage856

1 month ago

Pattern matching is fundamental to functional languages - much like inheritance for object oriented languages. Prolog and ML (72/73) had "modern" pattern matching.

4 |

@zegg90

1 month ago

elixir and erlang are also great when you are constrained to 1 server because it scales vertically seamlessly as well, just add more cores, your program will automatically use all cores

6 |

Go To Top