• Last week I wrote a DSL for creating messages with automatic type safe serialization functions in C++ for Fire★. You can see an example of what it looks like here. The actual serialization code here and the message DSL here. It is modeled after boost Serialization library, but a tad bit more specific. I could have created a boost Serialization archive specific to my encoding, but I thought it might be more fun to write my own DSL.

    My goal is to have App logic run separate from the GUI thread. And I decided to use messages instead queue of callbacks. This would require many different message types and that is why I created a DSL to simplify creating messages.

    This week I am working on putting App logic in it’s own thread with it’s own event queue. This would make the GUI more responsive and bad Apps won’t lock up the application.

    I am going to do it in such a way to make it easy for me to swap out the GUI from QWidgets to QtQuick so that I can eventually port to phones. I installed sailfish on my nexus 5 and am thinking that could be a fun target.

    Oh, and last night I updated the website to Fire★. Tell me what you think! Any comments about the layout or wording/message would be appreciated.


    score 4 · canonical