# ChowJS - 게임 콘솔용 AOT JavaScript 엔진

> Clean Markdown view of GeekNews topic #5040. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5040](https://news.hada.io/topic?id=5040)
- GeekNews Markdown: [https://news.hada.io/topic/5040.md](https://news.hada.io/topic/5040.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-09-19T09:31:01+09:00
- Updated: 2021-09-19T09:31:01+09:00
- Original source: [mp2.dk](https://mp2.dk/techblog/chowjs/)
- Points: 3
- Comments: 0

## Topic Body

- AOT : Ahead-Of-Time

- 게임콘솔을 타겟으로 JavaScript로 게임을 개발한 후 미리 컴파일해서 런타임과 함께 배포하는 방식

ㅤ→ QuickJS 기반

ㅤ→ ES2020 까지의 최신 JS 지원

ㅤ→ PC, Mobile, Console 지원

ㅤ→ NW.js 런타임 환경의 서브셋 제공

ㅤ→ AOT 컴파일러로 SSA IR를 이용해서 빠른 머신 코드를 생성

ㅤ→ 인라인 캐슁 구현

ㅤ→ 레퍼런스 카운팅 GC 사용

- V8 인터프리터보다 3.23x 빠름

ㅤ→ V8에서 30FPS 이하였던게 60FPS까지 가능해짐

- 현재까지 알려진 프로덕션 수준의 AOT엔진은 페이스북이 개발한 Hermes 정도 밖에 없음

ㅤ→ ReactNative용이고, 머신코드가 아닌 ByteCode를 생성

## Comments



_No public comments on this page._
