Hacker GitHub

← All repos

justincormack/ljsyscall

View on GitHub ↗ ★ 454 Lua

LuaJIT Unix syscall FFI

22 mentions on Hacker News by 6 people: 1 story, 21 comments · first 2011-07-08 · latest 2019-03-03

Mentions per year 22 mentions · busiest year 2013 (7)
20082026
  1. …here, complete access to the linux/bsd/osx system call interface, including sbrk, from lua: https://github.com/justincormack/ljsyscall Just load libffi ( https://sourceware.org/libffi ) or a similar module in any arbitrary language, and…
    comment by neokantian · 2019-03-03 · in Is C# a low-level language?
  2. I maintain LuaJIT syscall bindings https://github.com/justincormack/ljsyscall - they cover quite a lot, namespaces, netlink and so on. I spent quite a bit of time making them more intuitive than the raw bindings, with consistent error…
    comment by justincormack · 2016-04-14 · in Rust and Nix = easier Unix systems programming
  3. https://github.com/justincormack/ljsyscall is just that, but for Lua. FFI to the kernel on Linux, NetBSD Rump kernels and even bare on Xen.
    comment by pygy_ · 2015-04-29 · in Python without an operating system
  4. Also my project ljsyscall https://github.com/justincormack/ljsyscall - you can run this on bare metal on Xen and other platforms too as well as under Linux/OSX/BSD.
  5. …C or assembler, I wrote a LuaJIT library [1]. You could port it to another language too. [1] https://github.com/justincormack/ljsyscall
    comment by justincormack · 2014-12-28 · in The World of Linux System Calls
  6. …functionality to bring up a system (networking, mounts, namespaces etc) without any other code. [1] https://github.com/justincormack/ljsyscall
  7. yeah, you link to lua.a or lua.so and a very small stub to run the code. There is an example here https://github.com/justincormack/ljsyscall/blob/master/examp...
  8. …that can bring up enough of a system for containers (networking and so on, still some bits missing) https://github.com/justincormack/ljsyscall
    comment by justincormack · 2014-02-11 · in Broken by design: systemd
  9. …network interfaces are hash tables and you can modify the components to reconfigure etc. [1] https://github.com/justincormack/ljsyscall
    comment by justincormack · 2013-12-29 · in The shok command shell
  10. Yeah have been working on it see https://github.com/justincormack/ljsyscall/
    comment by justincormack · 2013-08-11 · in What makes Lua tick?
  11. …can configure network interfaces, routing etc. Needs some more examples, build scripts etc... [1] https://github.com/justincormack/ljsyscall
    comment by justincormack · 2013-07-31 · in Show HN: CoreOS, a Linux distro for containers
  12. …that are then structured into larger distributed applications this is much simpler. [1] https://github.com/justincormack/ljsyscall [2] http://www.netbsd.org/docs/rump/
  13. …(do have longer term plans to port to Ruby, Pypy one day once it is abstracted out more). [1] https://github.com/justincormack/ljsyscall
    comment by justincormack · 2013-06-11 · in Writing a FUSE file system in Go
  14. …up a bootable system soon. [1] http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/... [2] https://github.com/justincormack/ljsyscall [3] http://www.musl-libc.org/
    comment by justincormack · 2013-02-24 · in Boot-to-Guile
  15. …risk messing about with the real ones. This is part of a fairly comprehensive Linux binding for Lua https://github.com/justincormack/ljsyscall
    comment by justincormack · 2013-02-19 · in Linux 3.8 Released
  16. …of work involved as there is a lot of shell to implement, but it can be incrementally useful. [1] https://github.com/justincormack/ljsyscall
    comment by justincormack · 2012-09-17 · in Sh.py
  17. …debug so you can easily follow what is going on, plus the whole userspace will be BSD licensed. [1] https://github.com/justincormack/ljsyscall [2] http://www.myriabit.com/ljsyscall/ [3] http://www.etalabs.net/musl/
  18. …speed while remaining reasonably slow. And the FFI in luajit is simply fantastic. Take a look at https://github.com/justincormack/ljsyscall which binds the syscalls. The annoyance that I'd thought of is that the array indexing starts with…
    comment by ay · 2012-04-20 · in mruby
  19. …syscalls. I only used getdents for the first time when I was writing a syscall interface for Lua https://github.com/justincormack/ljsyscall - not tried it on 8m files but you can set the buffer size so it should work. The native aio…
  20. Another interesting combination would be: https://github.com/justincormack/ljsyscall this would work with LuaJIT: http://luajit.org/ The FFI in LuaJIT is kind of brilliant. Check yourself. EDIT: with FFI in LuaJIT you can jump very…
  21. …[2] http://neopallium.github.com/nixio/ [3] http://luajit.org/ext_ffi_tutorial.html [4] https://github.com/justincormack/ljsyscall
    comment by davidhollander · 2011-07-08 · in Lua/APR - proper standard library for Lua