Skip to content
Skip to navigation




Ruby


Scanning for ABLD Errors and Warnings

Symbian’s ABLD build system tends to produce a lot of output, especially when run with the verbose flag (-v), as I like to do to see the compiler invocations. Also, ABLD likes to run to “completion” despite individual build steps failing. The end result is that it takes some effort to look for the errors and warnings in the output.

Read more...

Written on Fri Jul 30 18:54:01 2010 UTC.
Edited on Sat Aug 07 21:09:32 2010 UTC.
Tagged as C, C++, GnuPoc, Ruby, Symbian, build systems.



C Socket Code in Ruby

When designing socket code to be implemented in C, it may well make sense to first sketch out the design in Ruby. The Socket class provides thin wrappings for just about all of the relevant C standard library functions. There also is the fcntl module, and select in Kernel. The socket code can thus be just about the same in Ruby as it would be in C, but trying out different designs for say managing sessions in a server is much less tedious in Ruby.

Read more...

Written on Sun Jan 20 15:38:00 2008 UTC.
Tagged as C, Ruby, prototyping, sockets.