boards.ie

Go Back   boards.ie > Science > Engineering

Notices

Reply
 
Thread Tools Search this Thread Display Modes
Old 24-08-2009, 15:43   #1
x in the city
Registered User
 
Join Date: May 2003
Posts: 3,211
Electronic hardware design/ R& D Q....

guys

which language is better for this field, C/C++ or Java.

I think myself its C, but the course I am due to start in sept has a main focus on Java, which has me stumped and surprised...and in a meddle

I thought Java was more for mobile applications and applets etc and C would be more for hardware and microcontrollers etc.

The course is MEng Embedded Systems @ CIT.

Thanks..!
__________________
x in the city is offline   Reply With Quote
Advertisement

To remove these adverts, please create an account, or log in! You must have an account to post anyway :-)
Old 24-08-2009, 15:58   #2
Anima
Registered User
 
Anima's Avatar
 
Join Date: Jun 2001
Location: Galway
Posts: 3,274
In my course we did some embedded Java work. We used a TINI board for it.

Its not as configurable as C and its not as fast (at least the version I was using anyway). It is very easy to get an embedded system up and working though in short space of time. We had a web server running which would allow the user to controller the boards peripherals from it. That was with maybe 1k lines of code, so its pretty powerful.
Anima is offline   Reply With Quote
Old 24-08-2009, 15:59   #3
spideog7
Registered User
 
spideog7's Avatar
 
Join Date: Jan 2005
Location: Pittsburgh PA
Posts: 527
I would have thought C myself for embedded stuff, but Java if you have to deal with any type of interface. AFAIK the advantages of C++ over C are mostly lost once you move to embedded architecture as in most cases it lacks the capabilities.
__________________
"You a bounty hunter?"
"A man's gotta do something for a living these days."
"Dyin' ain't much of a livin' boy."
spideog7 is offline   Reply With Quote
Old 24-08-2009, 18:02   #4
D-Generate
Registered User
 
D-Generate's Avatar
 
Join Date: Apr 2000
Posts: 2,121
Send a message via MSN to D-Generate
I would have thought System C myself. Well its the language that we were using in UCC for the module to do with embedded systems.
__________________
Solid, Liquid, Gas. These do not compare to Alphastates!
www.myspace.com/alphastates
D-Generate is offline   Reply With Quote
Old 24-08-2009, 19:03   #5
DublinDilbert
Registered User
 
Join Date: Jul 2006
Posts: 1,940
Well Java was original developed for embedded systems, so the applications could be platform independent, but i've only ever seen it used in a small number of applications, one was a point of sale system.

C is widely used in small embedded systems and C++ in larger embedded systems.

Its good to know java, its really handy... and now days every embedded system has to talk to something, so java is really hand from that end of things...
DublinDilbert is offline   Reply With Quote
Old 24-08-2009, 22:55   #6
x in the city
Registered User
 
Join Date: May 2003
Posts: 3,211
thanks for the replies lads

I still think C++ would be more widely used from a hardware side of things.

Im open to correction and need to make my mind up on a course pronto...!

areas like wireless and embedded platforms, Jtag debugging etc would be my interests.
__________________
x in the city is offline   Reply With Quote
Old 24-08-2009, 23:47   #7
Carawaystick
Registered User
 
Join Date: Aug 2007
Location: exiled in North Co. Dublin
Posts: 1,826
For Hardware Design, then Verilog or VHDL'd be the languages of choice......

Or some other Hardware Description Language.....

Software languages aren't really optimal for designing hardware....

For languages to use designing hardware, python or perl'd be handy, along with the language of choice of your EDA tool vendor.
Carawaystick is offline   Reply With Quote
Old 25-08-2009, 23:58   #8
D-Generate
Registered User
 
D-Generate's Avatar
 
Join Date: Apr 2000
Posts: 2,121
Send a message via MSN to D-Generate
Well if it was purely designing hardware then I would definitely suggest Verilog but for the case of embedded systems I will still promote System C. It has syntax like VHDL and Verilog such has having signals and allowing the ability to set up timing but has the power of a code like C which makes the communication between the software module and hardware module easier.

Its horses for courses really. Choose whichever you feel most comfortable with. If you feel you can do it in C then stick to C.
__________________
Solid, Liquid, Gas. These do not compare to Alphastates!
www.myspace.com/alphastates
D-Generate is offline   Reply With Quote
Old 26-08-2009, 16:34   #9
ElectronEng
Registered User
 
Join Date: Feb 2008
Posts: 82
It depends on which tools (cross compilers, emulators etc) are available for the micro or DSP which you are programming in.

99% of micros and DSPs will come with tools that support C, C++. Have a look at Atmel or Texas Instruments and their toolchains to get a flavour of what is available.

IMHO C/C++ is best as if you are interfacing with the hardware, registers etc.

EE.
ElectronEng is offline   Reply With Quote
Reply
  boards.ie > Science > Engineering Top

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 01:59.


© boards.ie Ltd. (Ireland) - Hosted by Digiweb Hosting. Message Boards and Forums Directory