Messages in this thread | | | Date | Mon, 19 Sep 2005 09:18:33 +0200 | From | "Martin v. Löwis" <> | Subject | Re: [Patch] Support UTF-8 scripts |
| |
Pavel Machek wrote: > Why is binfmt_misc not enough for you?
For two reasons: for one, it has the overhead of yet another exec call. This is different from usages for, say, Java byte code or Python byte code, where the registered interpreter already is the eventual binary which has to be invoked anyway; for a binfmt_misc application, you need an additional wrapper which reinterprets the first line, and then invokes the eventual interpreter.
The other reason is availability: as an author of an UTF-8 script, you would have to communicate to your users that they need the right binfmt_misc wrapper installed (which they may have to build first). While installing additional stuff to run a single program is acceptable for large applications, it is likely not for script files. To make the feature useful in practice, it must be builtin.
Regards, Martin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |