I always wondered why no one spell checks signs...
When you care enough to get the very best
ז' מרחשון תשס"ז - October 28, 2006Identifying Big Endian or Little Endian Progmatically
ו' מרחשון תשס"ז - October 27, 2006Most (99%+) of microprocessors available to the consumer and/or embedded market are either Big Endian or Little Endian; this almost never actually matters. However, sometimes one needs to write endian specific code. Here's how to have code identify if it's running on a big endian or little endian machine:
Read the rest of this entry »
Tehillim Followup #2
ו' מרחשון תשס"ז - October 27, 2006Two name changes:
Chaya Sara Leah bas Frummis
Gittel bas Chaya Sara Leah
Thanks
Duff's Device
ה' מרחשון תשס"ז - October 26, 2006No C programmer can call himself (or herself) a real programmer without having seen (and been amazed by) Duff's Device. It was invented as a more efficient alternative to regular loop unrolling used in copying bytes from memory to a register (each byte went to the same address in memory), by handling the case when there are "leftover" bytes after a full unroll.
Read the rest of this entry »