Skip to main content

Apple’s ChatGPT rival may automatically write code for you

Artificial intelligence (AI) tools like ChatGPT and Bing Chat have exploded in popularity over the past year, yet industry titan Apple has remained conspicuously quiet on the matter. Now, though, we might know what could be in store for us if the Cupertino firm decides to launch its own AI chatbot.

In a recently granted patent (#US-11687830-B2), Apple explains how it could infuse machine learning (ML) tech into its Xcode app, which may allow it to automatically write code for developers. If successful, that could be a major boost for app builders who work within Apple’s ecosystem — and could mean better apps for users.

A slide of Xcode running on MacOS Monterey at Apple's WWDC 2021 event
Image used with permission by copyright holder

The patent notes that ML could be used to automatically complete lines of code, check existing code for bugs, and more. These simple tasks alone could help save developers a bunch of time.

Beyond that, though, Apple potentially sees its idea as removing barriers for new developers who might not be familiar with how to set up the right software and hardware in order to use ML models.

To that end, Apple’s patent explains how a new system could include ML models “within an integrated software development environment” in a similar way as familiar features like functions and classes. This would then allow the developer to take advantage of all that ML goodness just as they would use a regular library or class when coding, with no complicated setup required. In other words, using machine learning to assist with your code would feel instantly recognizable.

Built into Xcode

Coding on a Mac using virtual machines via VMWare Fusion Pro.
Image used with permission by copyright holder

It sounds like Apple will embed its code-writing tool directly into the Xcode app rather than release a standalone chatbot, much like how Adobe is building AI tools right into Photoshop. It’s possible it could also find its way into other Apple apps, perhaps providing a system-wide AI helper in the vein of Microsoft’s Copilot.

The fact that AI tools like ChatGPT are easy to use and get to work quickly means Apple’s idea could be seriously attractive to developers. Building it into Xcode — an app developers use all over the world — means code writers wouldn’t have to learn how to use an additional app to reap the benefits.

Speaking of benefits, though, those are far from guaranteed, and Apple’s existing AI efforts are something of a mixed bag. The iPhone 14’s AI-assisted photography skills are exceptional — Siri, famously, is not.

Still, you’d expect Apple to make a decent go of its AI code-writing bot given how much money it has to throw at the problem. If you write a lot of code, watch this space.

Editors' Recommendations

Alex Blake
In ancient times, people like Alex would have been shunned for their nerdy ways and strange opinions on cheese. Today, he…
ChatGPT may soon moderate illegal content on sites like Facebook
A laptop screen shows the home page for ChatGPT, OpenAI's artificial intelligence chatbot.

GPT-4 -- the large language model (LLM) that powers ChatGPT Plus -- may soon take on a new role as an online moderator, policing forums and social networks for nefarious content that shouldn’t see the light of day. That’s according to a new blog post from ChatGPT developer OpenAI, which says this could offer “a more positive vision of the future of digital platforms.”

By enlisting artificial intelligence (AI) instead of human moderators, OpenAI says GPT-4 can enact “much faster iteration on policy changes, reducing the cycle from months to hours.” As well as that, “GPT-4 is also able to interpret rules and nuances in long content policy documentation and adapt instantly to policy updates, resulting in more consistent labeling,” OpenAI claims.

Read more
GPT-4.5 news: Everything we know so far about the next-generation language model
ChatGPT app running on an iPhone.

OpenAI's GPT-4 language model is considered by most to be the most advanced language model used to power modern artificial intelligences (AI). It's used in the ChatGPT chatbot to great effect, and other AIs in similar ways. But that's not the end of its development. As with GPT-3.5, a GPT-4.5 language model may well launch before we see a true next-generation GPT-5.

Here's everything we know about GPT-4.5 so far.

Read more
Newegg wants you to trust ChatGPT for product reviews
AI-generated review on Newegg's website.

Newegg, the online retailer primarily known for selling PC components, has pushed AI into nearly every part of its platform. The latest area to get the AI treatment? Customer reviews.

On select products, Newegg is now showing an AI summary of customer reviews. It sifts through the pile, including the review itself and any listed pros and cons, and uses that to generate its own list of pros and cons, along with its own summary. Currently, Newegg is testing the feature on three products: the Gigabyte RTX 4080 Gaming OC, MSI Katana laptop, and Ipason gaming desktop.

Read more