On the desktop, DukeScript leverages the HotSpot VM to run Java code; on Google Android devices, the Dalvik VM is used; and for Apple iOS devices, RoboVM technology enables DukeScript. "The problem on iOS is you cannot do dynamic code generation, but that's exactly what RoboVM avoids," Tulach said.
For enterprise applications, DukeScript enforces a separation of concerns, using HTML for the view and Java for business logic while integrating with Java EE (Enterprise Edition) and other back ends.
Among the apps built with DukeScript are a Minesweeper game, used to demonstrate DukeScript running on any device with a responsive design, and Leaflet4j, an API for interacting within maps in an application and featuring interaction with the JavaFX rich client technology.
"We don't want to limit you to the technologies we like or support directly. It's dead simple to extend DukeScript with your own ideas," the DukeScript Web page emphasizes.