DEV Community

Discussion on: How do I create a desktop app that easily allow plugins?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I actually realized that at least Golang (via Otto) and Java (via Nashorn / GraalVM) can also parse JavaScript on the fly. Python is much less supported.

Of course, if I use Java, I can also parse JAR or JVM bytecode on the fly.

As for how I can make it, I can see two ways,

  • Serialized data (maybe JSON)
  • Hooks