luvit icon indicating copy to clipboard operation
luvit copied to clipboard

Lua + libUV + jIT = pure awesomesauce

Results 100 luvit issues
Sort by recently updated
recently updated
newest added

Working off the blog at https://luvit.io/blog/pure-luv.html, and the examples/ under luv, I seem to have a working prototype of a CLI with embedded http server. For this, I've used the...

question

`ClientRequest` uses `done` to finish up the stream, where `ServerResponse` uses `finish`. Should these be consistent?

api

Running a luvi app that layers on top of luvit (version 1.12.1) using `fs.createReadStream()` fails: ``` # luvi --version luvi version: v2.7.5 zlib version: 1.2.11 rex version: 8.40 2017-01-11 libuv...

bug

I'm having trouble with relative requires from within a thread. Maybe I don't know enough about how luvit's require sets up the cwd. This is tested on Windows. ```lua local...

require

Along lines of steps in https://luvit.io/blog/pure-luv.html, lit install thread, and attempt to use thread results in "module 'luvi' not found". stack traceback: [C]: in function 'require' /tmp/deps/thread.lua:33: in main chunk...

bug
require

Going through luvit with luaparse and found some unused values: [`position` in readline.lua](https://github.com/luvit/luvit/blob/master/deps/readline.lua#L95) [`href` in url.lua](https://github.com/luvit/luvit/blob/master/deps/url.lua#L68) [`i` in tls/common.lua](https://github.com/luvit/luvit/blob/master/deps/tls/common.lua#L310) Should these be used or removed?

api

As below show, os.execute in luvit not work same with os.execute in lua/luajit. I want to know the reason, are libuv change console mechanism? ## luvit ``` luvit zhaozg@zhaozgdeMacBook-Pro ...

bug

This should be possible using `debug.getinfo(2, "S").source` from inside the searcher to get the caller's path. This was the missing piece before.

require

> [11:40:20] Here's an easy repro case for the luvit require problem I'm running into... > [11:40:34] git clone https://github.com/sctb/lumen > [11:40:37] cd lumen > [11:40:46] LUMEN_HOST=luvit bin/lumen > [11:41:17]...

require

It would be great if Luvit would implement [`http.Agent`](https://nodejs.org/api/http.html#http_class_http_agent).

features