Skip to content
Skip to navigation




C++


Let Us Have More C++ Languages

C++ is a good language in that it is widely supported and has a large ecosystem around it. As a result, it has a large number of libraries, including extensive cross-platform frameworks (such as Qt). There are also entire operating systems written in C++, of which Symbian is an example. All of this provides ample motivation to use C++ (or at least its libraries) from time to time.

Read more...

Written on Fri Jan 07 16:33:02 2011 UTC.
Tagged as C++, CoffeeScript, IDE, JavaScript, programming languages, source-to-source translation.



Mixing Hand-Written, Generating, and Generated Code with Koog

Some days ago I released a little code generation utility that I have been using for well over a year in cranking out repetitive C++ code. Koog is—for lack of a better established term—a mixed-code generator. It is similar to other tools of its kind (such as Cog), but the only one that I know of that uses the Scheme language for specifying what code to generate.

Read more...

Written on Tue Sep 28 17:58:24 2010 UTC.
Tagged as C, C++, HIIT, Scheme, Symbian, code generation, software.



On Patching S60 SDKs for GCCE 4 Compatibility

I’ve tried GCCE version 4 before for building Symbian software, but have been somewhat put off by all the warnings it produces, mostly due to incompatibilities with the header files in the existing S60 SDKs. Well, I finally managed to get a working S60 application built with GCCE 4 without any warnings. Mind you, this was just one application, and not built with the full Symbian toolchain, but still.

Read more...

Written on Sun Aug 01 21:45:29 2010 UTC.
Tagged as C, C++, GCC, GnuPoc, S60, SDK, Symbian.



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.



Look, S60 Software Installation with No Hands

S60 3rd Edition has been out for quite a while by now, and for me, the one thing that has all but killed the pleasure of developing native software for the platform has been the humiliating wait—dismiss dialog—wait—dismiss dialog—wait—dismiss dialog—wait procedure during installation of the software being tested and developed. For one-off installations the installation procedure is no problem, but when you’re a developer it gets old real fast.

Read more...

Written on Sat Jan 17 09:50:53 2009 UTC.
Tagged as C++, PlatSec, Python, S60, Symbian, software, software installation.



Another PyS60 Extension with a take_photo Function

Earlier releases of the Miso PyS60 extension had a take_photo function, for taking photos (without a viewfinder). This functionality (and more) has since then been integrated to PyS60 itself in the form of the built-in camera module.

Read more...

Written on Fri Jan 09 00:07:49 2009 UTC.
Tagged as C++, Python, S60, Symbian, camera, software.



Accessing OBEX Pushed Messages with Python for S60

Early last year at HIIT I hacked the Python for S60 inbox module to have it support querying for the content and metadata of messages in the device Inbox that have been sent via Bluetooth OBEX Push. (The built-in inbox module apparently only supports accessing SMS messages.) I changed the name of the hacked module to pyinbox, to avoid conflicts with the built-in Inbox access module.

Read more...

Written on Fri Jan 02 17:55:22 2009 UTC.
Tagged as Bluetooth, C++, Python, S60, Symbian, software.



pyaosocket aka aosocketnativenew Released Standalone

In the PDIS project at HIIT we developed a socket library for Python for S60. The library consisted of both a native extension and quite a bit of Python code. The native extension was called aosocketnativenew, and became somewhat well known as an extension supporting non-interactive Bluetooth discovery.

Read more...

Written on Sat Nov 29 11:51:56 2008 UTC.
Tagged as Bluetooth, C++, Python, S60, Symbian, sockets, software.