Summary Major operating systems for wireless sensor networks (WSN) enforce an event-based programming paradigm for efficiency reasons. However, practice has shown that the resulting code complexity is hard to manage for software developers and leads to difficult problems during development, deployment, and operations. Thus, thread libraries for WSN applications have been introduced, but the efficiency [...]
Entries Tagged 'article' ↓
Compiler-Assisted Thread Abstractions for Resource-Constrained Systems
September 26th, 2011 — article
Internal DSLs in Scala
April 8th, 2011 — article
Quite some time ago I read the Programming in Scala and the Programming Scala book and decided to offer a student lab on a Scala-based implementation of a Reversi tournament framework. One part of this framework is a DSL for the configuration of a tournament. So I went on and investigated the Scala techniques that [...]
MPS Experience
October 23rd, 2010 — article
I have recently worked quite a bit with the language workbench MPS and I think it’s about time to note the experiences I have made and the background knowledge I have collected.
Did you know? Funny facts about C99
October 6th, 2010 — article
I am currently writing an implementation of the C99 programming language as a basic language for the MPS language workbench. I call this implementation c-base, because it is intended to be used as a target language for code generation, much like MPS’ Java-like base-language. I created the model of this MPS language according to the [...]
Trust your tools…
February 21st, 2010 — article
For my current work I need to show how efficient the generated code is. Fortunately the binutils include a tool called size which “lists the section sizes of an object or archive file”. In order to have representative results I should compile for a platform which is typical for the WSN community. I have chosen [...]
xtc, meta-models and static typing
January 22nd, 2010 — article
For my current work I want to implement a C* to C compiler, where * stands for a yet unknown set of extensions and restrictions. In my opinion, parsing expression grammars are the tool of choice for growing a grammars. Among the existing PEG tools, the Rats! parser generator of the eXTensible C framework offers [...]
meta level debugging
November 9th, 2009 — article
One of the challenges in meta programming is the ability to debug on the meta level. It is not satisfying to have to step through the generated code in order to figure out what is wrong in the model. And indeed many meta programming toolchains have poor support for proper debugging. But wait, this problem [...]
TLS/SSL
October 23rd, 2009 — article
Since 2008, MD5 is considered broken. Consequently GnuTLS refuses signatures of certificates if they were made with MD5. That’s why since my latest Debian upgrade, msmtp, which uses libgnutls, has not been able to establish a checked TLS session with the SMTP server.
Rats!
September 16th, 2009 — article
Rats! is an “easily extensible parser generator for C-like languages” written by Robert Grimm. The main idea of Rats! is to exploit the extensibility of PEGs by providing support for parametrizable grammar modules which can use, instantiate, extend and modify each other. Grimm describes version 1.8.2 of Rats! in Better Extensibility through Modular Syntax. More [...]
Language Oriented Programming: The Next Programming Paradigm
August 20th, 2009 — article
As mentioned previously the term language-oriented programming (LOP) today mainly refers to the underlying paradigm of JetBrains‘s Meta Programming System. This is due to a publication from Sergey Dmitriev entitled Language Oriented Programming: The Next Programming Paradigm. There he proclaims the next technology revolution which leads us from the Stone Age to “a new age [...]