Forum > Other OS

Advantages of using PASCAL to develop embedded programs

(1/4) > >>

gasensor:
1. It's hard to get out of bounds when accessing arrays/string.
2. The compiler is free for commercial use.
3. It is effective to avoid the macro hell of the C language.
4. It can effectively avoid the trap of local variables in C language.
5. The program is highly readable, even if it lacks comments.
6. This kind of question does not appear: j=++j + ++j;  j= what?

marcov:

Tool selection is a multi facetted question, and general language is only one factor, e.g.


* licensing, as you said
* The usual language differences, like you said in most other options
* Extensions to the language for embedded, both general and target specific, how more embedded the target, the more important this is
* library support, including per target headers
* cross compilation
* IDE integration
* Debugger support

gasensor:
I agree.

For FPC installation and crossinstall issues, I'll write a separate topic.

bobihot:
I very need, but can`t for now - is not possibly practically. If possibly and visual programming like
A visual programming environment

https://www.mitov.com/products/visuino#overview

gasensor:

--- Quote from: bobihot on April 14, 2024, 12:56:45 am ---I very need, but can`t for now - is not possibly practically. If possibly and visual programming like
A visual programming environment

https://www.mitov.com/products/visuino#overview

--- End quote ---

"A visual programming environment" = Labview

This type of graphical programming language struggles to handle complex logical relationships. I've used Labview, and simple stuff is fine. Once the program is complicated, it's hell.

Navigation

[0] Message Index

[#] Next page

Go to full version