Posts belonging to Category 'C'

The Need For Speed 2: OpenMP

I’ve been getting frustrated with just how long each run is taking, which is currently about a week. This means that every time that I make a small change, its several days before I know whether it’s successful or not.
I’ve been through the code looking to remove anything that is not essential and pre-compute as [...]

Random Killings

I’ve had an interesting problem since I started my mini-tournaments with validation on unseen data in that small runs completed OK but larger ones have either locked up the computer (unresponsive with the hard disk thrashing) or the process had been killed.
At first I suspected that my laptop had been hacked into and the hacker [...]

Bloody C Code

It’s been a while since I’ve done any serious work in C so I’d forgotten about some of the disadvantages: segmentation violations.
The good news is that I’ve now implemented everything that I need in C to start my first run and performance is OK – I’ve estimated that each generation will take about 2 hours [...]

The need for speed: a rewrite in C

I’ve had a very busy series of late nights rewriting all of my Scheme code in C. I love Scheme as a language and it has really enabled me to get into this whole genetic programming adventure but alas I’ve reached the performance limits of the language.
The problem came when I tried to load my [...]