lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




Andrew Starks

From: lua-l-bounces@lists.lua.org on behalf of Russell Haley <russ.haley@gmail.com>
Sent: Wednesday, May 1, 2019 00:25
To: Lua mailing list
Subject: Re: REST Stack for Embedded Device
 


On Tue, Apr 30, 2019 at 7:31 PM Andrew Starks <andrew@starksfam.org> wrote:
Hello All,

At work, we are selecting a Lua environment to run on our embedded ARM 7 device. We have limited memory and we want to keep the footprint small, hence Lua in the first place. Our requirements include:

* Lua 5.3 preferred because of the need to work with INT64
* TCP-IP Sockets
* HTTP/S, HLS/TLS
* WebSockets
* DNS / mDNS
* REST Plumbing
* Nice async / concurrency behavior
* Integrates well with main loops
* Works on Windows a nice plus
* Capitalist friendly licensing

My current interest is in lua-http with cqueues, but we aren't sure about compatible REST frameworks and which one the cool kids are using. Any recommendations?

Luvit would be a great option, except that it only works with LuaJIT. We're wary of the daunting task of compiling LuaJIT on this platform and we will miss native 64Bit integers. Our team is familiar with Node.js, hence the appeal.

Here's another question that hasn't been asked or answered: Are you going to need an authentication scheme? Node.js has passport that has modules for every authentication model you can think of. lua-http doesn't have anything built in that I'm aware of. 

———

AS: yes. I do need authentication. OAuth is preferred, but there is fuzziness on version. A well curated variety of options is a plus.  

- Andrew