News for hackers. Stuff that matters.
Re:Mbeddr – engineering the future of embedded software by damian2000 on Saturday September 13, 2014 @05:25AM (#8311963)
Its great that it generates C but I'd worry that developers who are writing embedded code won't bother to try it - they often are trying to squeeze some code into a small amount of memory on a limited processor. Some of the things it provides - state machines, unit conversions and error logging are pretty simple to do within C anyway, and developers might not appreciate or want an additional level of abstraction.
Re:Mbeddr – engineering the future of embedded software by ShinyCyril on Saturday September 13, 2014 @05:42AM (#8311983)
State Machines, as you noted, are easy to do with C. I think the added value in this respect is that this makes it much easier to manage the State Machines. I often hear guys at work complaining about how they'd like to switch to using an RTOS because the codebase is a tangled mess of State Machines (not that the two are mutually exclusive of course). Having said that, I seem to remember there is a tool dedicated to creating State Machines that compile down to C - the name escapes me however.
Re:Mbeddr – engineering the future of embedded software by jacobparker on Saturday September 13, 2014 @07:58AM (#8312157)
Re:Mbeddr – engineering the future of embedded software by tlarkworthy on Saturday September 13, 2014 @06:28AM (#8312034)
QP framework. Its bloody brilliant.
Re:Mbeddr – engineering the future of embedded software by ShinyCyril on Sunday September 14, 2014 @06:20AM (#8314922)
That's the one.
Re:Mbeddr – engineering the future of embedded software by IshKebab on Saturday September 13, 2014 @05:48AM (#8311989)
This is clearly aimed at applications that must be very reliable, e.g. life-critical applications like cars (note BMW sponsor it).

Most embedded programming isn't that bug-sensitive, but quite a lot is and I'd wager they'd love something like this.

I know I'd use it if I were writing safety-critical code.

Re:Mbeddr – engineering the future of embedded software by ArkyBeagle on Saturday September 13, 2014 @04:31PM (#8313466)
Code exists in context of a culture and processes. This may well facilitate those, but those kind of have to come first.
Re:Mbeddr – engineering the future of embedded software by sitkack on Saturday September 13, 2014 @10:24AM (#8312443)
This adds an amazing amount of verification, but it doesn't mean that the resulting code is slow. Doing unit checks is awesome. The grid state machine view makes it easier to catch errors and refactor the transitions.