Meta Marc Horowitz

Meta's Hermes: An Open Source JavaScript Engine Optimized for Mobile Apps

Original post Hermes: An Open Source JavaScript Engine Optimized for Mobile Apps

Article Summary

Marc Horowitz from Facebook reveals how they built a JavaScript engine from scratch specifically for mobile constraints. Spoiler: they deliberately skipped the JIT compiler everyone else uses.

Facebook open-sourced Hermes, a new JavaScript engine optimized for React Native apps on resource-constrained mobile devices. Unlike traditional JS engines built for desktop browsers, Hermes prioritizes app startup time, download size, and memory usage over raw CPU performance.

Key Takeaways

Critical Insight

Hermes sacrifices benchmark performance to dramatically improve real-world mobile app startup time, download size, and memory usage on mass-market devices.

Continue reading

The article reveals why Facebook's team believes JITs actually hurt the metrics that matter most for mobile apps.

This page summarizes “Hermes: An Open Source JavaScript Engine Optimized for Mobile Apps” by Meta, published Jul 12, 2019. All credit for the original work goes to the authors.

Read the original on engineering.fb.com (opens in new tab)

AI tools for React Native

Browse all AI tools →