News for hackers. Stuff that matters.

crazyfin

Re:Wizard Code: A View on Low-Level Programming on Monday June 19, 2017 @12:02PM (#14587932)
thanks man! :)

the malloc in the book can be considered obsolete - i'm coming up with something hopefully better, even though my rewrite is seriously under construction at the moment.

for some memory management stuff, feel free to consult

    https://github.com/vendu/OS-Zero/tree/master/kern/mem
cya,

vendu

Re:Wizard Code: A View on Low-Level Programming on Monday June 19, 2017 @11:57AM (#14587896)
hey!

as i told you guys above, i didn't have sse2+ around at the time i wrote those chapters.

thanks a million for the note on x87 stack corruption, i didn't know about that bug. ;)

hack on,

vendu

Re:Wizard Code: A View on Low-Level Programming on Monday June 19, 2017 @11:56AM (#14587886)
hey there & thanks for the feedback! :)

as it was called nicely, you should consider this book a set of musings and notes. one of the driving ideas behind the c part was to introduce the readers to things new in c99. :P

that malloc, whereas kinda okay, has already been rewritten and the new version is under construction. it sports thread-local magazine caches and all kinds of hacks i've found interesting to mess around with. :)

cheers,

vendu

Re:Wizard Code: A View on Low-Level Programming on Monday June 19, 2017 @11:54AM (#14587871)
hehe vendu has been taken already (possibly by me, might have forgotten about it)... =)

back when i wrote this book, i didn't have sse beyond sse1 on my desktop box, so i used mmx. the point was to demonstrate some basic use of simd.

cheers & thanks,

vendu =)