While in this case I can't think of any specific reasons beyond performance to need to implement objc_msgSend in assembly, there are absolutely instances where assembly is the only option. Example: when performing a…
I've been using arch for about 3 years and I think that things break just as often (actually, probably more often) and you're generally not left with a better sense of what the root cause is. Sure, you have less…
Very cool. I think that this is reflected in a lot of physical activities. From my personal experience with martial arts, I've definitely seen some (anecdotal) evidence to support the notion that you move more…
Every single program that your computer runs is nothing but a 'pile of bytes' that is carefully set up by your compiler. There is no technical reason that you cannot manually set up said byte piles and execute them, and…
Yes you can. An executable (using ELFs as an example, most formats are similar) is nothing more than some headers and bytes. The executable code can be modified in any way you please, as long as you're writing valid…
I agree that we disagree. Your comment elsewhere: > It's all about the underhanded trick(s) with the pointers, yours will never compile. I'm forcing clang to do horrible things. Indicates, to me, that you see this as a…
His point was that you aren't interpreting the `const' the same way the compiler does. To the compiler, this: const int *a; a = NULL; // perfectly OK *a = 0; // does not compile Is a pointer to a constant int, not a…
I was going to remark on this. I've personally run into this writing some C that was built on multiple platforms, one of which had c99 and one of which did not (c89 instead). I think the real issue here is the…
If a scheduler change breaks userland apps, that sounds like a scheduler bug to me... Any word on whether there is going to be a rollback/further scheduler changes to make spinlocks useful again?
DYLD_INSERT_LIBRARIES is more or less the OS X equivalent of LD_PRELOAD.
While in this case I can't think of any specific reasons beyond performance to need to implement objc_msgSend in assembly, there are absolutely instances where assembly is the only option. Example: when performing a…
I've been using arch for about 3 years and I think that things break just as often (actually, probably more often) and you're generally not left with a better sense of what the root cause is. Sure, you have less…
Very cool. I think that this is reflected in a lot of physical activities. From my personal experience with martial arts, I've definitely seen some (anecdotal) evidence to support the notion that you move more…
Every single program that your computer runs is nothing but a 'pile of bytes' that is carefully set up by your compiler. There is no technical reason that you cannot manually set up said byte piles and execute them, and…
Yes you can. An executable (using ELFs as an example, most formats are similar) is nothing more than some headers and bytes. The executable code can be modified in any way you please, as long as you're writing valid…
I agree that we disagree. Your comment elsewhere: > It's all about the underhanded trick(s) with the pointers, yours will never compile. I'm forcing clang to do horrible things. Indicates, to me, that you see this as a…
His point was that you aren't interpreting the `const' the same way the compiler does. To the compiler, this: const int *a; a = NULL; // perfectly OK *a = 0; // does not compile Is a pointer to a constant int, not a…
I was going to remark on this. I've personally run into this writing some C that was built on multiple platforms, one of which had c99 and one of which did not (c89 instead). I think the real issue here is the…
If a scheduler change breaks userland apps, that sounds like a scheduler bug to me... Any word on whether there is going to be a rollback/further scheduler changes to make spinlocks useful again?
DYLD_INSERT_LIBRARIES is more or less the OS X equivalent of LD_PRELOAD.