BitStructEx

I’ve made available an early version of an alternative BitStruct “thing” on RubyForge:

http://rubyforge.org/projects/bit-struct-ex/

In contrast to the nice and more feature-complete implementation available here, I
focused on solving my main problem: Non-byte-boundary-aligned-nested-structures :)

There’s really a lot to like about Ruby.. I enjoy not coding in Java.. a welcome change..

However, the meta-programming parts can still be.. well.. “mind-bending”.. I’ll probably blog about the meta part used in BitStructEx. You basically jump between instance, class and metaclass – even though the methods are right next to each other.. feels weird sometimes.. more on this soon.. (Have a look at the struct_base.rb file if you’re interested.)

tfdj

2 Responses to “BitStructEx”

  1. June 4th, 2006 | 5:45 pm

    Quick check if comments are working now.

  2. June 13th, 2008 | 12:10 am

    Comment system updated?

Leave a reply