【24h】

'Safe' Languages Require Sequential Consistency

机译:“安全”语言需要顺序一致性

获取原文

摘要

Almost all languages today are memory safe, thereby providing simple and strong guarantees to all programs. Yet the concurrency semantics of these "safe" languages causes similar problems as arise in memory-unsafe languages: small program errors can expose implementation details, violate fundamental language abstractions, and compromise program safety. Perhaps surprisingly, this is the case not only for imperative languages like Java and C++ but also for functional languages that support shared-memory concurrency. In this talk 111 overview the state of concurrency semantics as it exists today and argue that "safe" languages (and particularly declarative ones) must support the simple interleaving semantics of threads known as sequential consistency (SC). Along the way 111 debunk a few persistent myths about SC and argue that it is a practical choice for many languages today.
机译:如今,几乎所有语言都是内存安全的,从而为所有程序提供了简单而有力的保证。然而,这些“安全”语言的并发语义引起了与内存不安全语言类似的问题:小的程序错误可能会暴露实现细节,违反基本语言抽象并损害程序安全性。也许令人惊讶的是,不仅对于像Java和C ++这样的命令性语言,而且对于支持共享内存并发的功能性语言,情况都是如此。在这篇演讲111中,概述了当今并发语义的状态,并指出“安全”语言(尤其是声明性语言)必须支持称为顺序一致性(SC)的线程的简单交织语义。一路走来,111揭穿了关于SC的一些长期存在的神话,并认为这是当今许多语言的一种实用选择。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号