惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 曾哲

关于在线 pdf 下载时的注意事项 - 曾哲 ASP.NET中常用的26个优化性能方法 快讯:微软宣布446亿美元收购雅虎 收获的2007 被soso的爬虫 把网站爬死了 升级到Visual Studio 2008的10个技巧[转] 学习英文的常用网站 知识图书馆的到来 404 错误自动转向的问题 - 曾哲 - 博客园 常用的一些网站 C#常用正则表达式 MSN 错误 80048820 不能上 在SF.net 上看到中文介绍的开源项目 中文计数 在线英汉词典 智能纠错的设计 google和yahoo的网络爬虫真厉害 .Net中的反射使用入门 【转载】 kgdiwss 的 Blog asp.net 2.0中login控件介绍 关于lucene的书
嵌入式JavaScript脚本解释器的研究与实现
曾哲 · 2009-08-27 · via 博客园 - 曾哲

论文标题:嵌入式JavaScript脚本解释器的研究与实现
The Research and Implementation of an Embedded JavaScript Interpreter
论文作者 王宜春
论文导师 吴健,论文学位 硕士,论文专业 计算机软件与理论
论文单位 西北工业大学,点击次数 153,论文页数 52页File Size1917k
2003-03-01论文网 http://www.lw23.com/lunwen_41757/ 嵌入式Web浏览器,JavaScript解释器,对象模型,反馈制导优化
Embedded Web Browser,JavaScript Interpreter,Object Model,Feedback-Directed Optimization
论 文在深入研究C++对象模型的基础上,提出了一种针对嵌入式开发环境的低运行成本和维护成本的对象模型——OOC对象模型,其执行效率可以和C++对象模 型相比。我们选择了嵌入式开发环境中普遍支持的C语言实现了该模型的程序设计环境,并在此环境中实现了解释器的前端。 论文在考察了目前较先进的优化机制的基础上,考虑到嵌入式环境的资源限制,提出了适用于JavaScript解释器的优化框架。该框架利用后端程序动态运 行信息,制导前端进行优化决策,在不降低系统可用性的前提下,选择出最有效的优化策略,从而使性能得到提高。 论文中结合了嵌入式平台和JavaScript语言的特点,采用了前后端分离的架构以使解释器获得良好的移植性和扩展性。解释器前端的设计实现利用了面向 对象技术。其中采用了对象来表示抽象语法树的结点,用对象之间的关联关系来表示语法成分之间的嵌套关系,并在字节码的生成过程中充分利用多态机制。同时, 该解释器提供了良好的应用程序接口,不仅可以为嵌入式Web浏览器提供脚本支持,也可以为其他需要脚本支持的宿主环境提供支持。 最后,我们开发的解释器通过了Mozilla浏览器所采用的JavaScript Test Library测试库的严格测试,可以说其正确性和健壮性已经达到了商用程度。
The first contribution of this thesis is a new object model called OOC object model. The model is originally based on C++ object model, but with the embedded environment"s resources restriction concerned, the model has low runtime overhead and low maintenance cost, and its performance in execution is comparative to C++ object model. We choose the C language, which should be the most popular high-level language supported in all embedded development environments, to implement a programming environment of the model. The front-end of the interpreter, which will be addressed in next paragraph, is totally implemented in this programming environment.The second contribution of this thesis is the design and implementation of an embedded JavaScript interpreter for the embedded web browser. In the interpreter, a front-end/back-end architecture is used to achieve a good degree of portability and extendibility, and a feedback-directed optimization framework is used to improve the interpreter"s performance. Also, the interpreter provides the host environment with a set of well-defined APIs. At last, the interpreter has passed the strict test with JavaScript Test Library used by Mozilla browser. The testing results prove that the interpreter"s correctness and robustness have reached a high level.