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
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
GitHub - rxi/lite: A lightweight text editor written in Lua. A lightweight text editor written in Lua. Contribute to rxi/lite developmen...
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

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
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
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New