Archive for the ‘cutting edge’ Category

lisp flavored languages for existing virtual machines.

Friday, October 17th, 2008

im just watching the clojure  (lisp flavored lang for the JVM) presentations from Rick Hickey.
then i found LFE  lisp flavored erlang. i think i already mentioned Tim Burks  Nu earlier.
(Rick Hickey also did dotlisp guess what? yup lisp for .net. there are also others e.g. IronLisp) so now we have a lisp for BEAM, JVM and the Objective-C runtime, seems like  something that was in the air.

combine: there is a need for a dynamic language which is scalable but still can leverage existing code.
thinking a bit further and adding the other main stream approach to scale these days (virtualization) we get pushed to a new light-weight operating system which supports just a VM and basic IO like TCP/IP.

already with these large scale rails setups we have today, i see no point to have a fully featured OS with a 5+M LOC kernel running just to provide a VM which does just some calculating on proxied data from client data to its persistance.

hmm… erlang for minix 3 anyone?

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/ 

programming languages

Monday, September 29th, 2008

altough not new i just discovered hecl.

The Hecl Programming Language is a high-level, open source scripting language implemented in Java. It is intended to be small, extensible, extremely flexible, and easy to learn and use. Infact, it’s small enough that it runs on J2ME-enabled cell phones!”

sounds like fun. http://www.hecl.org/

on to something new and cutting edge, here is reia:
all the goodies from erlang, the lang of ruby and python intendation. can’t wait to try.
meanwhile check: http://wiki.reia-lang.org/wiki/Reia_Programming_Language

links about merb, datamapper and AOP

Tuesday, April 22nd, 2008

some nice merb urls

a comparison with rails

an open source book about merb

AOP for ruby

interesting post about deferred requests with merb ebb and thin by ezra