Live data from Hacker News

Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

moonstone.sh

21–26 of 26 posts

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#21
post #16

Earlier quoted context omitted.

I don't get, how you found that out, as HN does not show post upvote? Checking his profile multiple times for the total score and compare when a post was made?

Browser extension: Hacker News Enhancement Suite

I just installed that extension and it doesn't show the actual number of votes.

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#22

Earlier quoted context omitted.

Browser extension: Hacker News Enhancement Suite

I just installed that extension and it doesn't show the actual number of votes.

Weird, I see yellowapple (1).

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#23
post #15

Earlier quoted context omitted.

I don't get how every post you make gets exactly 8 upvotes immediately. In every, single, new comment. (I don't really care, I just noticed it now. I honestly enjoy many of your comments.)

Lucky vibes.

Click. Couldn't resist your lucky charm, pjmlp (9).

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#24

What is the current state of the art lua toolchain? Lua is king for dsl embedded in other software. Used it for world of warcraft scripting and openresty http rules, that’s a wide range.

Good question. I’d say the Lua toolchain is still fragmented rather than having one obvious “state of the art.”, the one that got closest to that is Lux. The established center is still LuaRocks for packages. Around it, people use different layers depending on the ecosystem: OpenResty has its own runtime/server world, as we know Neovim has its plugin conventions, games often use LÖVE, embedded apps usually vendor or…

Lua has a fragmentation issue, but it is also a feature not a bug.

You can embed the Lua VM in anything. That's one thing.

You can use it as a systems tool, installed by your distro, available like any other scripting language - for this, you will find it fragment'y and weird, unless you do things 'sensibly', ignore the distro, and build your ~/.local/lua5[1,3,jit]/ directory, yourself, with luarocks - note, I have done this successfully many times, all the way to distributable .deb, so I am biased - but this is a 'hidden' way to do Lua.

And then of course there are the frameworks and engines - folks who have put the LuaVM and all its glory into their own products and opened the REPL/.lua filesystem for business.

All of this is to say there is no one 'standard' Lua approach - you will find it in various forms. A lot of times, Lua is treated as an 'also-ran'/bastard-child' in distro policies, mostly because - I assume - the reasoning is that folks who are serious about Lua will get it onboard/compile it locally/use the engine, themselves.

    $ luarocks-5.3 --local install turbolua   # the way I've stayed 'sane', personally ..

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#25

Earlier quoted context omitted.

I just installed that extension and it doesn't show the actual number of votes.

Weird, I see yellowapple (1).

Huh. Are we using different versions, then? I'm using the one on addons.mozilla.org.

EDIT: I'm now seeing some numbers by usernames; I think that's just how many times you've upvoted that user's posts/comments, not the total upvotes on that particular comment.

Re: Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

#26

Earlier quoted context omitted.

Weird, I see yellowapple (1).

Huh. Are we using different versions, then? I'm using the one on addons.mozilla.org. EDIT: I'm now seeing some numbers by usernames; I think that's just how many times you've upvoted that user's posts/comments, not the total upvotes on that particular comment.

So likely a missunderstanding alltogether.

(The person above was upvoted 8 times by the one below)

Post reply on HN