GopherLua is a Lua5.1(+ goto statement in Lua5.2) VM and compiler written in Go. GopherLua has the same goal as Lua: To be a scripting language with extensible semantics. It provides Go APIs that allow you to easily embed a scripting language to your Go host programs. The stack-based API like the one used in the original Lua implementation will cause a performance improvement in GopherLua (It will reduce memory allocations and concrete type <-> interface conversions). GopherLua API is not a stack-based API. GopherLua gives preference to user-friendliness over performance. GopherLua APIs perform in much the same way as Lua, but the stack is used only for passing arguments and receiving returned values.

Features

  • GopherLua is not fast but not too slow, I think
  • GopherLua has almost equivalent ( or little bit better ) performance as Python3 on micro benchmarks
  • GopherLua supports >= Go1.9
  • GopherLua supports channel operations
  • All data in a GopherLua program is an LValue
  • You can test an object type in Go way

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow GopherLua

GopherLua Web Site

Other Useful Business Software
MicroStation by Bentley Systems is the trusted computer-aided design (CAD) software built specifically for infrastructure design. Icon
MicroStation by Bentley Systems is the trusted computer-aided design (CAD) software built specifically for infrastructure design.

Microstation enables architects, engineers, and designers to create precise 2D and 3D drawings that bring complex projects to life.

MicroStation is the only computer-aided design software for infrastructure design, helping architects and engineers like you bring their vision to life, present their designs to their clients, and deliver their projects to the community.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GopherLua!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-09