View Single Post
Old 01-23-2020, 01:28 PM   #7
handyguy
Connoisseur
handyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to beholdhandyguy is a marvel to behold
 
handyguy's Avatar
 
Posts: 72
Karma: 11789
Join Date: Dec 2019
Device: PW4
Quote:
Originally Posted by NiLuJe View Post
Sidebar: There's a Python fbink module, no need to spawn the CLI tool. (fork is expensive).

In this context, you're already fork'ing for lipc anyway, so, eeeeh.

Still, ought to be mentioned .

@mergen3107: Python/bash is unlikely to be much of an issue here. It's going to be expensive to sspawn, but that's it. I'm assuming this *isn't* spawned every time, but instead spawned once (i.e., a daemon).

Once that's out of the way, Python is actually likely to be less awful than bash, because bash isn't even bash here, but an old and ugly busybox ash .

If you *do* need to spawn stuff often, you've kind of already lost before even starting, so, back to the design phase .
There's native FBINK support in Python? Cool, will make my code simpler!
handyguy is offline   Reply With Quote