Date: Tue, 10 Sep 2024 16:29:29 +0200 From: Daniel Ebdrup Jensen <debdrup@freebsd.org> To: freebsd-arch@freebsd.org Subject: Re: BPF64: proposal of platform-independent hardware-friendly backwards-compatible eBPF alternative Message-ID: <wwqsl7c6rfn42zipjwuuv5znqmsty25nnybrtke37hpljxdn22@xxonm6epj7ds> 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
--4iioazphuikmpv4g Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 10, 2024 at 06:38:50AM UTC, Poul-Henning Kamp wrote: >-------- >Vadim Goncharov writes: > >> I've put a sketch of design to https://github.com/nuclight/bpf64 with fi= les: > >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. > >Poul-Henning > >--=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 >Never attribute to malice what can adequately be explained by incompetence. > Hi folks, It might also be interesting to make note that ZFS implementing channel programs as zfs-program(8). Incidentally, they also use Lua. Similarly, there's lots of lua in the base system, and it's also what replaced the forth interpreter for the loader. Yours, Daniel Ebdrup Jensen --4iioazphuikmpv4g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEDonNJPbg/JLIMoS6Ps5hSHzN87oFAmbgV8lfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDBF ODlDRDI0RjZFMEZDOTJDODMyODRCQTNFQ0U2MTQ4N0NDREYzQkEACgkQPs5hSHzN 87o66QgArnaDCNoqBJ/oEky9LDfPh4VP/DTCAmXHxDe5AgBcpz7sETtMvEAfxwxV 7biwkBj7crAPnL5j05a9CZD1T6A+wdxObnndUeKReY55vJmveCQz8KV0RMrV1x/z MOdh/+82FdtBl+WEY99HYO3o78tLZgg4CMBGfpxfLSLYwxeibRM/m3zAhHYmvico 003VnMbg699GdSyX0d09fOe71NBYK1dE2HRofCpOkgjOWQMfzHAR3gupJrHXpfhV uHvBTpx029LOEMNuNz6PLZ9tM3D9HZENrEK0WVaS+eM9GupqM0mqj3lup7QlKBC4 eZudxF51Eb1L7vRL7/bv+D5DmRZlew== =BsJ0 -----END PGP SIGNATURE----- --4iioazphuikmpv4g--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wwqsl7c6rfn42zipjwuuv5znqmsty25nnybrtke37hpljxdn22>