The Power of GPT-4
Utilising GPT-4 for Code Creation
May 3, 2023 - Willem L. Middelkoop
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](/blog/2023-05-03_using-ai-to-generate-code/images/i_02_AI-s-instructions-how-to-use-the-generated-code-most-real-programmers-can-learn-from-its-clarity-in-_500px.png)
![GPT4's generated output code](/blog/2023-05-03_using-ai-to-generate-code/images/i_01_GPT4-s-generated-output-code-auto-rotate-sh-rotating-images-using-ImageMagick-based-on-EXIF-orientat_500px.png)
![A programmer from the future - as imagined by DALL-E from OpenAI](/blog/2023-05-03_using-ai-to-generate-code/images/i_03_A-programmer-from-the-future-as-imagined-by-DALL-E-from-OpenAI_500px.jpg)
![Generating code is as easy as typing in a descriptive prompt](/blog/2023-05-03_using-ai-to-generate-code/images/i_00_Generating-code-is-as-easy-as-typing-in-a-descriptive-prompt_500px.png)