首页 /研究 /Seeing systolic computations in a video game world
OTHER

Seeing systolic computations in a video game world

Ken Kahn

发表年份
2002
引用次数
18

摘要

ToonTalk/sup TM/ is a general-purpose concurrent programming system in which the source code is animated and the programming environment is like a video game. Every abstract computational aspect is mapped into a concrete metaphor. For example, a computation is a city, a concurrent object is a house, inter-process communication is represented by birds carrying messages between houses, a method or clause is a robot trained by the user, and so on. The programmer controls a "programmer persona" in this video world to construct run, observe, debug, and modify programs. ToonTalk has been described in detail elsewhere. Here we show how systolic programs can be constructed and animated in ToonTalk. Systolic computations run on multiple processors connected in a regular topology, where all communication is via local message passing. A ToonTalk city can be seen as a systolic multi-processor and each house in the city as an active processor. One is able to construct systolic algorithms and watch their execution as houses are built and destroyed (i.e., processes are spawned and terminate) and birds carry messages between houses.

关键词

Computer scienceProgrammerConstruct (python library)DebuggingProgramming languageComputationCode (set theory)Object (grammar)Process (computing)Parallel computing

相关论文

查看 OTHER 分类全部论文