From Esolang
Jump to navigation Jump to search

Built on the ruins of a previous language of the same name, Aperture is a language designed for safely constructing advanced AI. The remnants of the previous language are buried beneath it in the page history. The language offloads processing to external programs in other languages through libraries, where each attached library is called a 'core'. If an Aperture program finds it has insufficient cores to complete the required processing, it will default to releasing deadly neurotoxin, so it is recommended that the programmer stifle every program with cores to prevent that. Cores provide high-level behavioural traits for an artificial intelligence, such as morality and adventure-seeking. Commands in Aperture take the form of goals or directives, and are compiled to a rational agent that tries to maximise those goals to the best of its ability. The cores attached determine the strategies the program is capable of employing to reach its goal. For example, if a programmer wrote an AI as a disk operating system, goals could include regular defragmentation, safe memory management and trapping hapless humans in enigmatic escape rooms for science. In service of those goals, an AI might need to use stupidity, anger and/or cake, which could be attached as cores.