1 / 52
文档名称:

209 - fast-code-is-always-in-fashion.pdf

格式:pdf   页数:52页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

209 - fast-code-is-always-in-fashion.pdf

上传人:luyinyzha 2016/3/31 文件大小:0 KB

下载得到文件列表

209 - fast-code-is-always-in-fashion.pdf

相关文档

文档介绍

文档介绍:Web Languages and VMs or why fast code is always in fashion Lars Bak & Kasper Lund Software Engineers at Google Inc. Hacking on VMs side by side the last 13 years... Speed fuels application innovation Web browsers are faster than ever, but are they fast enough? We will convince you that Dart takes performance to the next level So Why Are We Here? Remember the Browsers of 2006? Firefox Explorer Opera Safari 1998 2000 2002 2005 2008 2006 Browsers were believed to be "fast enough" ●Web apps like Gmail and Google Maps ran fine ●JavaScript was inherently too slow for heavy client putations ●JavaScript execution was not perceived as a bottleneck Performance was evaluated using micro-benchmarks ●Emphasis was put on loops and simple arithmetic ●Dynamic dispatching and memory management were sadly neglected Browser Performance Beliefs in 2006 JavaScript SunSpider: bitwise-and Benchmark from SunSpider version bitwiseAndValue = 4294967296; for (var i = 0; i < 600000; i++) bitwiseAndValue = bitwiseAndValue & i; JavaScript SunSpider: bitwise-and Benchmark from SunSpider version bitwiseAndValue = 4294967296; for (var i = 0; i < 600000; i++) bitwiseAndValue = bitwiseAndValue & i; ... but this always yields zero? JavaScript SunSpider: bitwise-and Benchmark from SunSpider version bitwiseAndValue = 4294967296; for (var i = 0; i < 600000; i++) bitwiseAndValue = bitwiseAndValue & i; if (bitwiseAndValue != 0) throw "ERROR: bad result..."; ... and this always yields zero! (1) Optimize for current apps and benchmarks ●Simple and incremental approach ●Attempt to make things 10% better (2) Optimize for the apps of the future ●Support heavy client putations ●Turn the browser into a scalable application platform ●Enables a new class of web apps V8 Design Choice: What to Optimize For?

最近更新

《劳动关系管理》课程思政教学案例(一等奖) 11页

《牛顿第三定律》说课稿(3篇) 14页

【应用题专项】精编苏教版小学数学5年级上册第.. 19页

一级建造师历年真题(附答案) 54页

脊柱骨折手术护理 26页

本质论与预防型的安全哲学 26页

中国古代文学史三名词解释 4页

中级经济师《经济基础知识》真题及解析 4页

乙型肝炎病毒(HBV)核酸定量检测标准操作规程 4页

二年级数学下册练习题10份卷 18页

人教版2021年三年级语文上册期中测试卷及完整.. 7页

任务型教学法在泰国汉语教学中的应用的中期报.. 2页

人教版小学一年级上册数学19《10的认识》说课.. 4页

人教部编版2022年八年级语文下册单元测试附答.. 22页

胡玉美豆瓣酱品牌推广策划方案课件 27页

保洁主管的岗位职责 11页

代谢综合征患者脑钠肽水平变化对心脏功能的影.. 2页

八年级英语下册Unit4Whydontyoutalktoyourpar.. 32页

打造安全文化 27页

减速器轴加工工艺及夹具设计 4页

成缆工段安全操作规程 31页

加快信息化环境建设 促进信教深度融合 13页

从关联理论看—傲慢与偏见—中反语的中期报告.. 1页

四年级上册语文一课一练-鸟的天堂|人教新课标.. 4页

国家注册质量经理(CMQ)中国质量协会注册质量.. 11页

土力学及地基基础期末考试模拟试题 6页

基层员工的优秀激励方案(5篇) 19页

人淋巴细胞NT3基因工程细胞的建立及鉴定的中期.. 1页

太原市2022年初中学业水平模拟考试一答案文综.. 10页

肿瘤多因素多步骤发病机制 24页