Return value of step0 on Bash on Debian is not 24567837. It shows 29 instead (24567837 % 256 = 29).
@aiman_yt7 жыл бұрын
echo I thought return value is an int, not a byte
@ericcurtin28127 жыл бұрын
Hmmm interesting he's probably using the Playstation OS itself which is based on FreeBSD, possibly a platform difference
@ericcurtin28127 жыл бұрын
Or maybe it's MacOS just saw his laptop! Also a FreeBSD derivative
@Athenas_Realm_System6 жыл бұрын
@@ericcurtin2812 Mac is a BSD derivitive not FreeBSD, it came from earlier BSD through NeXTSTEP
@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
@dawidskrodzki5 жыл бұрын
It starter well but then he went way to fast, both with the content of the talk and and his speech speed.
@1Infinitive13 жыл бұрын
What does he mean at 10:48? Why is that subtraction needed?
@andersknatten3 жыл бұрын
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).
@homomorphic6 жыл бұрын
I started watching and the first slide does not even remotely reflect how linkers work in 2017 (this is cppcon2017).
@pnadk6 жыл бұрын
Unfortunately he speaks so fast that I can not understand this talk.
@max0x7ba6 жыл бұрын
pnadk He does. Turn on subtitles.
@MsGrooveOn5 жыл бұрын
I stated to watch it using 1.2 speed and it was ok for me, lol