[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hobbit] Server-side extension scripts: shell vs. C programming
- To: hobbit (at) hswn.dk
- Subject: [hobbit] Server-side extension scripts: shell vs. C programming
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Thu, 28 Jun 2007 14:12:33 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=kIlRQM77AlnzoW9R9J23ED82XfKnwsBKf57ZLF+dAi+6eG35RZLgYn8ojSvpRX90C69MH9Z1ZkYOOSUqnrUXV7QrZKlsHAle9TpVxaRdgqSZPZMfKjkZDrFnQIpL5evrdbCz/Lf3wOZr2FnlIsAkca701TRjTTukMk0IxMGxrMA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=O7FajjnEjVHRPXqJvNVS6jszQwbGmputRbcVJ96qu2cVcp0PtTA60i5XW30YKWDQuwOsaei2QoGO108cqkA6a9fiXRe6BQ1xT9yahlA5J9oy38/WkU69tuCg+Xa1nPHHOM32SO6BMwHEy150QqcGiF0BZO9UyhZrPd/3yOyf+0E=
I remember reading somewhere in the Hobbit documentation that when an
extension script starts to do a lot of things, it should be coded in a
compiled language such as C, instead of as a shell script. I have a custom
script that takes a lot of data and converts it into NCV graphs, and I
believe it is at the point where I should consider rewriting it in C.
Before I get to far into it, is the hobbitd_sample.c something that I should
look at for this? I'm not sure if I'm reading the documentation on it
correctly, if it is a good example for an external script. Has anyone else
had experience in needing to convert a shell script to C/C++/etc for
Hobbit? I'm just trying to get a rough idea of how much effort this will
require.