Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

There are several options that are available like C, C++, Matlab and some more. But is there a language that naturally feels like Event programming?

For example: If I see a red ball (Event) ---> Do this (Action)

share|improve this question

closed as not constructive by gnat, Yusubov, thorsten müller, ChrisF Dec 3 '12 at 14:35

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
These are modelled with a state machine generally. –  jozefg Dec 2 '12 at 16:02

1 Answer 1

up vote 1 down vote accepted

.NET Micro Framework can be an option for you. It has very little run-time, about 300Kb. You can program your MCU (ARM[7/9/CMx..]) with VB or C# using Visual Studio. While talking about robotics, hardware interrupts are also important. There is an option to use native code RPL, but I'm not sure it's possible to implement hardware interrupts like timer and edge triggering.. There are events for them, but they may do pooling behind the scenes.. Which means it's not real-time. And MS Robotic Studio is a free tool that also serves event driven programming, and even Visual Programming (diagram based like Simulink).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.