ruby

Non-deterministic Programming – Amb

February 13, 2012 rob ruby

I’ve been very slowly plowing through SICP and I’ve recently read through their chapter on non-deterministic programming. When you program this way your variables no longer have just one value, they can take on all of their possible values until stated otherwise. An example: x = amb(1, 2, 3, 4) In this case x is [...]

More

0

Trading with IronRuby

November 8, 2011 rob finance

Over the last year I’ve been using Ruby (more specifically IronRuby) to write algorithmic trading scripts. These aren’t high-frequency algorithms, more implementations of various longer-term strategies using Ruby. There was poll over in an algorithmic trading forum on EliteTrader asking about what was the programming language of the future among Java, Scala, C#, F#, C++ [...]

More

2

Ruby’s instance_eval and Structured Configuration Files

September 12, 2011 rob ruby

Recently at work I was setting up a section of the program involving a user-configurable GUI element. Initially I thought about using something like XML to handle this, however if I went that route I’d have to manage parsing the XML through some library, traversing the XML tree, and create some sort of GUI element [...]

More

0

Powered by WordPress. Designed by elogi.