lua

Tag

Cards List
#lua

log is non-monotonous in PHP and Lua

Lobsters Hottest · yesterday Cached

PHP and Lua's log function can produce non-monotonic results due to using different algorithms for base 10 (log10) and other bases (ln), leading to counterintuitive behavior where a larger base yields a larger logarithm.

0 favorites 0 likes
#lua

Optimizing Lua string literals to save 400 bytes

Hacker News Top · 2026-07-13 Cached

A technical blog post exploring methods to reduce Lua string literal sizes by choosing optimal representations (quoted vs raw strings) in the context of ComputerCraft programs, achieving a 400-byte saving.

0 favorites 0 likes
#lua

Show HN: Clx – Compile Lua to Native Executables Through C++20

Hacker News Top · 2026-07-11 Cached

Clx is a cross-platform ahead-of-time Lua compiler that generates standalone native executables using C++20 toolchains, offering competitive performance, small binaries, and compatibility with Lua 5.5.

0 favorites 0 likes
#lua

two case studies of NaN

Lobsters Hottest · 2026-07-09 Cached

This article explores two unexpected behaviors of NaN in Python and Lua, where implicit assumptions about equality and comparison lead to surprising results like Python's list equality ignoring NaN's self-inequality and Lua's for-loops mishandling NaN as step or limit.

0 favorites 0 likes
#lua

Show HN: A statically typed, cross-platform, easily bootstrappable build system

Hacker News Top · 2026-06-30 Cached

BUSY is a lean, statically typed, cross-platform build system for GCC, Clang, and MSVC toolchains, designed for easy bootstrapping and minimal dependencies.

0 favorites 0 likes
#lua

LuaJIT 3.0 proposed syntax extensions

Hacker News Top · 2026-06-25 Cached

LuaJIT 3.0 proposed syntax extensions have been announced, bringing potential new features to the LuaJIT just-in-time compiler for Lua.

0 favorites 0 likes
#lua

luau-wasm 0.1a0

Simon Willison's Blog · 2026-06-13 Cached

luau-wasm 0.1a0, a WebAssembly build of the Luau scripting language, has been released.

0 favorites 0 likes
#lua

Lunacy - Lua 5.1 interpreter with Lazy Basic Block Versioning and JIT

Lobsters Hottest · 2026-05-29 Cached

Lunacy is a Lua 5.1 interpreter written in Rust, implementing Lazy Basic Block Versioning and a Just-in-Time compiler, as detailed in a technical blog post.

0 favorites 0 likes
#lua

Lua as a practical "soft-bedrock" language

Lobsters Hottest · 2026-05-13 Cached

The article discusses Lua as a practical 'soft-bedrock' language, exploring its role in software development.

0 favorites 0 likes
#lua

Tiny-Lua-Compiler: Possibly the smallest Lua compiler ever

Lobsters Hottest · 2026-05-10 Cached

Tiny-Lua-Compiler is an educational, self-hosting Lua 5.1 compiler and VM written in pure Lua, designed to be small enough to study but complete enough to handle real language features.

0 favorites 0 likes
← Back to home

Submit Feedback