Vibe Coding: Advantages, Costs, and Perils

Chatbots can help — but also hinder — developers.
April 27, 2026
5 min read

What you’ll learn:

  • What is vibe coding?
  • How can it be used carefully?

Though I’ve recommended that you avoid vibe coding for embedded systems, I’ve been using chatbots to help with my programming endeavors and achieved some success. Part of the challenge is in defining vibe coding, and to what degree you might be using it. These days it tends to be all-encompassing to handle setting up a development environment to writing production code. Like the term artificial intelligence (AI), there’s a lot of wiggle room between extremes.

I think more people will be developing applications thanks to AI, but real programmers will still be needed, possibly more than in the past. Projects like the one discussed in “Demonstrating SPARK with a Mars Rover (Part 1): Cyber-Physical Systems” highlight why design is such an important part of the process.

Advantages of Vibe Coding

Writing programs and using tools to get programs to run on hardware have been improving, but they still tend to be complex with lots of options. Take a look at the list of command line options for compilers and linkers and then try to figure out the implications of using each one. Likewise, configuring an integrated development environment (IDE) to handle complex builds is another area in which dealing with dependencies makes the job a challenge. Moving into the hardware realm brings its own set of issues.

I’ve found chatbots to be very handy in providing configuration support with tools I’m unfamiliar with. Documentation can help; however, oftentimes, details and tips spread across the internet in chat rooms and application notes would help but are hard to find. The challenge here is similar to searching for a solution yourself, finding something that’s close enough to what you want to do so it can be used to address your issue. What you uncover may be very nuanced.

Of course, many assume vibe coding is just about generating source code and thinking that you’re done once you have something that runs. Chatbots can generate complete programs based on prompts and the amount of source code can be massive, making it difficult for a person to verify its validity.

There’s also the issue of run-once code. If the generated code works once and provides suitable results, then it can be discarded. Code that will be used in production over many years is another matter.

Large-language-model (LLM) chatbots such as Emerson’s NI Nigel and LabVIEW’s AI assistant focus on a more limited environment, in this case the LabVIEW application development. These have a number of advantages, including training from a known-good source rather than the mixture of information found on the internet.

Costs of Vibe Coding

Many developers are using free chatbot versions on the internet, e.g., ChatGPT, Claude, and others, but most have paid versions as well. The big question is availability and how much performance and capability the free versions will retain or gain over time versus the paid versions.

The massive build-up in AI data centers powers both, but money is the end goal for investors in these data centers. Moreover, paid use of vibe-coding functionality needs to balanced with the results as compared to not using them or having a real person perform that function.

Complete open-source implementations are one possibility, including running LLMs locally, but the practicality and performance of local systems isn’t always easy to quantify. I’ve tried some local versions using one high-end NVIDIA GPGPU. However, the results were slower and less functional than the free online versions. This wasn’t a detailed comparison or performance check. It’s also something that even a small company could exceed when using a server with multiple GPGPUs or AI inference engines.

I’ve found chatbots to be useful but have also wasted a good bit of time going down a rabbit hole. This can happen for a variety of reasons, from a chatbot trying to provide a solution that isn’t possible for it to the use of terminology that’s incompatible with the problem.

Finally, the issue of technical debt pushes costs into the future while retaining code that may have significant issues, which may or may not affect an application’s current operation.

Perils of Vibe Coding

We’ve already talked about technical debt, although it’s just one of the potential perils of using vibe coding. Chatbots are also prone to hacking and poisoning that would cause problems similar to computer viruses and conventional hacking.

Programmers will tend to use vibe coding for specific tasks and incorporate the code into an application that’s then run through a compiler. Things are a bit different if a prompt will be used repeatedly over time with different data or prompt variations. This means the underlying chatbot may be changing as well, making the results different. It could be better due to LLM improvements, but the results may not always be better or usable. Determining why this occurs may require more AI intervention.

One way to avoid some of these issues is to employ different agents and prompts to handle tasks like building and running test cases. Another chatbot may be used to develop documentation. Analysis of the AI-generated source code by a different chatbot may also help reduce problems.

The chatbots designed to support all aspects of vibe coding continue to improve, in general. Still, one needs to be realistic about their capabilities and limits. Run once and unverified use of vibe coding will continue, but developers and users should be aware of potential problems so that they can weigh the costs and risks involved.

The biggest risk often involves those unfamiliar with the underlying systems and issues to create and use vibe-coded applications without restrictions. Mandated use of AI without guidelines and guardrails is an open invitation to disaster.

More Editorials from Electronic Design Weekly

new_promo
Regular issues of Electronic Design are back.
ID 209546226 © Darren4155 - Dreamstime.com
Technical Debt
Artificial intelligence is useful in building software, but beware of technical debt.

About the Author

William G. Wong

Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sign up for our eNewsletters
Get the latest news and updates

Voice Your Opinion!

To join the conversation, and become an exclusive member of Electronic Design, create an account today!