Skip to content

[question] daemon concept #413

@listvin

Description

@listvin

While caching compiled code is great,
one of the concerns I have while trying Kotlin scripting is startup time.

What's your opinion on possibility of JVM running as daemon, ready to pickup scripts on startup?
Similar in some manner to Gradle daemon.

Some properties to clarify concept:

  • start daemon when first script is started since system startup
    • limited lifetime
    • optional startup when system boots
  • dynamically load bytecode
  • one daemon per every runtime configuration
    • maybe several daemons per runtime if there are more than one script running

I believe it will give performance boost by utilizing JIT out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions