티스토리 뷰

V8 JavaScript Engine

V8 is Google's open source, high performance JavaScript engine. It is written in C++ and is used in Google Chrome, Google's open source browser.
구글의 오픈소스, 높은 성능의 자바스크립트 엔진, C++로 작성, 크롬에서 사용

About V8
V8 implements ECMAScript as specified in ECMA-262, 3rd edition, and runs on Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM processors.
V8은 ECMAScript 를 구현, Windows XP, Vista, Mac OS X 10.5 (Leopard), IA-32 나 ARM processors를 사용하는
Linux systems에서 작동된다.

V8 compiles and executes JavaScript source code, handles memory allocation for objects, and garbage collects objects it no longer needs. V8's stop-the-world, generational, accurate garbage collector is one of the keys to V8's performance. You can learn about this and other performance aspects in V8 Design Elements.
V8은 자바스크립트 소스 코드를 컴파일하고 실행하며, 객체의 메모리 할당을 관리하고 더이상 필요없는 객체는 가비지가 모은다.

JavaScript is most commonly used for client-side scripting in a browser, being used to manipulate Document Object Model (DOM) objects for example. The DOM is not, however, typically provided by the JavaScript engine but instead by a browser. The same is true of V8—Google Chrome provides the DOM. V8 does however provide all the data types, operators, objects and functions specified in the ECMA standard.
자바스크립트는 웹에서 클라이언트쪽 스크립팅에 가장 많이 쓰인다. DOM을 계산하는데 사용하는데 일반적으로 이것은 브라우저대신 자바스크립트 엔진에서 제공한다. 구글 크롬에서는 DOM을 제공한다. 그러나 V8이 ECMA 규격에명시된  모든 데이타 타입과 연산자, 객체, 함수등을 제공하지는 않는다.

V8 enables any C++ application to expose its own objects and functions to JavaScript code. It's up to you to decide on the objects and functions you would like to expose to JavaScript. There are many examples of applications that do this, for example: Adobe Flash and the Dashboard Widgets in Apple's Mac OS X and Yahoo! Widgets.
V8 은 어떤 C++ 애플리케이션도 기능할 수 있어서 그 객체와 함수를 자바스크립트 코드에 넘길 수 있다. 이것은 개발자에게 달려있다.


V8: an open source JavaScript engine


Google I/O 2009 - V8: ..High Performance JavaScript Engine

댓글