objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
157 stars 11 forks source link

Implementing other languages for the Objeck VM? #373

Closed ghost closed 1 year ago

ghost commented 1 year ago

Discussed in https://github.com/objeck/objeck-lang/discussions/368

Originally posted by **iahung2** September 24, 2023 This doesn't mean you need to abandon the Objeck language. Java is still the main language of the JVM. What do you think about it? I know you have tried your best, but it seems people are not interested in the Objeck language. It could be about the syntax, the standard library, or simply a lack of marketing. We both don't know why. IMO, the Objeck VM has very good performance. The idea of leveraging it to run other languages comes to mind very naturally. Perhaps doing so would gain you more users. You could start by implementing an existing language that is simple enough to implement. Maybe Lua, Wren, or even a BASIC dialect. What do you think about it?

LuaJIT is a JIT compiler for Lua. LuaJIT is currently the fastest Lua runtime. Imagine if there is an implementation of Lua that compiles to Objeck bytecode. I think it will be even faster than LuaJIT!