914 research outputs found
Dynamix on the Frame VM: Declarative dynamic semantics on a VM using scopes as frames
Over the years virtual machines (VMs) have been created to abstract over computer hardware. This simplified code generation and allowed for easy portability between hardware platforms. These VMs are however highly tailored to a particular runtime model. This improves the execution speed, but places restrictions on the types of languages that the VM supports. In this thesis the Frame VM was developed as a VM that supports many different types of languages in a principled way. Achieving this is done by basing the VM on language independent models of memory and control flow. Usage of the scopes-as-frames paradigm and control frames resulted in an instruction set that is relatively small at its core, but does allow for the construction of complex control flow. As an effect, many different programming languages can be compiled to the Frame VM. In addition to this VM, a Domain Specific Language (DSL) for executable semantics of programming languages was created. This language, Dynamix, allows for a modular approach to writing the semantics of a language. Additionally, Dynamix provides a meta-compiler that uses these semantics of a language to compile programs to the Frame VM. To validate the Frame VM, direct compilers for Rust and Prolog have been created in a student project and compilers for Scheme and Tiger were created using Dynamix. Using these semantics of Scheme and Tiger, it was possible to execute programs containing usage of call/cc and a suite of Tiger benchmark programs. Furthermore, the control flow of Tiger was extended with exceptions and generator functions. This extension did not require any changes to the existing semantics, showing the modularity of control achieved when using Dynamix and the Frame VM.Computer Scienc
MIME Configurations for Using VM on Emacs
P(論文)Emacsは単なる文書編集アプリケーションではなく、様々な機能をマクロとして附加することができる。本稿では、このEmacsでメールを読み書きするための追加マクロとしてVMを取り上げる。VMでは電子メール本文におけるMIME対応はなされているが、ヘッダにおけるMIME対応はなされていない。本稿では、VMからSEMIを利用し、電子メールヘッダに日本語を利用するためのMIME設定について述べる。当初の目的であるEmacsとVMによる電子メールヘッダにおける日本語のMIME処理は実現できた。ただし、Emacsの版によってはうまく実現できないという情報もある。汎用的な方法を確立するためには、更なる調査が必要である。Emacs is an application software that can be used not only for editing plain texts but also for many other purposes by adding facilities as macros. In this study, VM was used as auxiliary macro for reading and writing e-mails by Emacs. VM has MIME reading and writing ability in the body part of e-mail messages but not in the header part. In this paper, MIME configurations for using SEMI from VM for processingJapanese characters in e-mail headers are described. The goal of this study, i.e., reading and writing MIME messages in header parts, was achieved. However, the author has information that the method described in this paper does not work well with one version of Emacs (Emacs 22). Establishment of a general method is a subject of future work.departmental bulletin pape
A Cautionary Tale: Colonial and post-colonial conceptions of good government and democratisation in Africa
The term good government has figured prominently in recent development theories that have sought to link capitalism with democracy. One striking feature of this trend has been a failure to locate the term within a broader comparative literature on British colonial reform from the mid-1930s onwards. The trajectory of the term good government since the early 1990s is one that would have been familiar to the colonial reformers like Lord Hailey: from an emphasis on technical and capitalist efficiency, the term has come to signal a concern with political empowerment and, ultimately, democratisation. The article suggests that the parallel trajectories of this key concept during these two periods raises important questions about the nature of both empire and the current global order within which development theories are put into practice.The term good government has figured prominently in recent development theories that have sought to link capitalism with democracy. One striking feature of this trend has been a failure to locate the term within a broader comparative literature on British colonial reform from the mid-1930s onwards. The trajectory of the term good government since the early 1990s is one that would have been familiar to the colonial reformers like Lord Hailey: from an emphasis on technical and capitalist efficiency, the term has come to signal a concern with political empowerment and, ultimately, democratisation. The article suggests that the parallel trajectories of this key concept during these two periods raises important questions about the nature of both empire and the current global order within which development theories are put into practice
Flow compensation in a MEMS dual-thermal conductivity detector for hydrogen sensing in natural gas
Conventional thermal conductivity detectors (TCDs) demonstrate a flow dependence. The approach presented here to reduce the flow dependence is based on the on-line flow compensation using two thin-film sensors on membranes in parallel on the same chip that are differentially operated. These are laterally identically, but with a different depth of the detection chamber, resulting in different quasi-static sensitivities to the thermal conductivity of the sample gas. The effects of conduction and convection in the structure have been studied using COMSOL Multiphysics. First prototypes have been fabricated and are presently tested.Accepted Author ManuscriptElectronic Instrumentatio
- …
