跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2604.10399 (cs)
[提交于 2026年4月12日]

标题:Vanilla Object Orientation (VOO): A Value-Semantics Approach to Classes in Tcl

作者:Alan Araujo
查看论文《Vanilla Object Orientation (VOO): A Value-Semantics Approach to Classes in Tcl》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:I present Vanilla Object Orientation (VOO), a framework that composes classes from Tcl's native data structures -- lists and dictionaries -- rather than introducing additional framework infrastructure. VOO objects are plain Tcl lists with automatic memory management through copy-on-write semantics, eliminating the destructor burden inherent in TclOO and Itcl. Benchmarks on Tcl 8.6.13 and Tcl 9.0 show VOO achieves 7--18x faster object creation and 4--6x superior memory efficiency compared to TclOO. A companion C++ migration path (VOO C++) further improves field-access speed (setter 2.3--2.6x faster) and memory (6.8--9.8x lighter than TclOO), while preserving an identical Tcl call-site API. Cross-version analysis confirms that VOO's compositional design scales better than framework-based approaches as the interpreter evolves.
评论: 41 pages (11 pages of main content and 30 pages of appendices), 15 tables, 24 code examples
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2604.10399 [cs.PL]
  (或者 arXiv:2604.10399v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2604.10399

提交历史

来自:Alan Araujo
[v1] 2026年4月12日 星期日 01:12:32 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站