Giter Site home page Giter Site logo

What are the goals of this project? about golua HOT 14 OPEN

azure avatar azure commented on July 19, 2024 26
What are the goals of this project?

from golua.

Comments (14)

technosophos avatar technosophos commented on July 19, 2024 93

There are several reasons:

  • We need a Lua 5.3 engine, and the others were not, nor where they interested in updating
  • The VM is designed differently (I'm encouraging Brian to write a blog post about this), but in a nutshell it is designed for better error handling and for adding a debugger
  • We wanted an implementation that was closer to the Lua spec than some of the others. We haven't totally nailed that, but we're getting closer by the day
  • We also wanted clean and idiomatic Go APIs

Before starting on this path, we had been using other Go Lua implementations for quite a while. We just finally arrived at the point where it became evident that our needs were not going to be met.

Eventually we will add more documentation to the README. We honestly didn't think people would discover (let alone use) this project the day we open-sourced it. So it's been a pleasant surprise, but one that caught us off guard.

from golua.

ajloveslily14 avatar ajloveslily14 commented on July 19, 2024 11

Well, it is Microsoft

from golua.

technosophos avatar technosophos commented on July 19, 2024 7

Right now, our priorities are full language support, ergonomic Go API, and a flexible VM. Once we feel like we've gotten those nailed, we will turn toward performance improvements. The VM does use pretty much the same stack model as the C implementation, but given that this VM is only a few months old, and the C Lua VM is ten years old, we are highly unlikely to outpace it right away.

from golua.

bacongobbler avatar bacongobbler commented on July 19, 2024 3

The project is indeed actively being developed. We intend to use this as the engine for Helm 3. Brian and a few others are working on getting the fundamentals in the engine cleaned up for general use.

We will update the README when we have more information to share :)

from golua.

shanemhansen avatar shanemhansen commented on July 19, 2024 1

Where does performance fit in your list of goals?

from golua.

artob avatar artob commented on July 19, 2024 1

Which branch do you guys recommend using? The last commit to master is from February, and to lua53-go-api from April? Is the latter something that will eventually be merged to master, or just an experiment?

from golua.

mmccormack-scwx avatar mmccormack-scwx commented on July 19, 2024 1

Hi all, any updates on the merging of the lua53-go-api branch?
Is this project still under development? We'd like to use it, but are wary of having abandoned dependencies.

from golua.

mattfarina avatar mattfarina commented on July 19, 2024

I see questions like this are coming up in other venues as well. For example, this comment sub-set on the reddit post about this lib.

from golua.

VictorLowther avatar VictorLowther commented on July 19, 2024

https://github.com/milochristiansen/lua also claims to implement a Lua 5.3 VM.

from golua.

sylus avatar sylus commented on July 19, 2024

This is very cool! ^_^ Thanks for open sourcing this project early on 😄

It took me a while to understand the direct benefits lua syntax brings. But now I get it 😅

from golua.

quasilyte avatar quasilyte commented on July 19, 2024

I wonder if this project is active and is going to be maintained.
If it's not, another notice to the README should be added.

from golua.

technosophos avatar technosophos commented on July 19, 2024

The lua53-go-api branch is the current WIP for merging over master. AFAIK, it may still have an issue with the stack. I'll have to check with @fibonacci1729 to see if that is merged on this branch yet.

from golua.

mooreatv avatar mooreatv commented on July 19, 2024

any documentation anywhere?

from golua.

technosophos avatar technosophos commented on July 19, 2024

I would suggest using Gopher Lua for the time being. We are delayed on this work as we try to finish Helm and CNAB.

from golua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.