News for hackers. Stuff that matters.
Re:DRY is an over-rated programming principle? by WorldMaker on Thursday July 07, 2022 @03:59PM (#32018593)
Option 1 applies to mobile frontends, too. In Swift you can always call JavaScriptCore to run a script. Android can use system-wide V8 or even bundle a smaller interpreter for JS.

(In fact, JS is the only "universal" scripting language in mobile due to Apple's fun restrictions that JavaScriptCore is the only JIT engine allowed on iOS. It really is the strongest option today for language to write things in if they absolutely need to be shared across all possible operating environments.)

There are no comments on this comment yet.