luajit-libuv

Languages and libraries

lua library bindings

SHOW HN2014

101points
35comments
#270of 2,272 in 2014
Top 12%of 2014 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 10 neutral or asking, 0 mixed, 3 critical, out of 14 comments about the project. Thread score -0.09.

Execution: 0 for, 2 againstIdea: 1 for, 0 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Coroutine-based design is elegant and simpler than callbacks

    From 2 comments
    • In addition to what benjaminva said, luv uses callbacks (like Node.js), whereas this uses coroutines. So for example with luv you might do something like: ```…
      pguillory on HN
    • I've been a serious Lua coder for 4 years now, and I have to say that I agree with you about the diaspora factor - Lua users aren't loud, they just get on with using this…
      fit2rule on HN

Objections

  • Only builds on Linux and OS X; Windows port unclear

    From 3 comments
    • I work on a C/C++/Lua server stack, so this is right up my alley. But as a MSVC native I'd have to spend hours trying to decipher your Makefile to port it to Windows before I…
      hoelle on HN
    • It is written for Linux, changing the Makefile is not going to change this.
      justincormack on HN
    • I've only tried building it on OS X and Linux so far. As far as I know, basically everything but the build process is compatible with Windows. I'll look into it when I get a…
      pguillory on HN
  • Performance not yet competitive with nginx/OpenResty

    From 1 comment
    • This would get toasted by Nginx right now. I'm on step 2 of "make it work, make it right, make it fast." There's a lot of low hanging fruit, like string concatenation, small…
      pguillory on HN
  • Lacks SSL/HTTPS support

    From 1 comment
    • I've implemented pure LuaJIT servers (without libuv) which compare favorably to nginx in terms of latency and performance. But you should consider whether or not you will need…
      davidhollander on HN

Requests

  • Show synchronous syntax promised in docs

    From 1 comment
    • Where is the promised "synchronous syntax"? The first example show an ordinary async call with a callback.
      alco on HN
  • Windows support

    From 1 comment
    • I work on a C/C++/Lua server stack, so this is right up my alley. But as a MSVC native I'd have to spend hours trying to decipher your Makefile to port it to Windows before I…
      hoelle on HN

Questions

  • How does it compare to luv's ray branch and its scheduler

    From 1 comment
    • In your "See Also", you missed my favorite UV+Lua combination: https://github.com/richardhundt/luv/tree/ray (note the branch). It too uses the Lua coroutines but has a…
      kodablah on HN
  • How does it perform against OpenResty

    From 1 comment
    • I've used openresty compiled with LuaJIT (nginx+LuaJIT) for some low latency high scale services in the past. I wonder would this make it so I could ditch nginx and go pure…
      kator on HN

Alternatives named

  • luv (luvit)

    From 1 comment
    • How is this different from https://github.com/luvit/luv (part of http://luvit.io/)?
      curun1r on HN
  • OpenResty

    From 1 comment
    • I've used openresty compiled with LuaJIT (nginx+LuaJIT) for some low latency high scale services in the past. I wonder would this make it so I could ditch nginx and go pure…
      kator on HN
  • shine

    From 1 comment
    • Thanks for pointing that out. I was going to ask why it appears to have stalled a year ago, but I guess the author got distracted by something shiny:…
      justinmk on HN
  • turbolua

    From 1 comment
    • There's http://turbolua.org/ that's inspired by Tornado.
      pygy_ on HN
  • luaffi

    From 1 comment
    • It's built on the LuaJIT FFI, which regular Lua doesn't have. There's an implementation of the LuaJIT FFI's API for regular Lua (https://github.com/jmckaskill/luaffi), but the…
      plorkyeran on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/8239113)