gopher-lua

Open-source projects categorized as gopher-lua

gopher-lua Open-Source Projects

  • gopher-lua

    GopherLua: VM and compiler for Lua in Go

  • Project mention: Go performance from version 1.0 to 1.22 | news.ycombinator.com | 2024-04-14

    Would be neat to see graph of recent versions with linear scale

    I checked, they use switch on opcodes in vm.go. So would expect a recent improvement, but probably only <5%, & I didn't look close enough to see if awk is one of those languages where instruction dispatch matters less (like how APL tends to avoid issues since array ops avoid having dispatch in tight loops, or how Python avoids instruction dispatch overhead when using numpy)

    For VMs Go had a problem for large switch statements: it would always use binary search instead of a jump table. This caused gopher-lua & go-lua to both take the route of having an array of functions which they call on to dispatch instead

    A couple years ago this was fixed: https://go-review.googlesource.com/c/go/+/357330

    I measured a small perf improvement switching gopher-lua to switch: https://github.com/yuin/gopher-lua/pull/479

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

gopher-lua related posts

Index

Project Stars
1 gopher-lua 5,992

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com