Perpendiculous

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…)

2009.07.02

Pricey ivars

Filed under: Programming — cwright @ 12:20 am

(apologies in advance — this will be a rather technical post.  It’s eventually intended for fdiv.net, but while it’s getting migrated I figured I’d plop it down here.)

Instance Variables (or, more briefly, ivars) are a pretty simple trend in Object Oriented Languages.  They’re data that get carried along inside an object, helping to define its state.  While it would be fun to elaborate more on this, this particular article isn’t intended to teach the basics of OOP.  So if you’re unsure of what an ivar is, this article probably isn’t for you. (more…)

2009.05.15

curriculum vitae

Filed under: Programming — cwright @ 11:02 pm

A lot of lists have popped up where I frequent (digitally, at least) lately.  Intended schedules, self-diagnostics, recipes, time-lapse accomplishments, etc.  You know the drill.  At one point in the not-so-distant past, I was probably pretty good maintaining such things as well.  I suppose I need to refine my time management skills (or lack thereof) to keep things fresh. (more…)

2008.06.19

Even more ObjC-jutsu

Filed under: Programming — cwright @ 12:39 am

From time to time I accumulate cute little hacks that help debug/reverse engineer stuff in Objective-C. Typically, these are gdb macros that help introspect data from within a live program, though sometimes it’s a blob of ObjC code that does something fun when injected into the runtime. Today, I’ve discovered something extraordinarily helpful that falls into neither of those categories. (more…)

2008.06.07

Warning: WWDC imminent

Filed under: Personal,Programming — cwright @ 2:22 am

The day of reckoning is nigh at hand. Sunday night I depart for California, the land of San Francisco, with smokris, for adventures untold. What lies in store for us? Only time will tell…. (more…)

2008.06.02

surreptitious

Filed under: Personal,Programming — cwright @ 12:09 am

The past few weeks have been largely under the radar, with a lot going on with software, finance, and Alias. I always find it funny when people start approaching me in real life to ask whether or not things are going ok since I haven’t written anything in N weeks (where N is an integer greater than 0). Fear not, I am ok :) (more…)

2008.05.13

The Cost of Inaction

Filed under: Personal Finance,Programming — cwright @ 7:08 pm

In computer science, there is a technique called “Lazy Evaluation” that finds use in performance saving and error avoidance. It works by holding off on performing calculations until it is known for certain that the results are needed. (more…)

Powered by WordPress