4

There are a few available and i want to support many platforms so i guess V8 isn't that good unless someone has written an interpreter patch for it.

starblue
  • 55,348
  • 14
  • 97
  • 151
Lothar
  • 12,537
  • 6
  • 72
  • 121

2 Answers2

5

JavaScriptCore (the WebKit JS engine) has a pure C API that has guaranteed API and ABI stability -- you can build from source available at http://webkit.org but it's a system framework on macos, and is distributed at least in debian (-unstable?). It runs on all platforms as it has both an interpreter and a jit (which is stable on x86 and x86-64)

olliej
  • 35,755
  • 9
  • 58
  • 55
2

How about Spidermonkey, since it's written in C?

meder omuraliev
  • 183,342
  • 71
  • 393
  • 434