Loading video...

Video Failed to Load

Go Home

Programming Isn't Math, It's Linguistics. Compilers and Humans have the same problem. We're all terrible at understanding each other. Join me for some formal language theory, a lot of C++, and some "recreational" insults.

984,389 views • 11 months ago •via X (Twitter)

35 Comments

LaurieWired's profile picture
LaurieWired11 months ago

Full Video:

ᵉₓᵖₑʳᵢ's profile picture
ᵉₓᵖₑʳᵢ11 months ago

everytime i see your post on x tech timelines it's just like finding a diamond in the pile of slop. thank you for making such content.

LaurieWired's profile picture
LaurieWired11 months ago

@KIRBARA2000 thank you! that means a lot

LaurieWired's profile picture
LaurieWired11 months ago

For anyone particularly upset about my statement “Programming is Linguistics”, I suggest you read this short story:

Adam Zachary Wasserman's profile picture
Adam Zachary Wasserman11 months ago

Programming languages are pseudo formal systems, and formal systems are logic based/bounded. People who have difficulty understanding compilers are fundamentally people who have difficulties with formal logic where axioms predate the statements that follow.

dhruv's profile picture
dhruv11 months ago

you remind me of these 2

Greg's profile picture
Greg11 months ago

I've made the mistake once of taking her posts seriously, only to realize that she is a "content creator" and not an engineer. It is clear that she picks a subject, learns superficially about it, writes a script, fact-checks it, etc. This is mostly computing Mr-Beast-like stuff.

Jake's profile picture
Jake11 months ago

The argument can be made that math is just efficient linguistics at the lowest levels

ily⚡️'s profile picture
ily⚡️11 months ago

BABE WAKE UP!!!! NEW LAURIE WIRED VIDEO!!!!

Adam Zachary Wasserman's profile picture
Adam Zachary Wasserman11 months ago

I see that my first comment was cryptic to some poeple. I will try and make my point more clearly: Programming is best understood through the lens of propositional logic — not pure math, not natural language. Programming is propositional logic with incomplete axioms and unreliable inference 1. .Programs are for the most part propositions about state transitions. 2. Compilers do partial proof-checking, but allow fail proofs (eg null derefs or race conditions) 3. Compilers are pseudo-formal because they allow statements that are outside of their axiomatic logic. Programming isn’t math (too total). It isn’t linguistics (too vague). It’s propositional logic — but with: Incomplete axioms Unreliable inference engines Expressions that look valid but explode That’s why humans and compilers misunderstand each other: They’re both trying to evaluate partially specified logical claims in a fragmented proof system. In summary: Programming is propositional logic with half the axioms and none of the soundness.

Non Compos DM's profile picture
Non Compos DM11 months ago

This is why there is so much terrible code out there.

Chidi's profile picture
Chidi11 months ago

Programming is largely mathematics: from algorithms to data structures and design patterns. The fundamental underpining is Maths, not numeracy, but Maths. Major programming language paradigms have their roots in Mathematics. The first programmer was a Mathematician.

aXes Quest 👾 Coding Toy's profile picture
aXes Quest 👾 Coding Toy11 months ago

In my playground, programming is math - and math is art 👀

Evaldas. Code first's profile picture
Evaldas. Code first11 months ago

Analogy is too shallow imo. Human language is about conveying meaning and sense between humans, “biological LLMs” if you wish. It is non-deterministic. Meanwhile programming is about passing instructions, meaning of which (semantics) is already hardcoded in the processor. It is deterministic. Two completely different functions. Using “language” here is misleading

Len Seaside's profile picture
Len Seaside11 months ago

That's an interesting point but I disagree entirely.

nick p's profile picture
nick p11 months ago

It's commonly said amongst software developers. "I got into coding because there is no math"

NSG650's profile picture
NSG65011 months ago

Where did you get that duck? Is it your pet?

Filip Jerzy Pizło's profile picture
Filip Jerzy Pizło11 months ago

This is so great! I especially love your content about compilers 💪🤘

Mike Gargano's profile picture
Mike Gargano11 months ago

lisp ftw!!! it’s laurie approved!

Prawn Coaltrain's profile picture
Prawn Coaltrain11 months ago

Math is the better type of linguistics

DanNeo S.S. ✮ 𓂃🖊's profile picture
DanNeo S.S. ✮ 𓂃🖊11 months ago

Programming is hard math when you’re working with critical low-level code that actually matters, not just some fancy frontend.

Ales Hakl's profile picture
Ales Hakl11 months ago

Really, formal language theory and C++? Good luck with reconciling that.

SELO's profile picture
SELO11 months ago

turkey mentioned @HSVSphere

retrodev⌨'s profile picture
retrodev⌨11 months ago

New Laurie Wired video dropped, we eating good today

Ryan Winchester's profile picture
Ryan Winchester11 months ago

nah it’s cooking

Jay's profile picture
Jay11 months ago

You wouldn't be on a rug utilizing a Oscope and Spectrum Analyzer, where is your ESD mat and strap, that carpet would cause all sorts of discharge and we should talk about your cable management, it's all over place 😁

Adhmadóir uí Liatháin;'s profile picture
Adhmadóir uí Liatháin;11 months ago

Computational linguist here. Its true. Unfortunately, linguistics is math.

Eye Patch Jack's profile picture
Eye Patch Jack11 months ago

wow thats crazy can you cook me a lasagna plz?

Возвращение Господина Рубцова и его Госпожи's profile picture
Возвращение Господина Рубцова и его Госпожи11 months ago

No, it’s math, but now I follow you!)

STÖK ✌️'s profile picture
STÖK ✌️11 months ago

Sick production and studio!

Eric Snyder's profile picture
Eric Snyder11 months ago

That's why I enjoy certain legal language. Just wish it was structured like code tho...

Henning Sittler's profile picture
Henning Sittler11 months ago

Yes > We're all terrible at > understanding each other. Yes

PENGUIN #1's profile picture
PENGUIN #111 months ago

this is dumb and wrong hope its not to vague

キワミ;???'s profile picture
キワミ;???11 months ago

TÜRKIYE MENTIONED!?! 🇹🇷🇹🇷🇹🇷🇹🇷🇹🇷

Mechrosh's profile picture
Mechrosh11 months ago

... and pure linguistics is maths ... I remember when I was at Uni doing Com Sci - studying compilers, and my sister was at Uni doing Arts studying Linguistics / Formal Grammars ... we were actually studying pretty much the same thing.

Related Videos