20:36 < nbd> [mbm]: i have another idea, but i don't know if you'll like it:
20:37 <@[mbm]> I hate it
20:37 < nbd> write some common webif code in awk or c, embed it into busybox, spawn the awk interpreter with the launch of busybox and only do
a fork instead of fork/exec for every request
20:37 < nbd> (reusing the preloaded shared code every time)
20:38 < nbd> would optimize load time for sure
20:38 < nbd> and we can reuse a lot of code that is already in busybox
20:38 < nbd> maybe even write some new code for interacting with the config and stuff in c and putting it in as awk functions
20:38 <@[mbm]> could leverage that plugin system we hacked into busybox a few months back
20:39 < nbd> yes
20:39 <@[mbm]> I somewhat want to avoid compiling additional code into busybox
20:39 < nbd> we only have to modify the awk interpreter a bit and integrate it with the http server
20:39 <@[mbm]> hmm.. ok that would work but it'd be one hell of a mess
20:39 < nbd> i don't think it'd be that hard
20:40 <@[mbm]> well, i mean it doesn't sound clean
20:40 < nbd> well, if we turn the awk interpreter into something that can be called from other applets as well
20:40 < nbd> and add a generic interface for adding external functions
20:40 < nbd> i think that can be done in a reasonably clean way
20:41 <@[mbm]> hmm sounds interesting
20:41 < nbd> and when the awk interpreter is preloaded with the http server and forks from that state to serve requests, it would be pretty
fast
20:44 < nbd> i like the idea because we don't have to write a new interpreter and we can use a lot of the existing code