Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I always wonder "what happened to Lua" because it was so hot on HN when I first started reading it. Now it is rare to see anything about it. A shame really that 'product' languages like Go or Swift seem to have sucked up the oxygen it relied on. Ruby has suffered similarly but less drastically from the big elbows in terms of the HN conversation over the same time period.

I suppose that as YC has matured, there's less chance of Reddit style "Let's build it in Common Lisp" naivete and language passion making it through the selection pipeline and more social pressure toward a sound engineering tool chain...there's more optimizing around getting into YC and that influences the conversation on HN. These days "...and we're building it in Lua" is more likely to hurt social standing than help outside the context of "a side project."

Such is the price of increased stakes I guess.



>I always wonder "what happened to Lua"

It became the dominant embedded scripting language.. and still is.

Lua as a primary language was never popular, because it is not designed for that.

Lua as a primary language only makes sense for game development. Because the two other mature languages in its category (Python and Ruby) are horrible for that [1].. but better for everything else [2]. Unsurprisingly Lua is widely used in casual/mobile game development (e.g. Corona [3])

[1] Lua is more memory efficient and cache friendly and more importantly has an incremental GC + it is easy to avoid allocations in Lua.

[2] Both languages ship with much more functionality built-in + tons of libraries for everything (true for Python in particular)

[3] https://coronalabs.com/


Here's a list of (some of) the things that have 'happened' to Lua:

Torch, scientific computing for LuaJIT: http://torch.ch/

LuvIT, an event-loop driven Node-like: https://luvit.io/

Love, a 2-d game engine: https://love2d.org/

OpenResty: http://openresty.org/

eLua: http://www.eluaproject.net/

and on, and on, and on. There's never been a better time to use the language.


I only wish there was an AWS SDK - given Lua is used in the Nginx world widely, writing scripts in Lua rather than Python for DevOps makes sense.


It's a great language. Back in '06 I built a kiosk software platform on Lua. Hilariously enough I also built a REST based document store in Haskell, and we started using it probably three weeks before CouchDB came out. Weird languages are great if you're working in a field where you'll have to build everything from scratch anyway.

I wouldn't build a webapp in either of them, probably even today. The ecosystems for other languages are just too rich.


People do; CloudFlare run all their traffic through Lua for example. I know people who switched from Node to Nginx/Lua for performance. It is a tool language not a product language though in many ways.


That is what frustrates me with the name Hacker News. It really is Start Up news that fights the Hacker News side of things. I really want another alternative but I can't see something disrupting HN soon. I like lobste.rs and have invites but that has an invite only model that hasn't reached necessary mass yet.


The original name was Startup News.

Somewhere, I created a lobsters.rs account when it was first announced and before it was selective. At that time it was mostly the same stories as on HN with less conversation. I came to the conclusion that anything which broke there would wind up on HN anyway...I like the fixed-point of aggregators role that HN plays.

In fairness to HN, I don't think it is so much the startup culture per se that is driving the drift away from Lua, it's the hotness of computing and the quest for standardization...Google's list of how to become a software engineer is at the top of the page.

What I see with YC is that added features become seen as techniques...$200k worth of cloud computing credit becomes cloud computing is the solution to non-technical problems...it's like C++'s multiple inheritance - a feature looking for problems. Once the decision has been made to solve the problem with cloud computing then language choice becomes less open to aesthetic decisions. Indeed the whole business model becomes less so. The original JustinTV was about strapping a webcam to a person, thinking about cloud computing would have been an utter distraction from the basic concept. Redit was running Common Lisp on a laptop. If the cloud had been in the mix there would have been pressure to focus on infrastructure early rather than the design of the user experience. Spiking the site with fake users is consistent with the faking it implied by laptop hosting. Move it to the cloud and it seems a bit more fraudulent and less hackey.


Correct link for lobsters: https://lobste.rs/


This reminds me a lot of what happened (or didn't) to Tcl, although Lua has two major advantagen in LuaJIT and its "rocks" system, even though they probably could be exploited a bit more.

I think a general problem is the lack of a bigger standard library and access to libraries and APIs. Not needed as much if you use tcl/lua/scheme as an extension language, but pretty much essential for a stand-alone language. Note that even within the sector of new-fangled hyped languages (Rust, Go, Julia, Nim etc.), it might not be the one with the biggest library/package selection that wins -- or else we'd probably never stopped using Perl -- but it's pretty much required if you want to compete in the first place.


Unlike ruby Lua is used outside of chef recipes :) ithink in general, though, other languages fare better when solving specific problems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: