C or C++ for customized embedded Linux, which is the best and why?
-
I aim to build a network system like router or firewall based on customized embedded Linux. about the memory and stack, I will use embedded appliance like ARM boards or Atom not a simple Micro-controller or processor. which lang. you advice me to use C or C++? . I will use YOCTO Project to help me do that. I built a similar network system.it was a network IDS but, it was based on xPC Target Kernel. Now, I wish to use an Embedded Linux. the system must do the basic task, so no many options. I have an experience in C and C++ but under DOS not Linux. C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
-
I aim to build a network system like router or firewall based on customized embedded Linux. about the memory and stack, I will use embedded appliance like ARM boards or Atom not a simple Micro-controller or processor. which lang. you advice me to use C or C++? . I will use YOCTO Project to help me do that. I built a similar network system.it was a network IDS but, it was based on xPC Target Kernel. Now, I wish to use an Embedded Linux. the system must do the basic task, so no many options. I have an experience in C and C++ but under DOS not Linux. C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
Abdullah A._Mohamed wrote:
C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
I bet on
C++
:Linux
usually providesg++
that is a very goodC++
compiler. By the way, could you please delete your duplicate post? -
Abdullah A._Mohamed wrote:
C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
I bet on
C++
:Linux
usually providesg++
that is a very goodC++
compiler. By the way, could you please delete your duplicate post?CPallini wrote:
By the way, could you please delete your duplicate post?
It's not just a duplicate post - he's created two accounts as well! :doh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
CPallini wrote:
By the way, could you please delete your duplicate post?
It's not just a duplicate post - he's created two accounts as well! :doh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I aim to build a network system like router or firewall based on customized embedded Linux. about the memory and stack, I will use embedded appliance like ARM boards or Atom not a simple Micro-controller or processor. which lang. you advice me to use C or C++? . I will use YOCTO Project to help me do that. I built a similar network system.it was a network IDS but, it was based on xPC Target Kernel. Now, I wish to use an Embedded Linux. the system must do the basic task, so no many options. I have an experience in C and C++ but under DOS not Linux. C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
Abdullah A._Mohamed wrote:
I fare the compatibility if I used it in embedded Linux
C++ is used pretty extensively in embedded Linux. This is more of a matter of preference, you should be able to easily find supporting libraries for both, but I'd imagine that you'd find quite a bit more for C++... so that may be the easiest route.
-
Abdullah A._Mohamed wrote:
C++ has the many options make the system design is easier but I fare the compatibility if I used it in embedded Linux. So any advice?
I bet on
C++
:Linux
usually providesg++
that is a very goodC++
compiler. By the way, could you please delete your duplicate post?thank you Pallini, its not a duplicated but I am a new here and I login using my other accounts like face and g+ So, it seems two accounts is made and I put the Q on the two accounts. sorry.
-
CPallini wrote:
By the way, could you please delete your duplicate post?
It's not just a duplicate post - he's created two accounts as well! :doh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I am a new her and I login using my other accounts like face and g+ So, it seems two accounts is made and I put the Q on the two accounts. sorry.
-
Abdullah A._Mohamed wrote:
I fare the compatibility if I used it in embedded Linux
C++ is used pretty extensively in embedded Linux. This is more of a matter of preference, you should be able to easily find supporting libraries for both, but I'd imagine that you'd find quite a bit more for C++... so that may be the easiest route.
Albert Holguin, thank you, I hope that.
-
thank you Pallini, its not a duplicated but I am a new here and I login using my other accounts like face and g+ So, it seems two accounts is made and I put the Q on the two accounts. sorry.
-
Abdullah A._Mohamed wrote:
I fare the compatibility if I used it in embedded Linux
C++ is used pretty extensively in embedded Linux. This is more of a matter of preference, you should be able to easily find supporting libraries for both, but I'd imagine that you'd find quite a bit more for C++... so that may be the easiest route.
-
Thanks Carlo... probably somebody who doesn't know what they're talking about. I'm actually right in the middle of implementing a bunch of C++ on an ARM processor. Cross-compiling is your friend. :)
-
Albert Holguin, thank you, I hope that.
See my response to Carlo's message below.