Hacker News new | ask | show | jobs
by creolabs 2053 days ago
Hi all, the author here.

I wanted to create a programming language with the following properties:

- Class-based

- A JS/Swift/Kotlin like syntax

- Bytecode generation

- A clear distinction between front-end and back-end so at runtime, we need only the VM related code to execute the bytecode

- Lightweight and easy embeddable

- Extensible/customizable via bridge API(s) exposed via delegation (no need to hack/modify the code)

1 comments

I'm in a situation where I need to embed a scripting language in a Swift codebase and had decided for Wren very recently since some form of coroutines are a necessity for me. I understand Gravity also has Fibers.

Would you recommend me to investigate Gravity further?

It's a bit unclear what I would get from Gravity that I don't have in Wren. Maybe a slight different syntax?