willem.com

Streamlining Programming with AI-Generated Code

Using GPT-4 for Code Optimisation

May 3, 2023 -

As part of my software optimisation efforts to cut cloud costs, I needed to replace an existing piece of inefficient server software with something that uses more robust (yet fragmented) tooling available in Debian GNU/Linux. Could the GPT4 language model deliver me some AI magic? Read along!

Continue reading
AI's instructions how to use the generated code - most real programmers can learn from its clarity in communication
AI's instructions how to use the generated code - most real programmers can learn from its clarity in communication
GPT4's generated output code
GPT4's generated output code "auto_rotate.sh" rotating images using ImageMagick based on EXIF orientation
Generating code is as easy as typing in a descriptive prompt
Generating code is as easy as typing in a descriptive prompt
A programmer from the future - as imagined by DALL-E from OpenAI
A programmer from the future - as imagined by DALL-E from OpenAI

Other stories

all blog posts

Tagged

CloudDataProgrammingServerWork

Articles (143)