Bjarne Stroustrup on Learning More Than One Programming Language

The C++ creator discusses perspectives, machine architecture and abstraction.

BSBjarne Stroustrup게스트
채널
Lex Fridman
게시일
2019년 11월 10일
영상
6:56
읽기
1분
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

Stroustrup argues that a second language can change how programmers think and that clear abstractions can coexist with efficient code.

  1. 1The second languageThe number matters less than broadening perspective.
  2. 2Know the machineArchitecture can affect performance.
  3. 3Clear abstractionsReadable code can also optimize well.
  4. 4Different paradigmsFunctional and rapid-development languages offer different lessons.

핵심 정리

  1. Learn more than one programming language.
  2. Understand architecture when performance matters.
  3. Clear abstractions can help optimization.
전문

챕터별로 다듬은 전문 읽기

원본 자막만 보기
01

More than one language

Lex Fridman asks C++ creator Bjarne Stroustrup why programmers should learn several languages and what they can take from different traditions.

Lex Fridman asks C++ creator Bjarne Stroustrup why programmers should learn several languages and what they can take from different traditions.

Stroustrup recalls knowing many languages when he developed C++. He says languages were smaller then, and learning them did not always require mastering a large programming environment.

He stresses that the exact number is less important than knowing more than one language. As with learning a foreign language, a second programming language can reveal assumptions and broaden how one thinks.

02

Architecture and performance

Stroustrup says the second language is particularly valuable; after that, learning further languages can be easier. He also values understanding machine code and architecture.

Stroustrup says the second language is particularly valuable; after that, learning further languages can be easier. He also values understanding machine code and architecture.

He notes that performance can depend on architectural details such as caching. Understanding the machine can help programmers reason about high-performance code.

03

Abstraction and optimization

For modern C++, he argues that expressing ideas clearly can help both the programmer and the optimizer. Sometimes removing clever code produces a faster result.

For modern C++, he argues that expressing ideas clearly can help both the programmer and the optimizer. Sometimes removing clever code produces a faster result.

He recalls a Jason Turner presentation using a small Pong implementation to demonstrate changes in source abstractions and generated assembly.

In Stroustrup’s account, the source became clearer while the generated code became smaller. He uses this example to argue that useful abstractions and efficient output can coexist.

04

Other paradigms

Beyond machine code and C++, he recommends trying a functional language to learn precise expression and strong type systems, and a language suited to building something quickly, such as Python, Ruby or JavaScript.

Beyond machine code and C++, he recommends trying a functional language to learn precise expression and strong type systems, and a language suited to building something quickly, such as Python, Ruby or JavaScript.

같은 채널의 다른 글

슬라이드 3장3:34:27EN
Lex Fridman· 2026년 10월 26일팟캐스트 · 4명AI, Mathematics, and the Meaning of a Proof게스트 Steven Brunton, Ankur Moitra, Alex Kontorovich · 진행자 Lex FridmanLex Fridman and three mathematicians discuss recent AI-generated research, hard open problems and what human understanding contributes.MathematicsAI for scienceAI research+2
3:36:56EN
Lex Fridman· 2026년 9월 16일팟캐스트Psychiatry Has Never Found Its Penicillin진행자 Lex FridmanHistorian Andrew Scull tells Lex Fridman why the field can ease symptoms, has never cured a major mental illness, and keeps paying for overconfidence with patients' lives.Mental HealthPublic HealthNeuroscience
5:15:51EN
Lex Fridman· 2026년 8월 26일팟캐스트 · 2명DHH Did Not Write a Line of Omarchy Quattro게스트 DHH · 진행자 Lex FridmanThirteen months after a skeptical conversation with Lex Fridman, the Rails creator describes how Opus 4.5, a swarm of coding agents, and a one-minute Linux installer ended his era of hand-chiseled Ruby.코딩 에이전트Vibe Coding에이전트 엔지니어링+3
3:12:58EN
Lex Fridman· 2026년 8월 12일팟캐스트 · 2명One Cold Shower, Twenty Champions: How Khabib Nurmagomedov Was Forged게스트 Khabib Nurmagomedov · 진행자 Lex FridmanIn a Makhachkala school gym, seventy men shared one shower, and the water was only cold.Martial ArtsCombat SportsCoaching+3
3:46:18EN
Lex Fridman· 2026년 7월 28일팟캐스트 · 2명If You Take Slavery Out of the Picture, There Is No Civil War게스트 Gary Gallagher · 진행자 Lex FridmanIn 1860, enslaved people were worth more than every railroad and factory in the United States combined.Political PhilosophyLeadershipHistory
3:51:47EN
Lex Fridman· 2026년 6월 30일팟캐스트 · 2명Forty-Six Percent of Emperors Were Overthrown. The Empire Lasted Anyway게스트 Anthony Kaldellis · 진행자 Lex FridmanHistorian Anthony Kaldellis walks Lex Fridman through 2,200 years of Roman history and argues that what we call Byzantium was Rome itself.Political PhilosophyGeopoliticsLeadership