3 ms·
There's perl in the Linux kernel? Please God tell me that the Linux kernel doesn't have a perl interpreter built into it.
by javajosh 14y ago
There's perl in the Linux kernel? Please God tell me that the Linux kernel doesn't have a perl interpreter built into it.
- jacquesm 14y agoThere isn't in the kernel itself but there is perl code in the build process. If you want to build the linux kernel without dependencies on interpreters then you're in for a rough time.
- javajosh 14y agoI figured; I was just being funny. Although actually the thought of embedding an interpreter of some kind in the kernel is very interesting. It would have to be an unusual interpreter, that's for sure, as it would have to operate without a kernel. I'm not sure if that even means anything though, as you'd probably end up implementing kernel-like behavior in your interpreter.
- jacquesm 14y agoI read somewhere - no reference handy - that windows NT contained a prolog engine to do network configuration. edit: found a reference: http://www.drdobbs.com/cpp/extending-c-with-prolog/184409294 http://www.drdobbs.com/cpp/extending-c-with-prolog/184409294
- nitrogen 14y agoThe Berkeley Packet Filter mechanism is implemented as an interpreter in the kernel: http://en.wikipedia.org/wiki/Berkeley_Packet_Filter http://en.wikipedia.org/wiki/Berkeley_Packet_Filter
- jballanc 14y agoThere's a project to embed a Lua interpreter in the NetBSD kernel: http://netbsd-soc.sourceforge.net/projects/luakern/ http://netbsd-soc.sourceforge.net/projects/luakern/