Skip to content

Confusion Regarding Hermes vs Static Hermes Compilation #14

@mashish584

Description

@mashish584

Hi @anisurrahman072 ,

I was reviewing the notes for Hermes and Static Hermes, and I came across some points that seemed unclear.

The notes mentions that Hermes compiles JavaScript code to bytecode at runtime. I guess it's AOT right not runtime.

To summarize my current understanding:

Hermes:

Uses AOT to convert JavaScript code into bytecode ahead of runtime, reducing startup time by eliminating the need for on-device parsing and compiling.

Static Hermes:

Further optimizes performance by compiling JavaScript to native code at build time, resulting in smaller and faster binaries without requiring any compilation at runtime.

Could you confirm if this interpretation is accurate?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions