DEV Community

Cover image for I got tired of waiting for Gradle, so I built a runtime that runs Kotlin like Python.
Srikar Sunchu
Srikar Sunchu

Posted on

I got tired of waiting for Gradle, so I built a runtime that runs Kotlin like Python.

I hit ./gradlew run and alt-tab to Discord. By the time I tab back, it's still resolving dependencies. This is a script. It's 40 lines.

So I helped build something that doesn't make me wait. Elide.

What is Elide?

Elide is a runtime. Like Node. Like Python. You install it, you run code.

curl -sSL elide.sh | bash
Enter fullscreen mode Exit fullscreen mode

But here's the thing: it doesn't just run one language.

elide run app.kt      # Kotlin, no Gradle
elide run server.ts   # TypeScript, no build step
elide run script.py   # Python, faster than CPython
Enter fullscreen mode Exit fullscreen mode

One binary. One toolchain. Multiple languages.

Why this matters

Most teams aren't single-language. You've got TypeScript on the frontend, Python for ML scripts, maybe Kotlin or Java somewhere in the backend. That's three runtimes, three package managers, three sets of problems.

Elide is one runtime that speaks all of them. Install dependencies from npm and Maven in the same project. Run tests across languages with one command. No context switching.

How it works

Elide is built on GraalVM. The same compiler optimizes across languages-JavaScript, Python, Kotlin. No serialization when crossing language boundaries. All in one engine.

What you can do today

  • elide run — run code in any supported language
  • elide test — run tests with built-in coverage
  • elide install — fetch from npm or Maven
  • elide serve — spin up a fast polyglot server
  • Drop-in Gradle plugin for existing Java/Kotlin projects

Try it

Elide is in beta.

curl -sSL elide.sh | bash
Enter fullscreen mode Exit fullscreen mode

We're on Discord if you want to talk, report bugs, or tell us what we're missing.
Here's our Github- if you've read this far, leave us a star :)

Top comments (1)

Collapse
 
baasilali profile image
Baasil Ali

This is so sick!