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.

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: 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
MicroPython officially becomes part of the Arduino ecosystem | Arduino Blog. At Arduino we like to experiment with new technologies to f...
New
CommunityNews
April 22nd is Earth Day – a powerful reminder of our shared responsibility to preserve the planet for future generations. While the call ...
New

Other popular topics Top

ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
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
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1134 25459 753
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New