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 fancy code completion really worth it ?
  • 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 18 replies
  • Subscribers 475 subscribers
  • Views 606 views
  • Users 0 members are here
  • ide
  • embedded
  • ai
  • c_code
Related

Is fancy code completion really worth it ?

michaelkellett
michaelkellett 2 months ago

Of credible AI horror stories I think this is about as bad as it gets !

https://www.tomshardware.com/tech-industry/cyber-security/researchers-uncover-critical-ai-ide-flaws-exposing-developers-to-data-theft-and-rce

I'm sticking with the "legacy" Keil IDE for C coding on ARM - it may be a little slower but at least I'm fairly sure that nothing gets into my code that I didn't put there !

MK

  • Sign in to reply
  • Cancel

Top Replies

  • balajivan1995
    balajivan1995 2 months ago in reply to cstanton +4
    cstanton said: Remote code execution and data theft, my favourite combination! Technically, you don't even need AI for that. Installing extensions from VS code marketplace is enough. Threat Actors Keep…
  • Jan Cumps
    Jan Cumps 2 months ago in reply to michaelkellett +2
  • cstanton
    cstanton 2 months ago +1
    Remote code execution and data theft, my favourite combination! Isn't this effectively why people are warned to avoid 'ai powered browsers' too? It appears difficult to do appropriate safeguards on these…
  • dougw
    dougw 2 months ago

    AI is still at the scary stage where it cannot be trusted, but you absolutely need to figure out how to make it work in order to stay competitive from a productivity point of view.

    There will be many companies that forbid the use of AI because the risks are too high.

    There will be companies that use AI and run into costly or disastrous situations.

    There will be companies that successfully figure out how to leverage AI to improve productivity and corporate performance by at least an order of magnitude.

    There is no question which companies will win in the end.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bradfordmiller
    bradfordmiller 2 months ago in reply to dougw

    You forgot about the companies that will exploit AI to make their competitors look bad. "It's not enough to win, you have to make everyone else look foolish for trying..."

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw 2 months ago in reply to bradfordmiller

    Fake news seems to be a popular application for AI. Perps don't even care if the AI is hallucinating.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • metaprog
    metaprog 2 months ago

    AI is great. Just always use the local models, they are more than powerful enough. Do not forget to use tools - give LLMs an access to LSP (clangd is ok), to a sandbox with simulation and tests, etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • metaprog
    metaprog 2 months ago in reply to DAB

    There is one way AI can earn way more trust than humans (your local ones or third party somebody) - AI is great at writing proofs. If you generate a certified code with AI, it outperforms humans already. Writing proofs is way too tedious for humans, but AI have infinite patience. I generated fully formally proven SystemVerilog modules with AI, fully certified code in SPARK and Coq. And I only ever use local models for this.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • DAB
    DAB 1 month ago in reply to metaprog

    Unless you can check each path, you still never know what the AI is doing or what issues generate the answers.

    Risk Analysis 101, if you cannot verify the results, you do not trust them. Ever!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz 1 month ago in reply to colporteur

    I use vi too : )

    (Admittedly only for short pieces of code or edits).

    I can't imagine explaining to a non-tech person how vi is like MS Word, but no buttons to click on, and no icons, i.e. not even Teletext level. A bit like trying to explain that the Internet was text-only for some people too, until Netscape Navigator came along... and pictures were often created in text characters, because it took too long to transfer images, and there was nowhere to store them for long, apart from floppy disks (or print on fanfold paper!). My e-mail account storage limit was 150 kbytes at uni.. (that was for all emails combined : )

    Nowadays there's AI for vi (I've not tried it).

    I don't know if you've ever watched Halt and Catch Fire, but perhaps you might like it. It's fictional, but many elements are close to reality. I really enjoyed it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • metaprog
    metaprog 1 month ago in reply to DAB

    It's no different from human-written code though. And yes, you absolutely can check every path in the generated code, this is what formal verification is for.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2026 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