git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] Pyrite project.

From
GSGovind Salinas <blix@sophiasuchtig.com>
Date
Jan 26, 2008, 17:37 UTC
Message-ID
<5d46db230801260937w3a514842t3943d0bd7c8dfb70@mail.gmail.com>
In-Reply-To
<alpine.LSU.1.00.0801261654410.23907@racer.site>
On 1/26/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> any particular reason you took this discussion off-list?
>

No, I am just an idiot. GMail's defualt reply instead of reply-all bites me every friggin time.

re-adding the list.
Show 12 quoted lines
> On Sat, 26 Jan 2008, Govind Salinas wrote:
>
> > On 1/26/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> >
> > > IIRC it was you who started the c# port of git?  What happened to it?
> >
> > Well, that was mostly so I could convince my co-workers to use git (and
> > to teach myself C#), but the idea was a non-starter at my company so I
> > abandoned it.
>
> I thought it was a GSoC project?
>
No, it was my own thing.
Show 18 quoted lines
> > > >  2. Help the libification effort in git so that I can use git code straight
> > > >     from python.
> > >
> > > That should also be easy enough; there was a GSoC program, and you could
> > > just go there and help that effort, instead of reinventing the wheel.
> > >
> > > For your convenience:
> > >
> > >         http://repo.or.cz/w/git/libgit-gsoc.git
> > >
> >
> > Yeah, I was looking at that when I was doing Widgit.  But last I checked
> > there had not been an update in several months, I figured the project
> > was dead.
>
> I should hope that it would make more sense to pick it up than to start a
> new project.
>
Totally agree.
Show 13 quoted lines
> > > >  3. Start stripping away non-performance-critical C code and convert
> > > >     it to python code to help interoperate with extensions and GUIs
> > >
> > > I am absolutely no fan of "extensions".  You keep breaking other
> > > people's code if your core introduces changes; see for example the
> > > libgit.a issue with cgit.
> >
> > The nice thing about extensions is that you don't have to use them if
> > you don't want to.
>
> I know what the nice thing about extensions is.  My point was that there
> is also a pretty nasty side.  One that I am not prepared to accept easily.
>

There is another benefit too. Have a bit of code that might be dangerous? Put it in an extension and it can be tested in isolation, without the need to rebuild the project (for people that offer to test for you). Once it is ready and tested for general use, it can beincorporated into the standard.

Show 27 quoted lines
> > > > There are 2 main benefits that I am looking for with git
> > > > libification. One is, if we can reduce the amount of code that has
> > > > to be compiled in C to a small enough subset, we should be able to
> > > > build without the need of Cygwin or Msys.
> > >
> > > This effort would be better helped by converting more scripts to
> > > builtins, _not_ by reintroducing the dependency on python.
> >
> > So a couple of different things here.  Firstly, you should not see this
> > as introducing a python dependency to git.
>
> Well, I should hope so.
>
> > A libified, unified version of git all in C would almost certainly be
> > faster than anything done in python, even with the good stuff done in C.
> > However, and I know it's a notion that some people don't agree with, I
> > believe a small amount of performance (such as overhead from using a
> > JITed language) can be sacrificed for ease of development and maintain-
> > ability.
>
> I have no problem with rapid prototyping in shell or perl.  But the final
> goal has to be C.
>
> Ciao,
> Dscho
>
>

Thanks for the feedback. -Govind

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 7 in “[ANNOUNCE] Pyrite project.”
  1. Govind SalinasJan 26, 2008
  2. Jakub NarebskiJan 26, 2008
  3. Govind SalinasJan 26, 2008
  4. Johannes SchindelinJan 26, 2008
  5. Govind SalinasJan 26, 2008
  6. Johannes SchindelinJan 26, 2008
  7. Govind SalinasJan 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.