CppCon 2017: Michael Spencer “My Little Object File: How Linkers Implement C++”

  Рет қаралды 28,731

CppCon

CppCon

Күн бұрын

Пікірлер: 17
@echosystemd
@echosystemd 7 жыл бұрын
Best Q&A session in CppCon I've seen.
@TheDonkeydash
@TheDonkeydash 6 жыл бұрын
Omg this guy sounds exactly like linus tech tips
@echosystemd
@echosystemd 7 жыл бұрын
Return value of step0 on Bash on Debian is not 24567837. It shows 29 instead (24567837 % 256 = 29).
@aiman_yt
@aiman_yt 7 жыл бұрын
echo I thought return value is an int, not a byte
@ericcurtin2812
@ericcurtin2812 7 жыл бұрын
Hmmm interesting he's probably using the Playstation OS itself which is based on FreeBSD, possibly a platform difference
@ericcurtin2812
@ericcurtin2812 7 жыл бұрын
Or maybe it's MacOS just saw his laptop! Also a FreeBSD derivative
@Athenas_Realm_System
@Athenas_Realm_System 6 жыл бұрын
@@ericcurtin2812 Mac is a BSD derivitive not FreeBSD, it came from earlier BSD through NeXTSTEP
@andreyv116
@andreyv116 Ай бұрын
The mechanism that produces such high a number is unusual. Bash (and honestly, most shells) use waitpid and the WEXITSTATUS macro to get an 8-bit exit code
@dawidskrodzki
@dawidskrodzki 5 жыл бұрын
It starter well but then he went way to fast, both with the content of the talk and and his speech speed.
@1Infinitive1
@1Infinitive1 3 жыл бұрын
What does he mean at 10:48? Why is that subtraction needed?
@andersknatten
@andersknatten 3 жыл бұрын
It's because the instruction pointer is already pointing to the next instruction when this instruction gets executed. So the relative jump will be the distance from this location to wherever we want to jump to, minus four bytes to compensate for the instruction pointer already pointing four bytes into the future. It's explained in more detail at 13:56 in this talk: kzbin.info/www/bejne/nHjRk3qObZ2tabs (but if you watch from the beginning it's easier to understand).
@homomorphic
@homomorphic 6 жыл бұрын
I started watching and the first slide does not even remotely reflect how linkers work in 2017 (this is cppcon2017).
@pnadk
@pnadk 6 жыл бұрын
Unfortunately he speaks so fast that I can not understand this talk.
@max0x7ba
@max0x7ba 6 жыл бұрын
pnadk He does. Turn on subtitles.
@MsGrooveOn
@MsGrooveOn 5 жыл бұрын
I stated to watch it using 1.2 speed and it was ok for me, lol
@dennisorbison7318
@dennisorbison7318 3 жыл бұрын
watch at half speed.
@LostieTrekieTechie
@LostieTrekieTechie 7 жыл бұрын
first
CppCon 2017: Chandler Carruth “Going Nowhere Faster”
1:00:58
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 22 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 186 МЛН
How do linkers resolve symbols? Systems Programming CS Lecture
33:19
Code Libraries - Computerphile
8:45
Computerphile
Рет қаралды 93 М.
CppCon 2017: Andrew Sutton “Meta”
1:00:45
CppCon
Рет қаралды 7 М.