element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Is Automatic Code Generation in Our Future?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 474 subscribers
  • Views 775 views
  • Users 0 members are here
  • automatic_code_generation
  • embedded
Related

Is Automatic Code Generation in Our Future?

GardenState
GardenState over 15 years ago
This morning in his blog TechOnline editor-in-chief Patrick Mannion brought to my a attention an interactive, automatic code generator and design environment called ECCM. (for Embedded Controller Code Maker).  I went to the website (the URL is revealing, too, in its use of the term lego-code:http://www.lego-code.com/INDEX.htm) and among the claims being made is that ECCM will create assembler code for typical embedded controller applications in less than 4 hours without manual coding required. Mannion wonders aloud, and so did I, if automatic code generation is the wave of the future and, if so, what does this mean for embedded developers? What do you think?
  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 15 years ago

    I don't think so.

     

    I have a Computer Science background and automatic code generation has allways been a big topic there. But it never made it to reality.

    Why? Because with the time the processing power grows and with that the technology allways tends to more powerfull frameworks instead of code generation. Frameworks enable you to develop complex software very fast - as it is true with code generation, but give you more flexibility.

     

    I think the same is true or the embedded market as well. Many processors run Linux and there you have a lot of powerfull frameworks at hand to do UI stuff, networking or even so complex stuff like IO and thread scheduling.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    I hear this argument quite often from computer science graduates when discussing assembler vs C++ for embedded apps - technology is getting so cheap and powerful that powerful high level languages can be used with embedded operating systems ....

     

    Personally I think this is the wrong way to look at it.  Most embedded applications don't need hundreds of millions of operations per second, and even a $5 chip running an embedded OS is massively overpriced. Why throw a system running thousands of lines of code at a problem that has very few inputs or outputs?  A 40 cent microcontroller in a washing machine could have it's two or three hundred bytes of code generated automatically from a good flow chart.

     

    Where there are a relatively small number of inputs and outputs (most control systems), automatic code generation is a big help to the companies who's main expertise is the thing being controlled, not the processor doing the controlling.  Where expensive PLC modules used in industry for many years used to have a terminal or PC interface and allowed equipment engineers to program machines using logic equations and diagrams, now smaller, cheaper microcontrollers can be employed closer to the work being done - and they need code, which for most systems is going to be cheaper if it's generated by an easy to use automatic tool than hiring a programmer who then needs to learn all about the product being controlled.

     

    Not all embedded applications need internet connectivity, multitasking, multimedia, 16 bit colour, XML parsers or a penguin.  Mostly they count pies, turn lights on and off or keep the office at a comfortable temperature - all very mundane and scripted.  Ideal for low power drag and drop programming.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 15 years ago in reply to Former Member

    I hear this argument quite often from computer science graduates when discussing assembler vs C++ for embedded apps - technology is getting so cheap and powerful that powerful high level languages can be used with embedded operating systems ....

     

    Personally I think this is the wrong way to look at it.  Most embedded applications don't need hundreds of millions of operations per second, and even a $5 chip running an embedded OS is massively overpriced. Why throw a system running thousands of lines of code at a problem that has very few inputs or outputs?  A 40 cent microcontroller in a washing machine could have it's two or three hundred bytes of code generated automatically from a good flow chart.

     

    Where there are a relatively small number of inputs and outputs (most control systems), automatic code generation is a big help to the companies who's main expertise is the thing being controlled, not the processor doing the controlling.  Where expensive PLC modules used in industry for many years used to have a terminal or PC interface and allowed equipment engineers to program machines using logic equations and diagrams, now smaller, cheaper microcontrollers can be employed closer to the work being done - and they need code, which for most systems is going to be cheaper if it's generated by an easy to use automatic tool than hiring a programmer who then needs to learn all about the product being controlled.

     

    Not all embedded applications need internet connectivity, multitasking, multimedia, 16 bit colour, XML parsers or a penguin.  Mostly they count pies, turn lights on and off or keep the office at a comfortable temperature - all very mundane and scripted.  Ideal for low power drag and drop programming.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube