Join Token: a Language Mechanism for Programming Interactive Games ⇑ Taketoshi Nishimori , Yasushi Kuno

Total Page:16

File Type:pdf, Size:1020Kb

Join Token: a Language Mechanism for Programming Interactive Games ⇑ Taketoshi Nishimori , Yasushi Kuno Entertainment Computing 3 (2012) 19–25 Contents lists available at SciVerse ScienceDirect Entertainment Computing journal homepage: ees.elsevier.com/entcom Join token: A language mechanism for programming interactive games ⇑ Taketoshi Nishimori , Yasushi Kuno Graduate School of Business Sciences, University of Tsukuba, Tokyo, 3-29-1 Otsuka, Bunkyo-ku, Tokyo 112-0012, Japan article info abstract Article history: In the video game software industry, scripting languages have been used to alleviate the complexity of Received 15 August 2010 game development. Much of this complexity resides in managing game characters’ multiple concurrent Revised 4 September 2011 activities. However, current scripting languages seem to lack support for interactions among multiple Accepted 20 September 2011 concurrent activities in a state-dependent manner. To overcome this problem, we propose a mechanism Available online 29 September 2011 called ‘‘join token’’ in which the states of game characters can be expressed as tokens and interactions can be described as handlers involving multiple tokens. For the purpose of evaluation, we have developed a Keywords: game scripting language called ‘‘Mogemoge’’, and we have written several sample games in this language. Video game In this paper, we explain the join token, the design/implementation of Mogemoge, and its evaluation Programming language Scripting language through a sample game. Ó 2011 International Federation for Information Processing Published by Elsevier B.V. All rights reserved. 1. Introduction tion such as ‘‘wait’’ and ‘‘signal’’ operations is required. It is difficult to achieve conditional synchronization of these operations in gen- Recently, efforts required to develop commercial video games eral-purpose programming languages. have significantly increased. This is because the platforms for such Currently, some scripting languages address part of these prob- games (PCs or game consoles such as Xbox or PlayStation) are lems. Stackless Python [1], for instance, supports microthreads that becoming more powerful i.e., game programs are becoming larger make it feasible to assign a dedicated thread to each game charac- and more complex than ever before. ter. In addition, Stackless Python simplifies the description of mul- One method to deal with this problem is to use game-oriented tiple concurrent activities by each character but does not address scripting languages. Scripting languages enable more abstract and the description problem of interaction among the characters. Unre- compact descriptions in general, which lead to more concise and alScript [2] supports concurrent objects called ‘‘actors’’ as well as comprehensive code. Game-oriented scripting languages can addi- their states. (The methods annotated with state names are called tionally be equipped with language mechanisms that are specifi- only in the corresponding states.) By mapping game characters to cally suitable for game descriptions, thus relieving the burden on actors and their states to actor states, natural description becomes game programmers. possible. However, UnrealScript does not address the difficulty One of the domains in which such language mechanisms are arising from conditional synchronization. desirable is the interaction between multiple game characters, as Many game-oriented scripting languages are used these days, is often observed in action games. From game players’ viewpoint, such as GameMonkeyScript [3], AngelScript [4], and Squirrel [5]. many game characters act concurrently with complex interactions In these languages, although various approaches are used to ad- among them, often depending on their states. For example, in dress the problems associated with multiple concurrent activities many shooting games, multiple missiles concurrently move on or object states, no outstanding approach to the problem of the game screen. When these missiles ‘‘hit’’ various objects, the interaction among multiple concurrent activities has yet been resulting effects differ depending on the type of objects and their found. states such as whether they have a shield. In this paper, we propose a new language mechanism called It is generally accepted that concurrent programming in gen- ‘‘join token’’ that coordinates multiple state-dependent concurrent eral-purpose programming languages is difficult and error prone. activities required for a game description. To assess the effective- In particular, when interaction among concurrent activities is ness of this mechanism, we also design and implement an experi- dependent on the state of each activity, conditional synchroniza- mental game-oriented scripting language called ‘‘Mogemoge’’ that incorporates the join token as a built-in synchronization mecha- nism. For the purpose of evaluation, we describe several sample ⇑ Corresponding author. games using Mogemoge. E-mail addresses: [email protected] (T. Nishimori), [email protected] (Y. Kuno). Description of concurrent activities has been the target of active URL: http://www.gssm.otsuka.tsukuba.ac.jp (Y. Kuno). research for some time, and computational models such as Petri 1875-9521/$ - see front matter Ó 2011 International Federation for Information Processing Published by Elsevier B.V. All rights reserved. doi:10.1016/j.entcom.2011.09.001 20 T. Nishimori, Y. Kuno / Entertainment Computing 3 (2012) 19–25 nets [6,7] have been proposed and extensively studied. However, To summarize the discussion, our objective is to retain the merit mapping between those theoretical models and practical program- of object orientation (natural description), while avoiding the ming languages is not always straightforward (we provide addi- problems associated with the coding of interactions. This is the tional note on Petri nets in Section 5). second prerequisite. The concept of join token is based on join-calculus [8] and Linda [9,10]. Join-calculus models the coordination of multiple concur- rent tasks, while Linda models the decoupling of the message sen- 2.1.3. The idea behind join token der and receiver. As far as we know, several programming The idea of join token is derived directly from the above prereq- languages are based on one of these concepts, but no language uisites. First, phase separation can be realized by a pool in which has combined them both. In our opinion, coordination and decou- ‘‘tokens’’ are accumulated. In the ‘‘update all characters’’ phase, pling are equally beneficial in clearly describing game logic. Hence, every status that needs to be handled later is converted into tokens we investigate a method of combining coordination and and placed into the pool. Then, in the ‘‘handle event’’ phase, these decoupling. tokens are matched with event handlers and are acted upon. This The structure of this paper is as follows. In Section 2, we explain clear separation eases the difficulty that programmers encounter the idea behind and the design of the join token. In Section 3,we by controlling complex timing problems within games. provide an overview of the Mogemoge language and discuss its Second, interaction handling can be realized by ‘‘join’’ handlers, implementation. In Section 4, we describe a sample game using whereby multiple tokens within the pool are collected and handled Mogemoge and discuss the effectiveness of the join token. In Sec- in a joint activity. This design solves the problem associated with tion 5, we present a discussion, and finally we conclude our study the imbalanced nature of object orientation as noted above be- in Section 6. cause handlers are independent of objects. In summary, the basic idea behind the join token can be repre- 2. Join token: idea and design sented as accumulating tokens in a pool and using ‘‘join’’ handlers that collect multiple tokens and act upon them. The concrete de- 2.1. Prerequisite and idea of join token sign behind the join token is explained below. As described above, a join token is a language mechanism that is specifically targeted to describing multiple concurrent and state- 2.2. Basic design of join token dependent activities that are often seen in action games. First, we describe the basic prerequisites for interactive game programs. As described above, a join token is a mechanism designed We then address the idea behind our join token. around tokens in a pool and join handlers acting upon those to- kens. The concrete design of the mechanism is as follows (Fig. 1): 2.1.1. Prerequisite 1: phase separation Many video game programs have a main loop consisting of an Each object participating in an interaction expresses its willing- ‘‘update all characters’’ phase and a ‘‘handle events caused by pre- ness to participate by generating a ‘‘token’’. A token with a list of vious update’’ phase. In the former phase, the status of each char- parameters specified in the code is then associated with such an acter is updated according to a small advance in the current time. object. During this period, some events such as the collision of characters Tokens are generated when methods execute ‘‘throw state- may occur. In the latter phase, the events are handled and their ef- ments’’, and the generated tokens are automatically placed into fects are recorded for processing in the next update phase. the global ‘‘token pool’’. This phase separation is not built into the general-purpose An interaction (multiple object action) is described as a ‘‘join programming languages that are used to program games, and statement’’ that defines a ‘‘join handler’’ (hereafter, ‘‘handler’’). has to be programmed
Recommended publications
  • Scripting Engine for Execution of Experimental Scripts on Ttü Nanosatellite
    TALLINN UNIVERSITY OF TECHNOLOGY School of Information Technologies Department of Software Science Sander Aasaväli 142757IAPB SCRIPTING ENGINE FOR EXECUTION OF EXPERIMENTAL SCRIPTS ON TTÜ NANOSATELLITE Bachelor’s thesis Supervisor: Martin Rebane MSc Lecturer Co-Supervisor: Peeter Org Tallinn 2017 TALLINNA TEHNIKAÜLIKOOL Infotehnoloogia teaduskond Tarkvarateaduse instituut Sander Aasaväli 142757IAPB INTERPRETAATOR TTÜ NANOSATELLIIDIL EKSPERIMENTAALSETE SKRIPTIDE KÄIVITAMISEKS Bakalaureusetöö Juhendaja: Martin Rebane MSc Lektor Kaasjuhendaja: Peeter Org Tallinn 2017 Author’s declaration of originality I hereby certify that I am the sole author of this thesis. All the used materials, references to the literature and the work of others have been referred to. This thesis has not been presented for examination anywhere else. Author: Sander Aasaväli 22.05.2017 3 Abstract Main subject for this thesis is choosing a scripting engine for TTÜ (Tallinna Tehnikaülikool) nanosatellite. The scripting engine must provide functionality, like logging, system debugging, determination, and perform certain tasks, like communicating with the bus, file writing and reading. The engine’s language must be powerful enough to fill our needs, yet small and simple enough to have as small flash and RAM (Random Access Memory) footprint as possible. The scripting engine should also be implemented on an external board (STM32f3discovery). This way the engine’s flash footprint, RAM footprint and performance can be tested in our conditions. The outcome was that, both Pawn and My-Basic were implemented on the external board. The flash and RAM footprint tests along with performance tests were executed and results were analysed. This thesis is written in English and is 38 pages long, including 5 chapters, 6 figures and 2 tables.
    [Show full text]
  • Tomasz Dąbrowski / Rockhard GIC 2016 Poznań WHAT DO WE WANT? WHAT DO WE WANT?
    WHY (M)RUBY SHOULD BE YOUR NEXT SCRIPTING LANGUAGE? Tomasz Dąbrowski / Rockhard GIC 2016 Poznań WHAT DO WE WANT? WHAT DO WE WANT? • fast iteration times • easy modelling of complex gameplay logic & UI • not reinventing the wheel • mature tools • easy to integrate WHAT DO WE HAVE? MY PREVIOUS SETUP • Lua • not very popular outside gamedev (used to be general scripting language, but now most applications seem to use python instead) • even after many years I haven’t gotten used to its weird syntax (counting from one, global variables by default, etc) • no common standard - everybody uses Lua differently • standard library doesn’t include many common functions (ie. string.split) WHAT DO WE HAVE? • as of 2016, Lua is still a gold standard of general game scripting languages • C# (though not scripting) is probably even more popular because of the Unity • Unreal uses proprietary methods of scripting (UScript, Blueprints) • Squirrel is also quite popular (though nowhere near Lua) • AngelScript, Javascript (V8), Python… are possible yet very unpopular choices • and you can always just use C++ MY CRITERIA POPULARITY • popularity is not everything • but using a popular language has many advantages • most problems you will encounter have already been solved (many times) • more production-grade tools • more documentation, tutorials, books, etc • most problems you will encounter have already been solved (many times) • this literally means, that you will be able to have first prototype of anything in seconds by just copying and pasting code • (you can
    [Show full text]
  • Ultimate++ Forum
    Subject: AngelScript - AngelCode Scripting Library Posted by Sender Ghost on Fri, 18 Nov 2011 09:37:26 GMT View Forum Message <> Reply to Message Homepage: http://www.angelcode.com/angelscript/ License: zlib Version: 2.30.0 (February 22nd, 2015) Description: The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer. Efforts have been made to let it call standard C functions and C++ methods with little to no need for proxy functions. The application simply registers the functions, objects, and methods that the scripts should be able to work with and nothing more has to be done with your code. The same functions used by the application internally can also be used by the scripting engine, which eliminates the need to duplicate functionality. For the script writer the scripting language follows the widely known syntax of C/C++, but without the need to worry about pointers and memory leaks. Contrary to most scripting languages, AngelScript uses the common C/C++ datatypes for more efficient communication with the host application. Documentation: http://www.angelcode.com/angelscript/documentation.html In the attachments you could find AngelScript source code, add-ons, samples, converted to U++ packages and documentation. To note: There were minor changes for include files for original sources to adapt for U++ package structure. Edit: Updated to 2.30.0 version.
    [Show full text]
  • 1. with Examples of Different Programming Languages Show How Programming Languages Are Organized Along the Given Rubrics: I
    AGBOOLA ABIOLA CSC302 17/SCI01/007 COMPUTER SCIENCE ASSIGNMENT ​ 1. With examples of different programming languages show how programming languages are organized along the given rubrics: i. Unstructured, structured, modular, object oriented, aspect oriented, activity oriented and event oriented programming requirement. ii. Based on domain requirements. iii. Based on requirements i and ii above. 2. Give brief preview of the evolution of programming languages in a chronological order. 3. Vividly distinguish between modular programming paradigm and object oriented programming paradigm. Answer 1i). UNSTRUCTURED LANGUAGE DEVELOPER DATE Assembly Language 1949 FORTRAN John Backus 1957 COBOL CODASYL, ANSI, ISO 1959 JOSS Cliff Shaw, RAND 1963 BASIC John G. Kemeny, Thomas E. Kurtz 1964 TELCOMP BBN 1965 MUMPS Neil Pappalardo 1966 FOCAL Richard Merrill, DEC 1968 STRUCTURED LANGUAGE DEVELOPER DATE ALGOL 58 Friedrich L. Bauer, and co. 1958 ALGOL 60 Backus, Bauer and co. 1960 ABC CWI 1980 Ada United States Department of Defence 1980 Accent R NIS 1980 Action! Optimized Systems Software 1983 Alef Phil Winterbottom 1992 DASL Sun Micro-systems Laboratories 1999-2003 MODULAR LANGUAGE DEVELOPER DATE ALGOL W Niklaus Wirth, Tony Hoare 1966 APL Larry Breed, Dick Lathwell and co. 1966 ALGOL 68 A. Van Wijngaarden and co. 1968 AMOS BASIC FranÇois Lionet anConstantin Stiropoulos 1990 Alice ML Saarland University 2000 Agda Ulf Norell;Catarina coquand(1.0) 2007 Arc Paul Graham, Robert Morris and co. 2008 Bosque Mark Marron 2019 OBJECT-ORIENTED LANGUAGE DEVELOPER DATE C* Thinking Machine 1987 Actor Charles Duff 1988 Aldor Thomas J. Watson Research Center 1990 Amiga E Wouter van Oortmerssen 1993 Action Script Macromedia 1998 BeanShell JCP 1999 AngelScript Andreas Jönsson 2003 Boo Rodrigo B.
    [Show full text]
  • A Classification of Scripting Systems for Entertainment and Serious
    Published in Proceedings of VS-GAMES 2011: 3rd International Conference on Games and Virtual Worlds for Serious Applications, pages 47-54; definitive version available from http://dx.doi.org/10.1109/VS-GAMES.2011.13 A Classification of Scripting Systems for Entertainment and Serious Computer Games Eike Falk Anderson Interactive Worlds ARG Coventry University Coventry, UK [email protected] Abstract—The technology base for modern computer games is usually provided by a game engine. Many game engines have built-in dedicated scripting languages that allow the development of complete games that are built using those engines, as well as extensive modification of existing games through scripting alone. While some of these game engines implement propri- etary languages, others use existing scripting systems that have been modified according to the game engine’s requirements. Scripting languages generally provide a very high level of abstraction method for syntactically controlling the behaviour of their host applications and different types of scripting system allow different types of modification of their underlying host application. In this paper we propose a simple classification for scripting systems used in computer games for entertainment and serious purposes. Index Terms—Data-Driven Game Development, Scripting Language Classification. Fig. 1. A typical game engine. If the engine core includes a scripting system, then application specific scripts are loaded as external game assets and there I. INTRODUCTION may be no other application specific code. The computer games industry is still a young industry which continues to have a lot of potential for growth. This is especially so, since games have broken out of the domain Consequently it is no surprise that scripting systems are of pure entertainment and are now used in a wide variety of considered one of the most important developer tools that are different situations.
    [Show full text]
  • Overload Journal 95
    OVERLOAD CONTENTS OVERLOAD 95 February 2010 Overload is a publication of ACCU ISSN 1354-3172 For details of ACCU, our publications Editor Ric Parkin and activities, visit the ACCU website: [email protected] www.accu.org Advisors Richard Blundell [email protected] Matthew Jones [email protected] 4 One Approach to Using Hardware Registers Alistair McDonald in C++ [email protected] Martin Moene encapsulates low level register access Roger Orr for testing. [email protected] Simon Sebright 12 The Model Student: A Game of Six Integers [email protected] (Part 1) Anthony Williams [email protected] Richard Harris analyses a popular game show. Advertising enquiries 19 Simplifying the C++/Angelscript Binding [email protected] Process Stuart Golodetz hooks in a scripting language. Cover art and design Pete Goodliffe 24 Quality Matters: Diagnostic Measures [email protected] Matthew Wilson investigates the recls library. Copy deadlines All articles intended for publication in Overload 96 should be submitted by 1st March 2010 and for Overload 97 by 1st May 2010. ACCU Copyrights and Trade Marks ACCU is an organisation of programmers Some articles and other contributions use terms that are either registered trade marks or claimed who care about professionalism in as such. The use of such terms is not intended to support nor disparage any trade mark claim. programming. That is, we care about On request we will withdraw all references to a specific trade mark and its owner. writing good code, and about writing it in By default, the copyright of all material published by ACCU is the exclusive property of the author.
    [Show full text]
  • C++ Best Practices
    C++ Best Practices Table of Contents Preface 0 Use the Tools Available 1 Style 2 Considering Safety 3 Considering Maintainability 4 Considering Portability 5 Considering Threadability 6 Considering Performance 7 Enable Scripting 8 Further Reading 9 Final Thoughts 10 2 C++ Best Practices Preface C++ Best Practices: A Forkable Coding Standards Document This document is meant to be a collaborative discussion of the best practices in C++. It complements books such as Effective C++ (Meyers) and C++ Coding Standards (Alexandrescu, Sutter). We fill in some of the lower level details that they don't discuss and provide specific stylistic recommendations while also discussing how to ensure overall code quality. In all cases brevity and succinctness is preferred. Examples are preferred for making the case for why one option is preferred over another. If necessary, words will be used. C++ Best Practices by Jason Turner is licensed under a Creative Commons Attribution- NonCommercial 4.0 International License. Disclaimer This document is based on my personal experiences. You are not supposed to agree with it 100%. It exists as a book on GitHub so that you can fork it for your own uses or submit back proposed changes for everyone to share. Preface 3 C++ Best Practices Use The Tools Available An automated framework for executing these tools should be established very early in the development process. It should not take more than 2-3 commands to checkout the source code, build, and execute the tests. Once the tests are done executing, you should have an almost complete picture of the state and quality of the code.
    [Show full text]
  • Quality Goal Oriented Architectural Design and Traceability for Evolvable Software Systems
    Quality Goal Oriented Architectural Design and Traceability for Evolvable Software Systems Dissertation zur Erlangung des akademischen Grades Doktor-Ingenieur (Dr.-Ing.) vorgelegt der Fakultät für Informatik und Automatisierung der Technischen Universität Ilmenau von Dipl.-Inf. Stephan Bode geboren am 5. Februar 1983 in Mühlhausen/Thüringen, Deutschland 1. Gutachter: PD Dr.-Ing. habil. Matthias Riebisch, TU Ilmenau 2. Gutachter: Prof. Dr.-Ing. Detlef Streitferdt (JP), TU Ilmenau 3. Gutachter: Prof. Dr. Wilhelm Hasselbring, Universität zu Kiel Datum der Einreichung: 2011/04/20 Datum der Verteidigung: 2011/09/22 urn:nbn:de:gbv:ilm1-2011000313 Zusammenfassung Softwaresysteme werden heute z. B. aufgrund sich ändernder Geschäftsprozesse oder Technologien mit häufigen Veränderungen konfrontiert. Die Software und speziell ihre Architektur muss diese Änderungen zur dauerhaften Nutzbarkeit ermöglichen. Während der Software-Evolution können Änderungen zu einer Verschlechterung der Architektur führen, der Architekturerosion. Dies erschwert oder verhindert wei- tere Änderungen wegen Inkonsistenz oder fehlendem Programmverstehen. Zur Ero- sionsvermeidung müssen Qualitätsziele wie Weiterentwickelbarkeit, Performanz oder Usability sowie die Nachvollziehbarkeit von Architekturentwurfsentscheidungen be- rücksichtigt werden. Dies wird jedoch oft vernachlässigt. Existierende Entwurfsmethoden unterstützen den Übergang von Qualitätzielen zu geeigneten Architekturlösungen nur unzureichend aufgrund einer Lücke zwischen Methoden des Requirements Engineering und
    [Show full text]
  • Programování Počítačových Her
    Inovace přednášky byla podpořena v rámci projektu OPPA CZ.2.17/3.1.00/33274 financovaného Evropským sociálním fondem a rozpočtem hlavního města Prahy. Praha & EU: investujeme do Vaší budoucnosti Programování počítačových her Práce v týmu, rozdělení rolí, práce na větším projektu Obsah • Kdo je to programátor? • Nástroje pro týmovou práci • Specifika většího projektu • Programování v praxi • Middleware • Skriptovací jazyky Kdo je to programátor? aneb Není to jen o renderování. Role • Vedoucí • Architekt • Senior • Junior • Programátor vs. Kodér Specifika • Rozmanitost • Složitost • Matematika • Datové struktury • Algoritmy • Důraz na bezpečnost a rychlost kódu Náplň práce • Návrh řešení problémů . Analýza • Implementace . Vlastní psaní kódu • Code review . Nikdo není neomylný • Opravy chyb / Optimalizace . Debugging Oblasti práce • Jádro . Každý chce pracovat na grafice. • Simulace . Skoro každý chce pracovat na fyzice. • Gameplay . Nikdo nechce dělat práci designéra. • Nástroje . Je to vůbec ještě o hrách? Výsledek práce • Renderer • Datové struktury . interakce • Playground pro designéry • Nástroje pro grafiky • Kdo má poslední slovo? . Programátor vs. Designér Nástroje pro týmový vývoj Co používají profesionální týmy Nástroje • IDE • Compiler a linker • Profiler • Správa verzí (Version control)‏ • Správa dat (Asset management)‏ • Bugtracker • Správa úkolů • Dokumentace/Wiki IDE • Editor, compiler, debugger • MS Visual Studio . nejrozšířenější . užitečné pluginy . nejlepší debugger . používá se i pro Xbox i pro PS3 . na druhou stranu podporuje závislost na kompilaci • Linuxové editory • Ostatní (Eclipse, Bloodshed Dev-C++)‏ Profiling a tuning • Měření rychlosti • Kontrola paměti • Komerční projekty . VTune, Gprof, Telemetry . Memory Validator, BoundsChecker, Valgrind • Nejlepší je vlastní . Profiler: Sean Barrett, Game Developer 08/04 . Vlastní memory manager Správa verzí • Řešení . CVS, SVN, git, Mercurial, SourceSafe • Aspekty . zamykání souborů (check in/out)‏ .
    [Show full text]
  • 'Game' Portability
    A Survey of ‘Game’ Portability Ahmed BinSubaih, Steve Maddock, and Daniela Romano Department of Computer Science University of Sheffield Regent Court, 211 Portobello Street, Sheffield, U.K. +44(0) 114 2221800 {A.BinSubaih, S.Maddock, D.Romano}@dcs.shef.ac.uk Abstract. Many games today are developed using game engines. This development approach supports various aspects of portability. For example games can be ported from one platform to another and assets can be imported into different engines. The portability aspect that requires further examination is the complexity involved in porting a 'game' between game engines. The game elements that need to be made portable are the game logic, the object model, and the game state, which together represent the game's brain. We collectively refer to these as the game factor, or G-factor. This work presents the findings of a survey of 40 game engines to show the techniques they provide for creating the G-factor elements and discusses how these techniques affect G-factor portability. We also present a survey of 30 projects that have used game engines to show how they set the G-factor. Keywords: game development, portability, game engines. 1 Introduction The shift in game development from developing games from scratch to using game engines was first introduced by Quake and marked the advent of the game- independent game engine development approach (Lewis & Jacobson, 2002). In this approach the game engine became “the collection of modules of simulation code that do not directly specify the game’s behaviour (game logic) or game’s environment (level data)” (Wang et al, 2003).
    [Show full text]
  • Configuration Pinocchio
    Configuration Pinocchio: The Lies Plainly Seen and the Quest to be a Real Discipline Andre P. Masella Ontario Institute for Cancer Research Abstract particularly Amazon Elastic Compute Cloud in 2006. As the layers of indirectly coupled components have The construction of configuration files has long been increased, the complexity of configurations have in- considered outside of the domain of “programming”. creased to match. As a central problem, the composabil- However, configuration files have a way of growing more ity of the configurations does not match the composabil- complex. There is a struggle between keeping a config- ity of the servers they describe. Moreover, the configu- uration terse, by having the system infer information au- rations of different servers operate in radically different tomatically, and explicit, without having excessive dupli- ways, each developing unique methods of propagating cation. Either the configuration file develops embedded default values and concisely expressing repetitive infor- domain-specific programming languages or a text-based mation. macro language is put in front. I will identify and catego- To build better configuration management software, rize patterns in the evolution of these programming lan- one must first understand the problem being solved. Con- guages and describe what kinds of patterns are needed to figuration seems simple enough: simply provide some avoid them. values to an application on start-up. Unfortunately, the reality is more nuanced. Firstly, the number of methods 1 Introduction for informing an application of its configuration is larger than expected. These include command line arguments, There has been a shift in the kinds of configurations writ- configuration files, environment variables, and values in ten.
    [Show full text]
  • Blue Cat's Plug'n Script User Manual
    Blue Cat's Plug'n Script User Manual "Craft your own effects and instruments" 1 Blue Cat's Plug'n Script User Manual Copyright (c) 2014-2021 Blue Cat Audio Table Of Content Introduction Description System Requirements Installation First Launch Using Blue Cat's Plug'n Script Introduction The User Interface Operation Scripting Tutorial Angelscript Scripting Reference AngelScript Version AngelScript Add- ons API Script Reference Advanced Scripting Topics Debugging Scripts Optimization and Best Practices Native Programming Tutorial Native Programming Reference API C + + Script Reference C Script Reference Customizing the User Interface Adding a User Manual Resources Standalone Application Basics Blue Cat Audio Plug- ins Basics User Interface Basics Controls Keyboard Mouse Presets Management MIDI & Automation Control More Blue Cat's Plug'n Script Parameters Input Output Plug- in Settings The Global Settings Window The Preset Settings Window About Skins Changing the Skin Create a Custom Skin More Extra Skins Tutorials Updates Versions History 2 Blue Cat's Plug'n Script User Manual Copyright (c) 2014-2021 Blue Cat Audio Note: An online version of this user manual is available here. 3 Blue Cat's Plug'n Script User Manual Copyright (c) 2014-2021 Blue Cat Audio Introduction Description Blue Cat's Plug'n Script is an audio and MIDI scripting plug- in and application that can be programmed to build custom effects or virtual instruments, without quitting your favorite DAW software. With this plug- in, you can write your own plug- in with very little knowledge about programming. If you do not care about programming, Blue Cat's Plug'n Script can also be used as a regular multi effects processor with existing scripts or to get someone else write this very particular utility you have been searching for years and cannot find anywhere.
    [Show full text]