Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 12:51:08 +0100
From:      Bob Bishop <rb@gid.co.uk>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Vadim Goncharov <vadimnuclight@gmail.com>, "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org>, "freebsd-net@freebsd.org" <freebsd-net@FreeBSD.org>, tcpdump-workers@lists.tcpdump.org, "tech-net@netbsd.org" <tech-net@NetBSD.org>, Alexander Nasonov <alnsn@NetBSD.org>
Subject:   Re: BPF64: proposal of platform-independent hardware-friendly backwards-compatible eBPF alternative
Message-ID:  <2F9BBCAE-C0EA-43E7-B371-AE3FF733E72E@gid.co.uk>
In-Reply-To: <202409100638.48A6cor2090591@critter.freebsd.dk>
References:  <20240910040544.125245ad@nuclight.lan> <202409100638.48A6cor2090591@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> On 10 Sep 2024, at 07:38, Poul-Henning Kamp <phk@phk.freebsd.dk> =
wrote:
>=20
> --------
> Vadim Goncharov writes:
>=20
>> I've put a sketch of design to https://github.com/nuclight/bpf64 with =
files:
>=20
> Counter proposal:
>=20
> 1. Define the Lua execution environment in the kernel.
>=20
> 2. Add syscall to submit a precompiled Lua program (as bytecode)
>=20
> 3. Add syscall to execute submitted Lua program
>=20
> And yes:  I'm being 100% serious.
>=20
> 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
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.
>=20

--
Bob Bishop
rb@gid.co.uk







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F9BBCAE-C0EA-43E7-B371-AE3FF733E72E>