ruby
Non-deterministic Programming – Amb
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 [...]
Trading with IronRuby
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++ [...]
Ruby’s instance_eval and Structured Configuration Files
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 [...]
Rob's Blog
