Rules | Recent posts | topic RSS | Search | Register  | Log in

Embedded Systems
Goto page Previous  1, 2
 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Author Message
sayimpu



Joined: 03 May 2008
Posts: 17
Location: BANGALORE


Post08 May 2008 7:00   Embedded Systems

Assembly------>is very useful ,when you have less memory,fast accessing
disadv-->its difficult to write and understand assembly,reusability is less

C-------------->its very easy to write programs,interaction with hardware also good,accessing is also fast ,when compare with assembly speed is less,additional header and library files needed to run C program.
disadv--->reusabilty is less.you cannot use the one function variable in another.security of code is very less.

C++---------->designing phase is very important.due to that you can improve the reusability.it very easy to write the coding.security is more.we can save the time and cost while programming.we can implement all good futures like abstraction,polymorphism,templates,inheritance........

accessing speed is less compare to C.because so many libraries ,linking files,...
it takes more memory compare with assembly and C.

all lanuages are good....which language we have to pick depends on our requirments.Very HappyVery Happy
Back to top
sureshreddy



Joined: 12 May 2008
Posts: 43
Helped: 4
Location: BANGLORE


Post12 May 2008 13:09   Re: Embedded Systems

C is sufficient to work with embedded systems but Now all most all companies planning to shift to c++.To the best of mine HONEYWELL TECHNOLOGIES doing c++ related Embedded.
Back to top
jiraju



Joined: 06 Jun 2008
Posts: 11


Post06 Jun 2008 10:59   Embedded Systems

C is sufficient with knowledge of assembly...
Back to top
sureshreddy



Joined: 12 May 2008
Posts: 43
Helped: 4
Location: BANGLORE


Post09 Jun 2008 15:17   Re: Embedded Systems

C++ is required for Embedded when oops concept implementation is required but very less companies are using this c++ for embedded.But now all companies are planning to shift from c to c++.
Back to top
pceruz



Joined: 30 May 2008
Posts: 4


Post09 Jun 2008 15:23   Re: Embedded Systems

C is enough, mainly if your target has a little memory for code and data.
If you want to use an object oriented programming, then C++ is a good language
but unlikely not all the cross compilers for the embedded systems support C++,
or they support it but the resulting code is not so good in terms of size and speed,
mainly if you use C++ in a wrong way (for example if you use templates).
I suggest to read the rules for Embedded C++.
The goal of Embedded C++ is to provide embedded systems programmers with a subset of C++ easy to understand and to use. Meanwhile this subset should fulfil the requirements of embedded systems designs; the three major requirements are:
· avoiding excessive memory consumption
· taking care not to produce unpredictable responses
· making the code ROMable

Embedded C++ requirements:
· Multiple inheritance and virtual base classes are omitted.
· Runtime type identification (RTTI) is omitted.
· Exception handling is omitted.
. Templates are omitted.
· Namespaces are omitted.
· New-style casts are omitted.

I agree with these requirements except for namespaces and virtual functions which are very useful even in embedded systems (virtual function help the
polymorphism of object oriented programming)
Back to top
jacklee99



Joined: 10 Jun 2008
Posts: 1


Post10 Jun 2008 23:05   Re: Embedded Systems

c is sufficient to work.
Back to top
krishna410



Joined: 03 Sep 2006
Posts: 74
Helped: 2


Post18 Jun 2008 9:39   Re: Embedded Systems

If OOPS concepts makes the design easier, then u have to definitely know the C++.
Back to top
rebelstar



Joined: 24 Jun 2008
Posts: 6


Post27 Jun 2008 4:57   Re: Embedded Systems

It really depends on the application.

if you are working on drivers and low level stuff, it will generally be in C,

and if you are working on an application ,again depending on the FRAMEWORK, you may use C++ . C++ has a lot of advantages than C in certain applications.
ofcourse we can implement oops concept in C also.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Page 2 of 2 All times are GMT + 1 Hour
Goto page Previous  1, 2


Abuse
Administrator
Moderators
topic RSS 
sitemap