Skip to content

Reimplement kscript in kotlin #36

Closed

Description

@holgerbrandl

2 Problems would need to be solved

  1. How to overcome JVM startup delay? Either by using kotlin-native or by using a virtualizaiton model such as avian (see https://github.com/ReadyTalk/avian and https://blog.plan99.net/kotlin-native-310ffac94af2)
  2. How to mimic process substitution? Currently by using exec we replace the kscript process with the actual jvm process at the end is really nice. Not sure how to do this from within the JVM.

Alternatively we could also reimplement in Go-lang

By rewriting it in Kotlin we pay with 120ms per launch but we gain a lot of stability, cleaner code and portablity.

Activity

  1. holgerbrandl commented on Oct 20, 2017

    @holgerbrandl
    CollaboratorAuthor

    Fixed with v2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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