git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Imran M Yousuf" <imyousuf@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: "Robin Rosenberg" <robin.rosenberg@dewire.com>,
	"Carlos Rica" <jasampler@gmail.com>,
	git@vger.kernel.org, "Junio C Hamano" <gitster@pobox.com>
Subject: Re: GSoC 2008 - Mentors Wanted!
Date: Thu, 6 Mar 2008 11:19:19 +0600	[thread overview]
Message-ID: <7bfdc29a0803052119s75613e05qe2ab57d4c454e763@mail.gmail.com> (raw)
In-Reply-To: <20080306050846.GQ8410@spearce.org>

On Thu, Mar 6, 2008 at 11:08 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
> Robin Rosenberg <robin.rosenberg@dewire.com> wrote:
>  >
>  > You will find support in jgit for this today. Cloning over git and ssh real
>  > soon. I'm clensing the oopses from the history right now. (bless rebase -i
>  > and git-gui).
>
>  I'm sort of waiting to see this fetch history soon.  :-)
>
>  The reason is I just got index v2 support (runtime read side) completed
>  and I want to add index v2 generation to IndexPack.  I also want to start
>  building a PackWriter so we can work on native transport push over SSH.
>
>  If we get fetch/push running I think we are heading into the area
>  where it is of some real use to people.
>

It is great to hear this news :).

>
>  > There might be some operations that might be harder to do well in Java. For
>  > those exec'ing might be the solution, I'm thinking repack, but then I haven't
>  > tried it yet.
>
>  I'm determined to even get "proper" packfile generation in Java.
>  But it may be time consuming to build.  There may be license issues
>  around doing a direct cribbed port of the delta generation.  :-\
>
>
>  > In general jgit is almost as fast as git and probably
>  > outperforms git on windows as git there doesn't use  memory mapped I/O for
>  > packs (something I'd expect someone or even me to fix soon). For JNI'ed
>  > operations the complexity is just horrible and even when possible, there is
>  > a lot of overhead for JNI itselt, conversion from UTF-16 to somehing
>  > eightbitish and back. On windows there's even yet another layer of
>  > eight-bitish to UTF-16 and back in the Win32 API. Jgit also uses memory
>  > mapped I/O on all platforms that support it for pack reading.
>  >
>  > If someone *did* make a fully reentrant libgit, I'd be inclined to balance my
>  > opinions differently.
>
>  Really?  If jgit is basically as fast as C git, but doesn't have
>  the overheads of dropping in and out of JNI or fork/exec then you
>  can actually get pretty good performance out of a Java application.
>
>  I've never really liked doing JNI.  I try to avoid it whenever
>  I possibly can.  JVMs just don't seem to be all that happy about
>  loading other native code into them, but yet they can do some very
>  good optimizations when everything is 100% pure Java and the JIT
>  has free reign to do what it pleases.

I personally too avoid JNI whenever possible; the only reason I was
even thinking of JNI in the first place is just to keep in touch with
the latest developments of jGit. But seeing the enthusiasm of the
community to contribute in developing a 100% Pure Java Git, I will
also participate in development of jGit; I think if we can get it to
do the regular operations we can generate enough interest to get a
community to regular keep it in sync with git.

>
>  --
>  Shawn.
>



-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@smartitengineering.com
Mobile: +880-1711402557

  reply	other threads:[~2008-03-06  5:20 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04  5:11 GSoC 2008 - Mentors Wanted! Shawn O. Pearce
2008-03-04  9:23 ` Matthieu Moy
2008-03-05  6:06   ` Shawn O. Pearce
2008-03-04 17:14 ` Jakub Narebski
2008-03-04 20:47 ` Carlos Rica
2008-03-04 20:51   ` Carlos Rica
2008-03-05  5:36   ` Shawn O. Pearce
2008-03-05  7:58     ` Imran M Yousuf
2008-03-05  8:15       ` Shawn O. Pearce
2008-03-05  8:25         ` Imran M Yousuf
2008-03-05  8:33           ` Imran M Yousuf
2008-03-05 14:55           ` Noel Grandin
2008-03-05 16:37             ` Johannes Schindelin
2008-03-06  4:58             ` Shawn O. Pearce
2008-03-05 21:13       ` Robin Rosenberg
2008-03-06  5:08         ` Shawn O. Pearce
2008-03-06  5:19           ` Imran M Yousuf [this message]
2008-03-06 11:04           ` Johannes Schindelin
2008-03-06 20:48           ` Robin Rosenberg
2008-03-06  5:33         ` Imran M Yousuf
2008-03-06 20:47           ` Robin Rosenberg
2008-03-06  5:06 ` Christian Couder
2008-03-06  5:31   ` Christian Couder
2008-03-06  6:44     ` Shawn O. Pearce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bfdc29a0803052119s75613e05qe2ab57d4c454e763@mail.gmail.com \
    --to=imyousuf@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jasampler@gmail.com \
    --cc=robin.rosenberg@dewire.com \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).