JavaScript javascript-engine

Open-source JavaScript projects categorized as javascript-engine | Edit details

Top 4 JavaScript javascript-engine Projects

  • ChakraCore

    ChakraCore is an open source Javascript engine with a C API.

    Project mention: Exploring React Native’s new architecture | dev.to | 2022-05-04

    Furthermore, the new architecture decouples the JavaScript interface from the engine, enabling the use of other JavaScript engines such as Hermes, V8, or Chakra.

  • Duktape

    Duktape - embeddable Javascript engine with a focus on portability and compact footprint

    Project mention: Optimizations Enabled by -ffast-Math | news.ycombinator.com | 2021-10-20

    Fast math optimizations can break code like this by breaking isNaN.

    I was porting a C++ project to a certain platform - and that platform enabled a -ffast-math equivalent by default in Release (but not Debug) builds! This broke duktape, a JS engine said project embedded, in some nasty and subtle ways. Instead of storing a number/pointer/??? (8 bytes) + type tag (4? bytes) for each dynamically typed JS value, duktape can bit-pack values into a single 8 byte "double" value by storing object/string handles as NaN values - this isn't an uncommon trick for dynamically typed scripting stuff:

    https://github.com/svaarala/duktape/blob/c3722054ea4a4e50f48...

    Naturally, the -ffast-math equivalent broke isNaN checks, which caused random object/string handles to be mistakenly reinterpreted as "numbers" - but only in Release builds, for this one particular platform, in one rarely taken branch, so neither QA nor CI caught it, leading to hours of manufacturing a repro case, stepping through an absurd amount of code, and then finally looking at the default build rules and facepalming.

    Cursing the platform vendor under my breath, I overrode the defaults to align with the defaults of every other config x platform combination we already had: no fast math. If you want those optimizations, use SSE-friendly NaN-avoiding intrinsics - or, if you must use the compiler flags, ensure you do so consistently across build configs and platforms, perhaps limited to a few TUs or modules if possible. This allows you to have a chance at using your Debug builds to debug the resulting "optimizations".

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • jsvu

    JavaScript (engine) Version Updater

    Project mention: Jsc: My New Best Friend | news.ycombinator.com | 2021-08-25

    Tangentially related: jsvu seems to be the easiest way to install most JS engines on most platforms. This can be useful comparing performance or compatibility across JS runtimes without firing up emulators.

    https://github.com/GoogleChromeLabs/jsvu

  • YantraJS

    JavaScript Engine for .NET Standard

    Project mention: Introducing new JavaScript Engine YantraJS for DotNet | dev.to | 2021-10-27

    For more information on how to use various types, please visit YantraJS Examples

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-04.

JavaScript javascript-engine related posts

Index

What are some of the best open-source javascript-engine projects in JavaScript? This list will help you:

Project Stars
1 ChakraCore 8,659
2 Duktape 5,240
3 jsvu 1,594
4 YantraJS 31
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com