Re: BPF64: proposal of platform-independent hardware-friendly backwards-compatible eBPF alternative

From: Bob Bishop <rb_at_gid.co.uk>
Date: Tue, 10 Sep 2024 11:51:08 UTC
Hi,

> On 10 Sep 2024, at 07:38, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> 
> --------
> Vadim Goncharov writes:
> 
>> I've put a sketch of design to https://github.com/nuclight/bpf64 with files:
> 
> Counter proposal:
> 
> 1. Define the Lua execution environment in the kernel.
> 
> 2. Add syscall to submit a precompiled Lua program (as bytecode)
> 
> 3. Add syscall to execute submitted Lua program
> 
> And yes:  I'm being 100% serious.
> 
> If we are going to reinvent "Channel Programs" 67 years after IBM
> came up with them for their 709 vacuum tube computer, at the very
> least we should use a sensible language syntax.

+1

We did something like this at $work years ago with FORTH, to do weird things in a driver.

> Poul-Henning
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.
> 

--
Bob Bishop
rb@gid.co.uk