Chinaunix首页 | 论坛 | 博客
  • 博客访问: 438941
  • 博文数量: 88
  • 博客积分: 2677
  • 博客等级: 少校
  • 技术积分: 893
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-13 08:01
文章分类

全部博文(88)

文章存档

2017年(3)

2016年(1)

2012年(4)

2011年(4)

2010年(57)

2009年(19)

我的朋友

分类: LINUX

2010-09-17 10:48:24

在阅读程序的时候,发现javascript直接调用C语言做的API函数。
这是为什么呢?

同时,sourcetree中也有一些opensource,其中包含
spidermonkey
yuicompressor
libcurl

spidermonkey就是Javascript和C的引擎。
HP:
SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript.

转载:
http://blog.csdn.net/wangweixing2000/archive/2008/01/18/2051890.aspx
http://www.ibm.com/developerworks/cn/linux/shell/js/js_engine/index.html



上记转载文章中,不准确的地方修正:
不是firefox,firefox是mozilla的产品之一。
实际上用的是spidermonkey来使得,Javascript程序调用C语言函数。
阅读(5919) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~