Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lneto
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
From the Kernel to the Moon: A Journey into Lunatik Bindings
(medium.com)
2 points
by
lneto
1y ago
|
1 comments
2.
▲
by
lneto
1y ago
With GSoC approaching, I wrote an article on how to extend Lua with kernel APIs and embed the Lua interpreter into Linux subsystems using Lunatik—an in-kernel Lua runtime that enables dynamic scripting inside the Linux kernel without requir
3.
▲
Lunatik v3.6 Released
(github.com)
3 points
by
lneto
2y ago
|
2 comments
4.
▲
by
lneto
2y ago
Lunatik v3.6 Released We are pleased to announce the release of Lunatik v3.6, introducing new features and improvements for in-kernel Lua scripting. What is Lunatik? Lunatik is an in-kernel Lua runtime that enables dynamic scripting within
5.
▲
Is eBPF driving you crazy? Let it run Lunatik instead
(medium.com)
3 points
by
lneto
2y ago
|
1 comments
6.
▲
by
lneto
2y ago
It has been a while since we have introduced XDPLua, a Lua binding for running scripts inside the XDP (eXpress Data Path) environment using the Lunatik framework. Since then both XDP and Lunatik have evolved quite a bit. Especially, now it
7.
▲
by
lneto
2y ago
Thanks for sharing this! Is it open source?
8.
▲
by
lneto
2y ago
Potentially, yes. However, I didn't try it. You could even disable GC completely. Lunatik provides some facilities that could be useful in this scenario as well, such as RCU tables and shared objects. For instance, you could pre-alloca
9.
▲
by
lneto
2y ago
I've just glanced at LOAD81 now.. pretty good job! thanks for sharing.. I noted your keyboard event handling (using SDL).. we have something very related to this in Lunatik (at the kernel level, of course) [1]. We've a kinda fun s
10.
▲
by
lneto
2y ago
Please refer to Section 3 from [1], this was extensively discussed there. [1] https://www.netbsd.org/~lneto/dls14.pdf However, giving you a short answer, we use Lua mainly because it's easy both to extend and to e
11.
▲
by
lneto
2y ago
One of the main inspirations for Lunatik is the MS Singularity OS [1], which gets rid of kernel/user space division and implements application/process protection by software using programing language resources. The other one is th
12.
▲
by
lneto
2y ago
the most explored use case is for scripting networking, please see: [1] https://legacy.netdevconf.info/0x14/session.html?talk-linux-... [2] https://netdevconf.info/0x17/sessions/talk/scri
13.
▲
by
lneto
2y ago
Perhaps when we have a fully scriptable operating system, we might call it Lunatix =).
14.
▲
by
lneto
2y ago
https://dl.acm.org/doi/10.1145/1238844.1238846 =)
15.
▲
by
lneto
2y ago
this is because the repository is a Lua fork.. actually, Lunatik started in 2008 [1, 2]. [1] https://sourceforge.net/projects/lunatik/files/ [2] https://www.maxwell.vrac.puc-rio.br/colecao.php
16.
▲
by
lneto
2y ago
It doesn't use eBPF but we can interoperate.. we have developed XDPLua for this as a GSoC project [1] and then published this work on Netdev 0x14 [2]. [1] https://victornogueirario.github.io/xdplua/ [2] https:&#x
17.
▲
by
lneto
2y ago
Happy to see this on HN =). Lunatik’s main author here. AMA. Please feel welcome to join us on Matrix [1] as well. [1] https://matrix.to/#/#lunatik:matrix.org
18.
▲
by
lneto
2y ago
a bit of history.. https://mail-index.netbsd.org/tech-kern/2010/10/05/msg008900...
19.
▲
by
lneto
2y ago
it's totally related.. we started with Lunatik in Linux actually then ported it to NetBSD.. [1] https://www.netbsd.org/~lneto/dls14.pdf
20.
▲
by
lneto
2y ago
Please take a look at: [1] https://netdevconf.info/0x14/session.html?talk-linux-network... [2] https://netdevconf.info/0x17/sessions/talk/scripting-the-lin... I'm currently updating
21.
▲
by
lneto
2y ago
This work ran more benchmarks with NPFLua: https://2018.eurobsdcon.org/static/slides/Fast,%20Flexible%2...
22.
▲
by
lneto
2y ago
We have also integrated Lua with Netfilter and XDP on Linux, filtering up to 5.3 Gbps. https://netdevconf.info/0x14/session.html?talk-linux-network...
23.
▲
by
lneto
2y ago
If interested, you may want to glance at https://github.com/luainkernel/lunatik