Skip to content

Choosing between Hermes, JSI, NAPI, or TurboModules for library authors #1393

Answered by tmikov
shamilovtim asked this question in Q&A
Discussion options

You must be logged in to vote

This is a very good question.

Let me break down the alternatives:

Hermes Builtins

Hermes builtins (atob, etc) use the private Hermes APIs, so they are fairly difficult to write and maintain. However, they are by far the most efficient ones, the other approaches do not even come close in overhead. Whether that matters or not depends on what the API is, of course.

Additionally, Hermes builtins are the most convenient for JS developers, since they provide first party supported functionality out of the box. This combination of convenience and performance is unbeatable.

We (the Hermes team) plan to continue adding more such functionality, eventually resulting in a rich SDK, linked on-demand (s…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tmikov
Comment options

tmikov May 30, 2024
Collaborator

@shamilovtim
Comment options

@tmikov
Comment options

tmikov May 31, 2024
Collaborator

@zcbenz
Comment options

@tmikov
Comment options

tmikov Nov 14, 2024
Collaborator

Answer selected by shamilovtim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants