# JavaScriptCore

> WebKit's built-in JavaScript engine

Source: https://talira.ai/catalog/javascriptcore-m7b1hmdq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / runtimes / javascript engines](https://talira.ai/categories/developer-tools/runtimes/javascript-engines), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: macos, ios, linux, windows[^3]
- Licence: BSD-2-Clause AND LGPL-2.0-or-later[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Implements: [JavaScript](https://talira.ai/catalog/javascript-jwpzc8t6.md)
- Backed by: [Apple](https://talira.ai/orgs/apple.md)
- Funding: public company (NASDAQ:AAPL)[^4]

JavaScriptCore is the JavaScript engine built into WebKit, implementing ECMAScript as defined in ECMA-262; it's the engine behind Safari, where Apple has marketed it as Nitro, and it has also been called SquirrelFish. It's an optimizing virtual machine with four tiers: a hand-written lexer and parser produce bytecode that the Low Level Interpreter (LLInt) runs with no start-up cost, functions that run often move to the Baseline JIT, and hot code goes to the low-latency DFG optimizing JIT and then the high-throughput FTL JIT, with on-stack replacement and inline caching between tiers. It lives in the WebKit source tree under Source/JavaScriptCore and can be embedded in applications; [Bun](https://talira.ai/catalog/bun-z64kv5wg.md) uses it as its engine. Apple maintains the macOS and iOS ports, Igalia the Linux ports (WebKitGTK and WPE), and a JSCOnly port builds it without the rest of WebKit. WebKit's code is under the two-clause BSD licence, with older code inherited from KHTML under the LGPL.

## Links

- Website: https://docs.webkit.org/Deep%20Dive/JSC/JavaScriptCore.html
- GitHub: https://github.com/WebKit/WebKit
- Docs: https://docs.webkit.org/Deep%20Dive/JSC/JavaScriptCore.html

## Problems it solves

- embed a JavaScript engine in my macOS or iOS app
- understand why my code behaves differently in Safari's JavaScript engine
- a fast JavaScript engine with a low start-up cost to embed in a runtime
- run JavaScript inside a native application without bundling Chromium

## Features

- ECMAScript (ECMA-262) implementation
- LLInt bytecode interpreter
- Baseline JIT
- DFG low-latency optimizing JIT
- FTL high-throughput optimizing JIT
- on-stack replacement and inline caching
- embeddable in applications

## Trust

Overall: 0.37 out of 1.
Signals: backing 0.55, extensibility 0.00.

- backed by Apple
- funding: public company (NASDAQ:AAPL)

Warnings:

- GitHub activity not fetched yet

## Related

- Implements [JavaScript](https://talira.ai/catalog/javascript-jwpzc8t6.md)

## Alternatives

- [QuickJS](https://talira.ai/catalog/quickjs-1b6jpwx3.md): Small, embeddable JavaScript engine with almost complete ES2025 support
- [SpiderMonkey](https://talira.ai/catalog/spidermonkey-m3qg5n19.md): Mozilla's JavaScript and WebAssembly engine
- [V8](https://talira.ai/catalog/v8-yth24qvy.md): Google's open source high-performance JavaScript and WebAssembly engine

## Sources

[^1]: https://docs.webkit.org/Other/Licensing.html (checked 23 Nov 2026)
[^2]: https://github.com/WebKit/WebKit (checked 23 Nov 2026)
[^3]: https://docs.webkit.org/Ports/Introduction.html (checked 23 Nov 2026)
[^4]: https://data.sec.gov/submissions/CIK0000320193.json (checked 20 Nov 2026)
