Samuel Gammon
03/16/2025, 1:59 PM# example.py
def say_hello(name = "Python"):
return f"Hello, {name}!"
# example.ts
import py from "./sample.py"
console.log(`${py.say_hello()} + TypeScript!`)
> elide example.ts
Hello, Python + TypeScript!
Elide enables interop between languages, so once Kotlin is added, interoperability will be available for code in JavaScript, TypeScript, WASM, and Python.
We wrote Elide in Kotlin because it means we can all hack on it and enhance it together. Node is written in C++ which is very hard to contribute in. Kotlin is a far superior language, and even beats Node's performance in Elide -- Elide can run TypeScript faster than Node can run JavaScript!
Please, give us a star โญ and give the project a try! We need feedback and contributors!
https://elide.devMichael Paus
03/16/2025, 6:07 PMeyedol
03/16/2025, 6:19 PMSamuel Gammon
03/16/2025, 10:57 PMAdrien Poupard
03/17/2025, 1:46 PMAyfri
03/17/2025, 10:14 PMSamuel Gammon
03/17/2025, 11:06 PMSamuel Gammon
03/17/2025, 11:07 PMMichael Paus
03/18/2025, 7:27 AMSamuel Gammon
03/18/2025, 7:33 AMSamuel Gammon
03/18/2025, 7:33 AMSamuel Gammon
03/18/2025, 7:34 AMimport { readFileSync } from 'node:fs'
, and so on, and GraalJs does not come with any of those builtins.Samuel Gammon
03/18/2025, 7:34 AMreadFileSync
, really you are just using java.nio.*
and <http://java.io|java.io>.*
through Kotlin.Samuel Gammon
03/18/2025, 7:35 AMSamuel Gammon
03/18/2025, 7:37 AMSamuel Gammon
03/18/2025, 7:39 AMMichael Paus
03/18/2025, 7:43 AMSamuel Gammon
03/18/2025, 8:06 AMSamuel Gammon
03/18/2025, 8:06 AMSamuel Gammon
03/18/2025, 8:08 AMSamuel Gammon
03/18/2025, 8:10 AMSamuel Gammon
03/18/2025, 8:10 AM