Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Electronic hardware design/ R& D Q....

  • 24-08-2009 3:43pm
    #1
    Closed Accounts Posts: 7,134 ✭✭✭


    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..!


Comments

  • Registered Users, Registered Users 2 Posts: 3,945 ✭✭✭Anima


    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.


  • Registered Users, Registered Users 2 Posts: 1,230 ✭✭✭spideog7


    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.


  • Registered Users, Registered Users 2 Posts: 2,946 ✭✭✭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.


  • Registered Users, Registered Users 2 Posts: 5,421 ✭✭✭DublinDilbert


    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...


  • Closed Accounts Posts: 7,134 ✭✭✭x in the city


    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.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 8,779 ✭✭✭Carawaystick


    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.


  • Registered Users, Registered Users 2 Posts: 2,946 ✭✭✭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.


  • Registered Users, Registered Users 2 Posts: 393 ✭✭-K2-


    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.


Advertisement