HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
View Comments: Newest First|Oldest First|Threaded View
Page 1/2  >  >>
Cabe Atwell
User Rank
Blogger
Re: The devil is in the details.
Cabe Atwell   7/7/2014 5:11:31 PM
NO RATINGS
Mrdon,

I'm not sure we need to go to C++ in our early learning.

X86 Assembly language is key. Which will make learning PIC, ARM, most MCU, and even older Gameboy programming easy to pick up.

Just a thought.

C

mrdon
User Rank
Gold
Re: The devil is in the details.
mrdon   5/23/2014 11:51:39 AM
NO RATINGS
Cabe,

In college, I thought programming was boring and didn't really see why its important in elecrtrical engineering. After taking a BASIC programming class, I saw how powerful software could play in enhancing embedded systems. Programming languages like C and C++ make the impossibility of creating smaller and smarter electronic devices possible. I tell my students the ability to make a dumb device smart using C and C++ programming languages makes them the ultimate problem solver developing tools and products that can change the world. 

cpu
User Rank
Iron
Punch cards to C++
cpu   5/21/2014 12:27:44 PM
NO RATINGS
In college I worked in the Engineering Dept while in the EE program. One of my first jobs was to throw away piles of punch cards. How symbolic. Fortran was the language in our required introduction to programming. no punch cards, but running jobs using the VI editor on Hazeltine terminals connected to a Digital mainframe in the CS dep't. The experience was more valuable than any specific knowledge. Later came Pascal. By the time C was offered, I was finishing my studies and had no elective slots.

I learned ASM in a microprocessor class on Motorola chips. I agree, learning ASM is so valuable. When you look at the output listing from your compiler, wouldn't you want to have some idea what the compiler generated (particularly when the compiled code is not performing some low-level task as you expected)?

I learned C in self-study while working. C seems the perfect fit for low-end MCUs. C is also a good fit with the procedural code we tend to develop for embedded systems.

Now looking at C++, I see that over the years I've solved some problems using OO-like approaches without having any formal understanding of C++. But C was still powerful enough to allow me to create those things.

Cabe Atwell
User Rank
Blogger
Re: The devil is in the details.
Cabe Atwell   5/20/2014 11:48:02 PM
NO RATINGS
I started out with learning Applesoft Basic back in elementary school, which wasn't that tough. I started learning C++ before college to only minor success. I never developed games... as I planned.

 

richnass
User Rank
Blogger
Re: The devil is in the details.
richnass   5/19/2014 9:44:34 AM
NO RATINGS
Daniyal_Ali: I agree with your comments about "working in the background." And I would encourage those that are trying to master these languages to do so. However, today's tools make that (unfortunately) unnecessary. It reminds me of the days when Windows was first popularized. Those of us who knew our way around DOS seemed to have a distinct advantage.

ttemple
User Rank
Platinum
Re: The devil is in the details.
ttemple   5/17/2014 12:50:22 PM
NO RATINGS
I am looking forward to the series.

I don't think that any transition in software is hassle free, however. (maybe I could generalize and say that nothing is hassle free about software - the devil IS in the details)

It seems to me like C++ may be a bit too much for the resources available in lower end processors.  Many of the compelling features of C++ might be pretty resource heavy for microcontrollers.  I think C is a great choice for microcontrollers.  It gets you a step above Assembler, but is still lean enough to be feasible.

I'm interested in seeing what C++ features will be supported in the microcontroller implementations, and what features won't, and whether low end controllers will be supported at all.

 

Daniyal_Ali
User Rank
Platinum
The devil is in the details.
Daniyal_Ali   5/17/2014 5:35:54 AM
NO RATINGS
You are right, the transition from C to C++ is "hassle free" but if one really wants to learn how things work in the background, he must learn the basic assembly languages. Nowadays students are quite comfortable using C and C++ as they are very user friendly, but at the same time they are missing out on how things work at the background of their code. To get a complete hold of programming, one must know what lies in the details.

Charles Murray
User Rank
Blogger
Re: Learn from my son
Charles Murray   5/16/2014 7:20:33 PM
NO RATINGS
I'm impressed, GTOlover. I believe that the transition to C++ is "hassle free," as Rich notes here. But I'm still stuck in the days of Basic and Fortran.

Charles Murray
User Rank
Blogger
Re: I did!
Charles Murray   5/15/2014 5:20:38 PM
NO RATINGS
I, too, started out with punch cards. I had a couple of rather early classes in finite element analysis. I'd take a stack of my punch cards to the guys who ran the computer room, come back the next day, and pick up my results on the old 11" x 17" perforated, folded printout paper. If I made a slight error, I couldn't get my corrected results until the next day. You had to hope you didn't have a dozen errors in your punch cards because that could represent 12 days of new printouts. Gee, when I describe it that way,it all sounds so old.

naperlou
User Rank
Blogger
I did!
naperlou   5/15/2014 1:07:21 PM
NO RATINGS
Rich, I started out with punch cards and FORTRAN.  Actually, I was studying physics and was a paid student programmer.  We had terminals in the Physics building, so I never really had to submit card decks.  The fist terminals were printing terminals with paper tape.  We then went to fancier printing terminals and then we went to CRTs.  It was great.  Then I went to work at NASA and was back to submitting cards.  It was a letdown.

Page 1/2  >  >>


Partner Zone
Latest Analysis
The diesel engine, long popular on European roads, is now piquing the interest of American automakers.
A London-based company has added some sweetness to the versatility of the 3D printing market with a printer designed solely to print candy and confections.
Although plastics make up only about 11% of all US municipal solid waste, many are actually more energy-dense than coal. Converting these non-recycled plastics into energy with existing technologies could reduce US coal consumption, as well as boost domestic energy reserves, says a new study.
Businesses cutting across industries are increasingly making use of portable display stands in the UK for marketing.
XYZ, Rabbit, and Disney innovate on the 3d printer in different ways -- from price point to using materials such as yarn.
More:Blogs|News
Design News Webinar Series
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
7/17/2014 11:00 a.m. California / 2:00 p.m. New York
6/25/2014 11:00 a.m. California / 2:00 p.m. New York
5/13/2014 10:00 a.m. California / 1:00 p.m. New York / 6:00 p.m. London
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Sep 8 - 12, Get Ready for the New Internet: IPv6
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: September 30 - October 2
Sponsored by Altera
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service