ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#lua

9 posts9 participants0 posts today

🌕 茴香 – 為什麼選擇茴香?
➤ 茴香:Lua 的優雅升級
fennel-lang.org/rationale
茴香 (Fennel) 是一種在 Lua 執行環境上運行的程式語言。它旨在克服 Lua 的一些缺點,同時利用 Lua 的優點,例如其簡潔性、速度和可嵌入性。茴香採用 Lisp 風格的語法,移除了 Lua 中容易出錯的部分,例如意外使用全域變數和優先順序運算子的模糊性,並加入了資料結構解構和模式比對等現代特性。總體而言,茴香是一個更安全、更清晰、更具現代感的 Lua 替代方案,能更好地發揮 Lua 的潛力。
+ 聽起來像是個很棒的語言!我一直覺得 Lua 雖然功能強大,但有些地方設計得不太直觀。
+ Lisp 語法可能對某些人來說有學習曲線,但如果它能避免 Lua 的一些常見陷阱,那還是值得的。
#程式語言 #Lua #Fennel #Lisp

fennel-lang.orgFennel – Why Fennel?

🌘 Lux – Lua 的豪華套件管理器
➤ 為 Lua 打造現代化的生態系統
mrcjkb.dev/posts/2025-04-07-lu
Lux 是一個全新的 Lua 套件管理器,旨在為 Lua 提供一個更現代、更高效的開發生態系統。它提供並行構建、鎖定檔支持、SemVer 規範、與 Neovim 和 Nix 的整合,並簡化了依賴項的管理。Lux 旨在解決 Luarocks 的一些長期問題,例如可移植性、依賴項衝突和緩慢的安裝速度,尤其是在 Neovim 的插件管理方面。團隊目前正在積極修復錯誤並改進錯誤訊息,並計畫將 Lux 整合到 rocks.nvim 中。
+ 「Luarocks 真的有點老舊了,這款 Lux 聽起來很棒,希望能提升 Lua 開發效率!」
+ 「身為 Neovim 用戶,我很期待 Lux 整合到 rocks.nvim 中,如果能解決插件安裝速度的問題,那就太好了!」
#開發工具 #Lua #套件管理器

mrcjkb.devmrcjkb.dev - Announcing Lux - a luxurious package manager for Lua

🎩✨Oh, joy! Another "luxurious" #package #manager for #Lua. Because, obviously, what Lua really needed was a glorified #cargo #cosplay to solve the earth-shattering problem of... #wrong headers? 😆 Imagine the screams of excitement from the, what, 12 people who noticed!
mrcjkb.dev/posts/2025-04-07-lu #Luxurious #Headers #Developer #Humor #HackerNews #ngated

mrcjkb.devmrcjkb.dev - Announcing Lux - a luxurious package manager for Lua