Settings

Theme

Show HN: Tsuki – Lua 5.4 ported to Rust

github.com

3 points by ultimaweapon 7 months ago · 0 comments · 1 min read

Reader

Tsuki is a port of Lua 5.4 to Rust via C2Rust. I started working on this because I was tried to build a Lua bindings with overhead less than mlua and found out the approach I use is unsound due to Drop implementation on Rust is not guarantee to run. I can't find a solution for this so I decided to try C2Rust on Lua to see if it works. Turnout everything working as expected so I start to refactor the transpiled code to make it idiomatic to Rust.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection