lua

Tag

Cards List
#lua

Trials and Tribulations of Native Lua Compilation

Hacker News Top ↗ · 2026-10-18 Cached

A blog post detailing the development of clx, a compiler that translates Lua 5.5 source code into C++ for native compilation, replacing the Lua VM with a purpose-built runtime for compiled native Lua code.

0 favorites 0 likes
#lua

Teal – A statically-typed dialect of Lua

Hacker News Top ↗ · 2026-10-16 Cached

Teal 是 Lua 的静态类型方言,通过类型注解扩展 Lua,支持数组、映射、记录、接口、联合类型与泛型,由 tl 编译器将 .tl 源码编译为 .lua 文件,并配有 Cyan 构建工具与编辑器插件生态。

0 favorites 0 likes
#lua

ito - build terminal ui in lua

Lobsters Hottest ↗ · 2026-10-14 Cached

ito 是一个用 Lua 构建终端 UI 的开发工具,提供了 VStack、HStack、Text 等视图组件与状态管理,并附带交互式 playground 和可交给 LLM 的文档指南。

0 favorites 0 likes
#lua

Extend Lua with Zig 1: Hello World

Lobsters Hottest ↗ · 2026-10-06 Cached

开篇教程教你用 Zig 0.17 从零开始编写 Hello World,并为后续在 Lua 中调用自定义 Zig 函数打基础,讲解了 Zig 的构建系统、@import() 编译器内置函数与 comptime 概念。

0 favorites 0 likes
#lua

LuaRocks Security Incident September 2026

Lobsters Hottest ↗ · 2026-09-27 Cached

A remote code execution vulnerability in LuaRocks.org was exploited between July and August 2026, leading to exposed user data and credentials. Users are advised to take immediate security actions such as changing passwords and revoking keys.

0 favorites 0 likes
#lua

Re: Suggestions on implementing an efficient instruction set simulator in LuaJIT2 (2011)

Lobsters Hottest ↗ · 2026-09-23 Cached

This 2011 mailing list thread discusses compiler challenges in optimizing interpreter loops and how LuaJIT2 achieves better performance through assembly-level techniques like fixed register assignment.

0 favorites 0 likes
#lua

How I Wrote a Forth (Without Knowing How)

Lobsters Hottest ↗ · 2026-09-15 Cached

The article details the author's experience writing MoonForth, a Forth programming language implementation, by leveraging Lua's C API and following JonesForth, despite not initially knowing how to build a Forth.

0 favorites 0 likes
#lua

Lua Pattern Tester

Lobsters Hottest ↗ · 2026-09-13

A developer tool for testing and validating Lua patterns, likely providing an online interface or utility for developers.

0 favorites 0 likes
#lua

Lua-async

Lobsters Hottest ↗ · 2026-09-04

Lua-async is a new library that adds asynchronous programming capabilities to the Lua language, shared on a tech news platform.

0 favorites 0 likes
#lua

Show HN: LuaCAD – Parametric CAD Scripted in Lua

Hacker News Top ↗ · 2026-08-14 Cached

LuaCAD is a scriptable CAD tool using Lua for parametric 2D and 3D modeling, built on a Rust engine with support for various export formats and CSG operations.

0 favorites 0 likes
#lua

The Lua community needs to learn to move on

Lobsters Hottest ↗ · 2026-08-04 Cached

Hisham Muhammad argues that the Lua community should stop supporting ancient versions of Lua and LuaJIT, citing the frustration of maintainers receiving decade-old bug reports. He suggests focusing on only the latest PUC-Rio Lua and LuaJIT, and mentions Teal as a tool to bridge version gaps.

0 favorites 0 likes
#lua

@ryanlpeterman: Roberto Ierusalimschy is the creator of the Lua programming language. I interviewed him about Lua's unique strengths, p…

X AI KOLs Following ↗ · 2026-08-03 Cached

Interview with Lua creator Roberto Ierusalimschy covering Lua's unique embedding-oriented design, its differences from Python, LuaJIT's workings, and predictions for AI's impact on programming languages.

0 favorites 0 likes
#lua

Setting timers in simple games (feat. the frame rule)

Lobsters Hottest ↗ · 2026-07-29 Cached

A blog post explaining a simple timer system for PICO-8 games using a single table and loop, with an aside about how similar timers in Super Mario Bros. led to the frame rule in speedrunning.

0 favorites 0 likes
#lua

log is non-monotonous in PHP and Lua

Lobsters Hottest ↗ · 2026-07-22 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
Next →
← Back to home

Submit Feedback