CommunityNews

CommunityNews

Using Zig to Build Native Lua Scripts

Using Zig to Build Native Lua Scripts.
Using Zig to Cross compile a Lua script for multiple arches

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Most Liked

OvermindDL1

OvermindDL1

…I was hoping for something to build “native” lua scripts, but there was not. I’m guessing the word “native” meant something different here than the traditional “system native” machine code but I’m unsure what it meant… All this was was just instancing a lua interpreter and running it, there was no building something native other than normal interpreter stuff?

ShowMeBillyJo

ShowMeBillyJo

I agree. I expected this to compile/link a lua script to native, executable bytecode. Alternatively, provide a locally installable runtime + file association that would let someone execute the scripts directly from a shell on the fly, like double-clicking JS and VBS files on Windows.

Where Next?

Popular Embedded topics Top

First poster: bot
Lua is one of my favourite programming languages. I’ve used it to build a CMS for my old educational website, for creating cool IoT hardw...
New
First poster: bot
From init.vim to init.lua - a crash course. 5 minutes crash course on moving from init.vim to init.lua and unleashing the power of Neov...
New
First poster: OvermindDL1
I have come across several detailed lists that mention good and not-so-good parts of Lua (for example, Lua benefits, why Lua, why Lua is ...
New
First poster: OvermindDL1
Using Zig to Build Native Lua Scripts. Using Zig to Cross compile a Lua script for multiple arches
New
First poster: bot
Fengari (Moon in greek) is the Lua VM written in JavaScript. It uses JavaScript’s garbage collector so that interoperability with the DOM...
New
First poster: bot
GitHub - IBM/MicroscoPy: An open-source, motorized, and modular microscope built using LEGO bricks, Arduino, Raspberry Pi and 3D printing...
New
First poster: bot
Print an Arduino-Powered Color Mechanical Television. Anyone with a 3D printer can make a new twist on the oldest type of TV
New
First poster: bot
A self-contained AVR programmer using an Arduino Uno. For a project I need to be able to program an ATtiny84 microcontroller but I don’t...
New
First poster: bot
Introducing multitasking to Arduino | Arduino Blog. With the increased capabilities of Arduino and other microcontroller boards, includi...
New
First poster: bot
GitHub - rxi/lite: A lightweight text editor written in Lua. A lightweight text editor written in Lua. Contribute to rxi/lite developmen...
New

Other popular topics Top

DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New