What is Codex and how does it work
Thanks to this, for example, we can write «make a ball bounce on the screen» to generate a script that does that, or even more complicated tasks, such as «when you click on the ball, the message« boing »will appear on the screen. screen, and it will start to move 4 times faster for 1 second ». And, likewise, it will generate code that will do exactly that.
We can see to what extent it is capable of creating code, and some of its many possibilities, in the following video of OpenIA demo in which they teach us to create a game.
The possibilities included in this new Artificial Intelligence range from communication functions with a web server to keyboard controls and manipulations of objects and animations. It is able to know where the element is located (in case we use, for example, the “fall” action). And he is also aware of the work that we are sending him so that he can keep names and variables.
How to test this new Artificial Intelligence
At the moment, this new Artificial Intelligence is in a private beta phase. Some developers who once signed up for the Codex test will receive an invitation that will allow them to have a first contact with this new AI. If we have not signed up yet, and we want to try it, we will be able to join the waiting list from this link. During the testing phase, this AI will be free for users, although when it comes out of beta it will become a commercial product. Although, for now, there are not many more details about it.
As with Copilot, despite its capabilities, its creators see it as nothing more than a new help system for programmers. It is one more addition, such as syntax highlighting or suggestions that any IDE can show us. It will not save programmers work (since the code will have to be revised anyway, and maybe even modified). Much less will it eliminate jobs.
Codex wants to be like a kind of companion to the programmer, a second opinion that allows us to know a new point of view. And why not help us a bit when we’re stuck. But he is still far from thinking like a programmer.