Juan Jimenez
Juan Jimenez

Reputation: 5852

Best language to program on linux embedded

I have an industrial computer (1Ghz processor, 1GB RAM) with linux embedded and I'm trying to figure out what's the best programming technology for the system we're going to develop.

System will have to read some data sent to the serial port, store it on a queue and send it back to the server, so we might need a relational embedded database...

I've read about C when you have very limited resources, but maybe this is not the case...

so far I have 2 prefered options: C or C# with Mono project.

it seems best embedded database is SQLLite.

What do you think?, any better alternative?

Upvotes: 0

Views: 1908

Answers (3)

paulsm4
paulsm4

Reputation: 121609

SqlLite3: Yes, definitely a good candidate

C or C++ (remember: they're different - VERY different): both strong candidates

Mono/C#: Not so much :)

Java: If there's a JVM readily available for your host, and assuming your CPU is 32 bit (or greater), then Java JME is also an option.

I'd vote either C or C++, depending on your preferences.

If you went with C++ and needed a GUI, I'd consider Qt.

I strongly recommend this book:

Upvotes: 4

Zardoz89
Zardoz89

Reputation: 621

C, C++ or you can try D. VM's languages like C# or Java, I don't think that should be a good option if you need low-level work with serial port.

Upvotes: 1

AndersK
AndersK

Reputation: 36082

I would pick C++ cause you have a greater possibility of expressing yourself plus without any overhead.

Upvotes: 4

Related Questions