Skip to content

[SUGGESTION] Use Drip #113

Closed
Closed

Description

@NightMachinery

Using https://github.com/ninjudd/drip should make scripts significantly faster?

Activity

  1. ilanpillemer commented on Mar 26, 2018

    @ilanpillemer
    Contributor
  2. holgerbrandl commented on Mar 26, 2018

    @holgerbrandl
    Collaborator

    Indeed it seems a bit dated. Improving kscript overhead is still important. So providing some drip/nailgun/... option, would be nice.

    Not sure what the actual performance gain of drip would be. I've tried a quick hack, but since we use kotlin and not just java, it's not a simple java->drip replacement.

    For now the best path towards better perfomance is imo pr #102 which is at the top of my most-wanted kscript impros. See benchmarking results under #93.
    Once it has been merged, we're down to a single call to kotlin (from currently 3), and we could think about drip again.

  3. NightMachinery commented on Mar 26, 2018

    @NightMachinery
    Author

    @holgerbrandl Thanks! I don't understand why we need kotlin in the case of cached scripts? Isn't the cached script just a jar we can run with a single java command? Perhaps we can put the cached jar in the same directory as the script with the same name (just having an extra .jar), so the user can herself call drip on the cached jar?

  4. holgerbrandl commented on Mar 26, 2018

    @holgerbrandl
    Collaborator

    For running the jar, java would be sufficient. But changing it now, would break backwards compatibility since users may have specfied runtime options with //KOTLIN_OPTS.

    drip still seems like an interesting objects, once pr 102 has been merged. Then we just have to deal with one external tool invocation instead of 3 (as of now).

  5. holgerbrandl commented on Aug 17, 2018

    @holgerbrandl
    Collaborator

    Closed due to inactivity. Feel welcome to reopen if needed.

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