[DiscordArchive] Close o_O?
[DiscordArchive] Close o_O?
Archived author: Nix • Posted: 2023-01-25T12:40:50.130000+00:00
Original source
Close o_O?
Archived author: FiftyTifty • Posted: 2023-01-25T12:41:19.058000+00:00
Original source
Yeah. Plain Lua is absolutely slow, like 70x slower than C++. Similar performance to Python and Ruby.
Archived author: Nix • Posted: 2023-01-25T12:41:59.641000+00:00
Original source
Afaik on avg LuaJit comes out to 3x slower than cpp
Archived author: Nix • Posted: 2023-01-25T12:42:20.302000+00:00
Original source
I wouldn't call that close, perhaps the wording "closer" is fair compared to non jit lua, but not exactly the same
Archived author: FiftyTifty • Posted: 2023-01-25T12:42:42.368000+00:00
Original source
I'll see if I can find the benchmark page for it, it was pretty cool
Archived author: FiftyTifty • Posted: 2023-01-25T12:45:19.211000+00:00
Original source
This was one of them. Wasn't *quite* as pronounced as I remember, but still: https://eklausmeier.goip.de/blog/2020/05...-5-4-vs-c/
[Embed: Performance Comparison Pallene vs. Lua 5.1, 5.2, 5.3, 5.4 vs. C]
Elmar Klausmeier's Blog on Computers, Programming, and Mathematics
https://eklausmeier.goip.de/blog/2020/05...-5-4-vs-c/
Archived author: FiftyTifty • Posted: 2023-01-25T12:45:47.993000+00:00
Original source
Yeah this sounds about right.
Archived author: FiftyTifty • Posted: 2023-01-25T12:45:54.251000+00:00
Original source
But compared to plain Lua...
Archived author: Nix • Posted: 2023-01-25T12:46:18.814000+00:00
Original source
Yes compared to non jit lua, jit lua is faster indeed (By quite a bit), but I wouldn't say lua jit as a general rule is as fast or very close to cpp
Archived author: Nix • Posted: 2023-01-25T12:48:28.201000+00:00
Original source
If you like Lua related news, this is not new but super cool
https://github.com/Roblox/luau
[Embed: GitHub - Roblox/luau: A fast, small, safe, gradually typed embeddab...]
A fast, small, safe, gradually typed embeddable scripting language derived from Lua - GitHub - Roblox/luau: A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://github.com/Roblox/luau