These guys never heard of shared memory, apparently?
Does Ruby not provide a facility to use shared memory? I guess you don't get it by default in a GC'd language because the GC thinks it owns the world.
Does Ruby not provide a facility to use shared memory? I guess you don't get it by default in a GC'd language because the GC thinks it owns the world.
If the person who CTO'd that worked for me, they would not be CTO any more.
Basically just take your hash structure and write it to disk.
The only problem with it is the 32bit offsets mean a 4GB max. Not too hard to fork it for 64bit offsets, though.
(other than misogynistic and crude library names) (shared memory -> require 'gangbang' or somesuch)
If they are going to write a whole library for ruby, why not just write one to talk to shared memory?