Re: gitweb.cgi in C
On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote:
> What do you think about gitweb.cgi in C?
It's horribly stupid, I think. :)
Kay
Re: gitweb.cgi in C
Hi,
On Thu, 8 Dec 2005, Kay Sievers wrote:
> On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote: > > What do you think about gitweb.cgi in C? > > It's horribly stupid, I think. :)
It is as stupid as you make it :-)
Ciao, Dscho
Re: gitweb.cgi in C
On Thu, Dec 08, 2005 at 07:59:37PM +0100, Majkls wrote:
> What do you think about gitweb.cgi in C?
I've seen CGI programs in C before.
I don't recommend it. I think it will give most security people nightmares, heh.
-- Ryan Anderson sometimes Pug Majere
Re: gitweb.cgi in C
Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter where Majkls <majkls@tiscali.cz> said that...
> What do you think about gitweb.cgi in C?
To add to the collective dismay - why bother?
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.
Re: gitweb.cgi in C
Petr Baudis <pasky@suse.cz> writes:
Show 5 quoted lines
> Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter > where Majkls <majkls@tiscali.cz> said that... >> What do you think about gitweb.cgi in C? > > To add to the collective dismay - why bother?
It _might_ make sense to do gitweb using libified git Smurf is working on, in order to reduce forks and execs, but that is mostly independent of rewriting that in C.
Re: gitweb.cgi in C
Dear diary, on Thu, Dec 08, 2005 at 11:35:09PM CET, I got a letter where Junio C Hamano <junkio@cox.net> said that...
Show 11 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > > > Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter > > where Majkls <majkls@tiscali.cz> said that... > >> What do you think about gitweb.cgi in C? > > > > To add to the collective dismay - why bother? > > It _might_ make sense to do gitweb using libified git Smurf is > working on, in order to reduce forks and execs, but that is > mostly independent of rewriting that in C.
I'd see having Perl XS for libgit as something much more sensible. And you could do cute porcelain stuff with that as well.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.
Re: gitweb.cgi in C
Petr Baudis <pasky@suse.cz> writes:
Show 6 quoted lines
>> It _might_ make sense to do gitweb using libified git Smurf is >> working on, in order to reduce forks and execs, but that is >> mostly independent of rewriting that in C. > > I'd see having Perl XS for libgit as something much more sensible. And > you could do cute porcelain stuff with that as well.
Yes, that is exactly what I meant by what Smurf is working on -- libified git with Pyrex.
Re: gitweb.cgi in C
>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
>> I'd see having Perl XS for libgit as something much more sensible. And >> you could do cute porcelain stuff with that as well.
Junio> Yes, that is exactly what I meant by what Smurf is working on -- Junio> libified git with Pyrex.
Pyrex? not XS? I'd like to see Perl "use Git;". :)
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Re: gitweb.cgi in C
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 6 quoted lines
>>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes: > > Junio> Yes, that is exactly what I meant by what Smurf is working on -- > Junio> libified git with Pyrex. > > Pyrex? not XS? I'd like to see Perl "use Git;". :)
OK, for the record I should mention that I first suggested using Swig, to be neutral across perl/python/tcl. BTW, this list is merely alphabetical not suggesting the order of my preference ;-).
Re: gitweb.cgi in C
Junio C Hamano wrote:
Show 15 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > > >>Dear diary, on Thu, Dec 08, 2005 at 07:59:37PM CET, I got a letter >>where Majkls <majkls@tiscali.cz> said that... >> >>>What do you think about gitweb.cgi in C? >> >>To add to the collective dismay - why bother? > > > It _might_ make sense to do gitweb using libified git Smurf is > working on, in order to reduce forks and execs, but that is > mostly independent of rewriting that in C. >
In that case it would be better and way cooler to have mod_git for Apache.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231
Re: gitweb.cgi in C
Majkls wrote:
> What do you think about gitweb.cgi in C?
I guess you could implement and benchmark it and see how much faster it is.
-hpa