This is reasonable for a #Lua package searcher, no?
This is reasonable for a #Lua package searcher, no?
How to create a floating terminal in #Neovim with a couple of lines in #Lua
#blog #fediverse #mastodon #vim #terminal #editor
#100DaysToOffload : 077/100
Very cool recent video by #GaryExplains about doing an '80s #demoscene-ish demo using #Lua and #Löve2D
https://inv.nadeko.net/watch?v=qu0REmWuLvA
I think I want to try this out!
Why Lua Beats MicroPython for Serious Embedded Devs
「 Lua isn’t just compatible with embedded systems; the Lua ANSI C library was designed for them. Its architecture is clean, compact, and deterministic.
MicroPython, on the other hand, is a reimplementation of Python 3. It works well for many embedded use cases, but it inherits assumptions from a desktop-oriented language 」
https://www.embedded.com/why-lua-beats-micropython-for-serious-embedded-devs
Getting started with iocaine is now online.
From nothing to running iocaine + Caddy with ai.robots.txt
's robots.json
and a few metrics as a starting point.
Contains #Roto, #Lua, and #Fennel - and a few tests too, for each.
Share of programming languages used by #GTK3 / #GTK4 applications (2025-07-12):
28% #Python
21% #Rust
20% #Vala
17% #C
06% #C++ #Cplusplus
06% #gjs #Javascript #Typescript
03% Other: #Csharp #Go #Lua #Haskell #Swift #Crystal #Swift #D #Perl
65% use GTK4 (90% of them use #libadwaita), while still 35% use GTK3
Method: Source [1] lists 620 awesome #gtk (3/4) #opensource applications and their #programminglanguage
[1] https://github.com/valpackett/awesome-gtk
@ngons Yeah, it is an absolutely fantastic update that opens so many doors.
Also Redux as a VST3 having these things built in and Midi Out makes it so much more powerful.
Yay!
Have been playing with it all day yesterday...
The @ardour #Lua scripting workshop at #LAC25 #INSA #Lyon has just started. And I am curious to learn how to extend the functionalities of this great free and #OpenSource #DAW in a programmatically way in #realtime.
As @lualang is #CrossPlatform like #Ardour is, you can draft your script on a Windows machine at work and refine it on your #Linux computer later at home, for example.
Let's see how we can automate tasks in Ardour sessions, which otherwise would require another person operating #plugin parameters, session properties, #routing, etc. interactively.
Ok, dispatch is in, some quick benchmarks, using a script that does nothing but return Outcome::NotForUs
:
So #Roto wins over #Lua by a sizeable margin here, even with luau-jit
(which, iirc, is supposed to be the fastest).
However, #Lua is fast enough. I'm willing to trade some performance for user convenience, and Lua is at a spot where the performance drop, while noticable, is within acceptable limits, and is offset by the convenience of the language.
In a number of ways, #Lua is going to be a better fit than #Roto: it's a far better known language, and a whole bunch of things are easier to do in Lua.
Do I regret going with #Roto first? Absolutely not. I like Roto's syntax better, and prefer its minimalism over Lua. From what I remember about my prior benchmarks, Roto is also significantly faster. But I'll do some side-by-side comparisons once the Lua support is in a better place, and once I can actually choose which one to use.
Right now I just made a struct that implements the same functions as MeansOfProduction
, and replaced Roto with Lua. That is obviously not how it will work down the road.
Last night I started to wonder: what if I embedded #Lua in #iocaine?
So today I'm going to do that. A first, exploratory hack is compiling now, so I can benchmark it. It doesn't load any external files yet, it's a hardcoded return false
.
Compact Representations for Arrays in Lua (PDF viewer) https://lobste.rs/s/4t1p6g #lua
https://sol.sbc.org.br/index.php/sblp/article/view/30252/30059
I'm thinking of developing a new course or workshop in the fall.. would any of these interest you?
Okay, my code might be genuinely cursed. I had a function I wrote but wasn't using anymore, but removing it caused the project to lag immensely. I simplified it to a single loop that calls a math function. Not looping or looping fewer times drops the FPS from 120 to 30. What's going on? #love2d #lua
Xmake v3.0 released, Improve c++ modules and jobgraph support https://lobste.rs/s/fefns1 #c #c++ #lua #programming #release
https://github.com/xmake-io/xmake/releases/tag/v3.0.0