frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ulua: Pure Rust Implementation of the Luau Language with JIT and WebAssembly

https://github.com/webc-site/ulua
1•rmw-link•47m ago

Comments

rmw-link•26m ago
GitHub: https://github.com/webc-site/ulua Playground: https://webc-site.github.io/ulua crates.io: https://crates.io/crates/ulua

ulua is a pure-Rust implementation of the Luau language (Roblox's typed Lua derivative), covering the lexer, parser, bytecode compiler, register VM, garbage collector, bidirectional type inferencer, and A64/X64 native JIT code generation.

Current focus: We are actively refactoring transliteration artifacts from earlier C++ ports, eliminating raw pointers, removing warning suppressions, and shrinking unsafe boundaries. Systematic microarchitectural tuning will follow once idiomatic Rust patterns are stabilized.

In-Memory Benchmark Comparison: Tested 16 compute-heavy benchmarks in a single process on Apple Silicon (M2 Max, arm64), taking median runtimes in milliseconds (ms):

  Benchmark (ms)   ulua  Luau C++  ulua JIT  Luau JIT  LuaJIT   Lua5.4
  -----------------------------------------------------------------
  binarytrees     105.0     135.7      70.4      89.9    49.6    116.9
  coroutines       83.1     108.2      82.8     130.8    26.1    145.3
  fannkuch         33.1      28.8       7.9       7.8     3.6     22.6
  fib              83.7      92.6      35.2      34.8     8.4     74.9
  mandel           93.2      93.5      25.4      23.3    11.0     56.2
  matmul           51.8      45.8      12.2      12.5     4.3     38.3
  nbody            93.4      95.7      92.5      92.7     4.8     72.1
  spectralnorm     79.9      74.6      20.7      19.9     2.2     90.9
  tablesort        64.5      66.9      63.8      67.4   115.2    241.1
  -----------------------------------------------------------------
  GeoMean ratio    1.00      1.02      0.52      0.57    0.16     1.17
- Interpreter: ulua tracks upstream C++ Luau throughput (1.0 vs 1.02 GeoMean) and is ~17% faster than Lua 5.4. - JIT: native compilation cuts runtime by ~48% (0.52 GeoMean), matching C++ Luau JIT (0.57).

WebAssembly Playground: Without C/C++ build dependencies, ulua compiles directly to wasm32. A live browser playground is running client-side at https://webc-site.github.io/ulua

Quick example:

  use ulua::prelude::*;

  fn main() -> Result<()> {
      let lua = Lua::new();
      lua.load("print('Hello from ulua')").exec()?;

      #[cfg(feature = "jit")]
      {
          lua.enable_jit(true)?;
          let res: i64 = lua.load("local s = 0; for i = 1, 1000 do s += i end; return s").eval()?;
          assert_eq!(res, 500500);
      }
      Ok(())
  }

OPSEC in 2026: An Anatomy of Failure

https://ikerantxustegi.com/research/opsec-in-2026-an-anatomy-of-failure/
1•ikerantxustegi•1m ago•0 comments

AI Code Mirroring Monomorphic TypeScript into Zig

https://lolblob.substack.com/p/ai-code-mirroring-monomorphic-typescript
1•lerp-io•2m ago•0 comments

Design of Linkage Systems to Draw Specified Plane Curves(2017) [pdf]

https://bertini.nd.edu/wampler2017/McCarthyTalk.pdf
1•o4c•2m ago•0 comments

OpenDLSS: A Vulkan Reimplementation of Nvidia's DLSS 5 Neural Rendering Network

https://github.com/maanHimself/OpenDLSS-NR
1•sagacity•2m ago•0 comments

Two kinds of SQL query builders

https://mechanicalrabbit.github.io/FunSQL.jl/stable/two-kinds-of-sql-query-builders/#Two-Kinds-of...
1•fanf2•4m ago•0 comments

Ask HN: Has there been a "software crisis" since the 60s?

1•boxesnlines•6m ago•0 comments

Hookbin – a disposable webhook and request inspector

https://hookbin.sebastiaan-ba3.workers.dev
1•doormatcapital•15m ago•0 comments

Urbanloop – Green Transport – Smart Sustainable Mobility

https://urbanloop.fr/en/
1•ZeljkoS•16m ago•0 comments

Pentagon Influencer Called Liberal Women 'Pestilence' Who Will End Civilization

https://www.wired.com/story/a-pentagon-influencer-called-liberal-women-a-pestilence-who-will-end-...
2•rbanffy•22m ago•1 comments

A chiral aperiodic monotile with Fibonacci monodromy [pdf]

https://pingyou.com/papers/fibonacci-monotile.pdf
1•jjbowan•24m ago•0 comments

Show HN: HairColorChangeAI – AI hair color try-on in the browser

https://haircolorchangeai.com/
1•StephenDong7•24m ago•0 comments

Engineering calculators for electronics, geometry and code

https://www.pockeng.com/
1•levario•32m ago•0 comments

I Outsource My Biggest Decisions to a Chatbot – and None of the Small Ones

https://laurenleek.substack.com/p/why-i-outsource-my-biggest-decisions
1•temp7000•32m ago•1 comments

AAPR: Absolute-Address Partial Residency

https://zenodo.org/records/22190281
1•NegativeAbsence•32m ago•0 comments

What von der Leyen left out of her Congress of Europe pitch

https://www.ftm.eu/newsletters/what-von-der-leyen-left-out-of-her-congress-of-europe-pitch
2•robtherobber•33m ago•0 comments

Preparing your website or app for Black Friday

https://medium.com/@therealcomtom/preparing-your-website-or-app-for-black-friday-ee0b798d7bfc
1•comtom•37m ago•0 comments

Practical Secrets Extraction Against Black-Box LLMs

https://arxiv.org/abs/2609.36941
1•sbulaev•39m ago•0 comments

Software Engineering After Code

https://pooyam.dev/software-engineering-after-code
1•py4•39m ago•0 comments

How to Manage a Team of AI Agents at Month-End

https://adaptiveinc.com/blog/01a0d880/how-to-manage-a-team-of-ai-agents-at-month-end
1•fyying•40m ago•0 comments

I ran a 397B-parameter model on 20 GPUs with 16 GB each

https://diljitpr.net/blog-post-2026-09-30-running-397b-model-on-20-gpus-peer-to-peer.html
2•diljitr•41m ago•0 comments

The death of web development education

https://molily.de/web-dev-education/
1•roosgit•45m ago•0 comments

Ulua: Pure Rust Implementation of the Luau Language with JIT and WebAssembly

https://github.com/webc-site/ulua
1•rmw-link•47m ago•1 comments

Meaning Ops: Seven Verbs for Working on Meaning with a Language Model

https://utopai.substack.com/p/meaning-ops
1•cyberneticc•51m ago•1 comments

How to Future-Proof Your Career in the Age of AI

https://www.noemamag.com/why-a-liberal-arts-education-will-soon-be-more-valuable-than-ever/
2•plastic-enjoyer•51m ago•0 comments

Show HN: Built agent orchestration system, Director->{workers }

https://github.com/mastaan66/foreman
1•mastaansk•53m ago•0 comments

Show HN: I made Jev to talk

https://github.com/zie1ony/jev-talks
2•zie1ony•53m ago•0 comments

Show HN: Melete – an open-source alternative to OpenAI's Dots

https://github.com/ychampion/melete
1•yashasgunderia•55m ago•0 comments

Eleven v4 and Eleven v4 Turbo released

https://twitter.com/ElevenLabs/status/2104572127617994917
1•soltanov•55m ago•0 comments

Zero-Growth Stack, Real Gains: How Stack Allocation Can Save 10% CPU in Go

https://www.uber.com/in/en/blog/zero-growth-stack/
1•birdculture•55m ago•0 comments

How to Make Money from OpenAI DevDay 2026

https://aiextracash.com/tools/chatgpt/openai-devday-2026-money-opportunities/
1•RealLeon•58m ago•0 comments