Let them fail: towards VM built-in behavior that falls back to the program

Proceedings of the 3rd International Companion Conference on Art, Science, and Engineering of Programming(2019)

引用 1|浏览9
暂无评分
摘要
An important purpose of managed runtime environments like virtual machines is to provide built-in behavior to their programs, that is, behavior that cannot or may not be expressed in the program's language and is implemented inside the VM. For performance, stability, and security, such built-in behavior is typically rigorous, and if it deems its invocation to be erroneous, ill-suited, or just not quite right, it communicates this failure via exceptions at best. This implies that a vm's sphere of influence extends rather far into the realm of the program executed: at best, exceptions can be reacted to when built-in behavior fails, even though a program might be able to provide alternatives, improvements, or other ways of handling a failure. By reflecting on how built-in behavior works in a Smalltalk system, we argue that the sphere of influence of programs on VMS is extensible with regard to built-in behavior. For that, we suggest to let built-in behavior fail and let programs decide whether to raise exceptions, try again, or simply do nothing at all.
更多
查看译文
关键词
Squeak/Smalltalk, VMs, built-in behavior, spheres of influence
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要