Dynamic Code Orchestration: Harnessing the Power of Large Language Models for Adaptive Script Execution
This work proposes a foundational shift in programming and operating systems, potentially empowering users to bypass traditional software development processes and enhancing security through ephemeral executables.
The research tackles the problem of translating written language directives into executable code by using large language models to dynamically generate application logic within a running text editor, demonstrating a new paradigm where users can implement requirements directly without traditional programming teams or static executables.
Computer programming initially required humans to directly translate their goals into machine code. These goals could have easily been expressed as a written (or human) language directive. Computers, however, had no capacity to satisfactorily interpret written language. Large language model's provide exactly this capability; automatic generation of computer programs or even assembly code from written language directives. This research examines dynamic code execution of written language directives within the context of a running application. It implements a text editor whose business logic is purely backed by large language model prompts. That is, the program's execution uses prompts and written language directives to dynamically generate application logic at the point in time it is needed. The research clearly shows how written language directives, backed by a large language model, offer radically new programming and operating system paradigms. For example, empowerment of users to directly implement requirements via written language directives, thus supplanting the need for a team ofprogrammers, a release schedule and the like. Or, new security mechanisms where static executables, always a target for reverse engineering or fuzzing, no longer exist. They are replaced by ephemeral executables that may continually change, be completely removed, and are easily updated.