element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Polls Favorite microcontroller language?
  • 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
Engagement
  • Author Author: neuromodulator
  • Date Created: 20 Oct 2018 7:22 PM Date Created
  • Last Updated Last Updated: 11 Oct 2021 2:58 PM
  • Views 1868 views
  • Likes 1 like
  • Comments 12 comments
Related
Recommended

Favorite microcontroller language?

I like C++ a lot, specifically I love OOP and the STL. If I had to write everything in plain C I would end up writing a lot of boilerplate code ('\0' supporting strings structures and functions; and container-alike structures and functions), time I would rather like to spend on the system functionality. Still, C++ is not well supported on microcontroller, as plain C has been the defacto for a long time.

 

What is your favourite language when programming microcontrollers and why?

  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 6 years ago +7
    Hi! I think for most people the beginner language might still be C with just a bit of C++ (i.e. just classes), since this is what the Arduino IDE and many example programs for Arduino use far as I can…
  • genebren
    genebren over 6 years ago +6
    I mostly use C, but I will drop down to assembly for critical timing needs.
  • glennvanderveer
    glennvanderveer over 6 years ago +6
    I am also an old school programmer from a time when RAM/ROM were at a premium and C and assembly were the only way to make programs fit and run with the limited resources...
Parents
  • clem57
    clem57 over 6 years ago

    Pynq since the syntax is Python. Indentation is a must.image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to clem57

    I'm not sure you can count Zynq as a microcontroller. It's s little bit more than just that! As far as I know the Python bit of Pynq isn't running directly on the ARM core - there's a Linux OS in between.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to Fred27

    Agreed. I only mentioned it for anyone thinking of languages.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • clem57
    clem57 over 6 years ago in reply to Fred27

    Agreed. I only mentioned it for anyone thinking of languages.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • beacon_dave
    beacon_dave over 6 years ago in reply to clem57

    "I only mentioned it for anyone thinking of languages."

     

    As far as I understand it (so far), it is a 'framework' and not a language. Python is the language whereas PYNQ is the framework providing all the drivers, API's, libraries to allow Python to play nicely with the Zynq hardware, resulting in the 'Python productivity for Zynq'.

     

    As for microcontrollers, it perhaps gets a little more 'interesting' when you start to use the Jupyter Notebook 'magic's' within the PYNQ framework to additionally write code blocks in other languages such as C to run on the PicoBlaze/MicroBlaze soft processors implemented in the FPGA hardware... Xilinx after all refer to PicoBlaze as an 8-bit microcontroller core.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
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