Archive for the ‘performance’ Category

The BitC Programming Language

Wednesday, November 12th, 2008
“BitC is a new systems programming language. It seeks to combine the flexibility, safety, and richness of Standard ML or Haskell with the low-level expressiveness of C.”

BitC seems to be an effort to get provable correct programs and thus maybe an Operating System which works flawless. They also develop coyotos    which is a step in this direction.

maybe this would be a starting point to have a lightweight OS for Performant Virtual Servers.

installing Quickfix with Ruby 1.9 on OS X 1.5.4

Tuesday, October 14th, 2008

installing Quickfix with Ruby 1.9on OS X 1.5.4download ruby 1.9

 sudo su (or add a sudo where appropriate)
svn co http://svn.ruby-lang.org/repos/ruby/trunk /usr/local/src/ruby19
./configure --program-suffix=-trunk --prefix=/usr/local/ make make install

#temporary move ruby bin, you can reverse it after building quickfix

mv /usr/bin/ruby /usr/bin/ruby-osx
ln -s /usr/local/bin/ruby-trunk /usr/bin/ruby

#go to /usr/local/src or wherever you want the quickfix sources to stay#HEAD is currenty broken. i used the newest version where something in the ruby dir was changed

svn co -r 1939 https://quickfix.svn.sourceforge.net/svnroot/quickfix/trunk/quickfix qf1939
cd qf1939
./bootstrap
./configure --with-ruby
./make
./make install

#if you get errors the following bugs havent been fixed yet:#patch your /usr/local/include/ruby-1.9.0/ruby/ruby.h

#patch QuickfixRuby.cpp
2145c2145
< #include "ruby/io.h"
---
> #include "rubyio.h"
2643c2643
<       printf( "%s\n", RSTRING_PTR(message) );
---
>       printf( "%s\n", RSTRING(message)->ptr );
2676c2676
<       printf( "%s\n", RSTRING_PTR(message) );
---
>       printf( "%s\n", RSTRING(message)->ptr );
2709c2709
<       printf( "%s\n", RSTRING_PTR(message) );
---
>       printf( "%s\n", RSTRING(message)->ptr );
2742c2742
<       printf( "%s\n", RSTRING_PTR(message) );
---
>       printf( "%s\n", RSTRING(message)->ptr );
2782c2782
<         printf( "%s\n", RSTRING_PTR(message) );
---
>         printf( "%s\n", RSTRING(message)->ptr );
2849c2849
<         printf( "%s\n", RSTRING_PTR(message) );
---
>         printf( "%s\n", RSTRING(message)->ptr );
2922c2922
<         printf( "%s\n", RSTRING_PTR(message) );
---
>         printf( "%s\n", RSTRING(message)->ptr ); 

#place a symlink

sudo ln -s /usr/local/include/ruby-1.9.0/i386-darwin9.1.0/ruby/config.h /usr/local/include/ruby-1.9.0/i386-darwin9.1.0/config.h

#try to ./make and ./make install again

irb-trunk

and

require 'quickfix_ruby'

YAY!  1.9 porting notes:http://boga.wordpress.com/2008/04/15/ruby-19-porting-notes/ 

next generation filesystems

Thursday, January 3rd, 2008

hbase

kosmosfs (kosmosblog)

powerset blog