Comments (3)
I don't think WAVM is an interesting target for us. We don't implement a JIT right now, the language is completely different, etc.
Benchmark results also depend on a compiler, for us clang vs MSVC vs gcc can result in different performance, something like LuaJIT is a more stable target because all time-critical portions there are implemented in assembly. Posting benchmark comparisons with different languages is hard! Translating languages precisely can be difficult.
In general performance documentation is provided as an illustration of techniques we had to use to improve performance. Luau doesn't claim to be superior to any given implementation or language, short of vanilla Lua where we can confidently say we're much faster than any other vanilla version. LuaJIT, especially in JIT mode, is faster than Luau at this point.
As for garbage collectors, it's difficult to explain this as well! Many garbage collectors in other languages aren't incremental, but some are generational or concurrent. At some point we will probably write a separate document on garbage collection, but we're too early in the process to describe all tradeoffs well - we have current and planned work to improve garbage collection throughput.
from luau.
I'm going to close this for now, since I don't think there's any specific actionable items for us to take today, and we already have plans to keep expanding our performance documentation as more changes land or solidify. Please feel free to ask specific questions in discussion forum!
from luau.
I'd slightly adjust the goal of this issue and ask for showing non-rigorous benchmarks simply by adding Luau to https://github.com/kostya/benchmarks (which is an attempt to side-step the benchmarking issues one would need to solve in rigorous benchmarks; it's also developed & maintained for years already unlike most other benchmarks).
@zeux does this sound actionable?
from luau.
Related Issues (20)
- What to do with Autocomplete? I wanted to ask it here, it gets seen more I believe HOT 4
- Annotate function with inferred types HOT 7
- setmetatable isn't inferring correct return type with generics HOT 1
- "Late definitions" - define members AFTER asserting type HOT 3
- Build a shared library and install headers HOT 1
- This module breaks type checking and crashes studio HOT 2
- Add support for generic table indexers HOT 5
- Track the local binding that a prefixed type reference is linked to
- Weird behaviour with a slot created by `lua_createtable()` being treated like it does not even exist. HOT 1
- Introduce a stable sorting method for `table` HOT 1
- The engine penalizes for annotating `typeof` type, but not for creating it. HOT 3
- BytecodeDistributionPerFunctionTest crashes HOT 2
- Remove the limitation that prevents type casting for named functions HOT 3
- Build releases for M1 via GitHub Actions
- Unable to create a class instance type from the instance table being a union type HOT 2
- Record type locations for definition files types (AstDeclaredClassProp and AstStatDeclareFunction)
- Table passed across modules flagged by type checker for missing optional property HOT 3
- luau-analyze should support loading in type definition files through a command line switch HOT 5
- Intersection types cant be used properly as parameters in other functions HOT 1
- Any remote debugger for luau?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luau.