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

Hi cool project. Congrats on finishing.

Some questions about lua:

- What dev environment do u prefer? When I looked last time I didn't really see a dedicated IDE for lua, mostly just plugins for vim/emacs.

- Did you consider lua in nginx? (Or what are you thoughts on it).

- Did you consider moonscript? (Or what are you thoughts on it)



I'm generally using Visual Studio Code for all my development. Really like it.

I chose https://github.com/yuin/gopher-lua as the Lua engine because it is Golang-based, while the Nginx Lua VM is C, unless I'm mistaken. Using gopher-lua is just easier when I'm working in a Golang project. I only have to work in a single language and dev environment for all the backend work. Makes both development and testing easier.

Moonscript I might have heard of, but I have no experience with it. I did not consider it here, and I would rarely consider any niche scripting language for a solution I want others to use. It just introduces an unnecessary barrier to adoption.




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

Search: