|
|
Subscribe / Log in / New account

Binary portability for BPF programs

Binary portability for BPF programs

Posted Dec 1, 2018 18:50 UTC (Sat) by Camto (guest, #128967)
In reply to: Binary portability for BPF programs by sorokin
Parent article: Binary portability for BPF programs

> Binary means unportable

Oh yes like PDFs. Those are so unportable.


to post comments

Binary portability for BPF programs

Posted Dec 2, 2018 4:25 UTC (Sun) by k8to (guest, #15413) [Link]

Funny thing: I've created many many valid PDFs that many PDF reader implementations cannot render correctly. Most of them I didn't even do intentionally. I sort of think of it as "DF".

Binary portability for BPF programs

Posted Dec 2, 2018 8:43 UTC (Sun) by matthias (subscriber, #94967) [Link]

Actually, PDF is a 7-bit ASCII format. Yes, there might be some binary content embedded, especially if you use compression and/or encryption, but like PostScript it is a language that you could write in a normal text editor.

Fun fact: In the national German computer science contest (Bundeswettbewerb Informatik) we once got a solution for an exercise, where some fractal image should be computed. The code was entirely written in PostScript. It could be send to a PostScript printer to compute and print the image. There was no restriction to the programming language. The code had to be documented and the language should be somewhat reasonable.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds