Perpendiculous

2011.12.21

page tables and you

Filed under: Uncategorized — cwright @ 11:44 pm

Any comp-sci grad worth his or her student loan debt can tell you about virtual memory. And many can tell you the intricacies of dealing with unix-style VM. But for the developers working with Mac OS X (and iOS), there’s a deeper layer hidden underneath that is seldom expressed (and often for good reason) – Mach. (more…)

2011.01.06

MMX (and not the ISA)

Filed under: Meta,Personal — cwright @ 11:10 pm

MMX was an instruction set added by Intel to its processor lineup in the mid 1990′s.  It was marketed as a parallelization technology (it wasn’t) that would accelerate your games (it didn’t).  Offering an integer-only instruction set to a world that had largely moved on to floating point wasn’t particularly interesting or useful (though it did have a few fun applications), but that didn’t stop me from writing about it a long long time ago here.  I won’t be elaborating further on that.  Instead, I’d much rather go over the other MMX, also known as 2010.

(more…)

2010.08.12

Ghost in the shell

Filed under: Meta,Personal — cwright @ 3:47 am

I was planning on some really cool technical junk for tonight’s post, but midway through the day I caught word of a friend’s death. (more…)

2010.07.31

Cache is King -or- Things are about to get MESI

Filed under: Programming — cwright @ 11:24 pm

A few days ago I was chatting with some friends, and the topic of caching came up. I mentioned MESI, which is the basis for modern multicore cache coherence (There are variants like MOESI and MERSI, but the general idea is the same).  It then occurred to me that I’ve never actually made a test to see the effects of MESI in action. (more…)

2010.06.28

NX in action

Filed under: Programming — cwright @ 1:49 am

NX, or the No eXecute bit, is an interesting technology that prevents instructions on the stack from getting executed.  The reason for this is security (stack smashing becomes a bit more difficult for a would-be attacker), and the implications are typically few and far between. (more…)

2010.05.11

past trends

Filed under: Uncategorized — cwright @ 12:09 am

Visualizing the badness of purchasing a new car. (more…)

2010.02.08

First Week -or- The Craziest Story Ever Told

Filed under: Meta,Personal — cwright @ 1:12 am

I’ve been chilling in my new Cupertino apartment for about 3 days now.  Jet Lag still makes me wake up between 5 and 6am local time, but strangely allows me to stay up till midnight.  When I need to go somewhere, I walk, and until Alisa gets here next week, I likely won’t have much in the way of amenities.  Not that I’m in dire need, mind you — it’s just not a priority at the moment. (more…)

2009.10.14

Reality Distortion Field Deflector (RDFD)

Filed under: Uncategorized — cwright @ 6:17 pm

Mid last month (September, for those keeping score at home), a peculiar email arrived in my inbox.  Therein, I was referred by an Apple employee with an opportunity to potentially work there.  To say the least, my interest was piqued.  After all, after spending the past 2 years up to my elbows in some of their software’s guts, reverse engineering, patching, and exploring, I’d like to think I had some authority on the subject.

(more…)

2009.09.23

@synchronized, NSLock, pthread, OSSpinLock showdown, done right

Filed under: Uncategorized — cwright @ 1:19 am

Somewhere out there on the internet, there’s a “showdown” between @synchronized, NSLock, pthread mutexes, and OSSpinLock. It aims to measure their performance relative to each other, but uses sloppy code to perform the measuring. As a result, while the performance ordering is correct (@synchronized is the slowest, OSSpinLock is the fastest), the relative cost is severely misrepresented. Herein I attempt to rectify that benchmark.

(more…)

2009.09.12

CollegeAdvantage referral bonus again

Filed under: Uncategorized — cwright @ 1:33 pm

Last year, CollegeAdvantage’s 529 college savings plan offered a referral bonus where those opening new accounts, as well as those referring them, received $25 bonuses.  They’ve recently reinstated that bonus, so I figured I’d post some shameless self-promoting in the hopes of getting y’all some free college savings (for kids, etc), and get some for me as well (for our future children). (more…)

Older Posts »

Powered by WordPress