3

I’m always pleasantly surprised at the generosity of the Delphi community when it comes to helping other developers or open source efforts. There are many places to host open source code, each community usually has a particular bias towards one system (.NET langs towards Codeplex, Python langs towards BitBucket, Ruby and Javascript to Github).The Github logo The impression I’ve always gotten is that Open Source Delphi projects tend to veer towards Google Code and self-hosted solutions (which I’ve never really understood). I have always preferred Github because I like Git, the Github site is very fast and easy to use and because there is a very vibrant community which makes project discovery really easy.

I had hosted my Delphi headers for the yajl json library on Github at Delphi-yajl, which were sadly in a broken state as I was unable to solve some of my conversion problems myself. I recently received a pull request on Github for my project from the ever active Delphi’er on github Jason T Penny. He very kindly forked my Delphi-yajl repo and submitted a set of changes which fixed up my botched conversion job and pushed it back. As a result, I’m pleased to announce that the Delphi yajl code is in working order and I now plan on adding a higher level wrapper which allows slightly more Delphi-like usage but if you need lightning fast SAX-style json parsing then feel free to try it out. I can imagine that it would be perfect for situations where you need to parse a stream of json, such as if you were streaming the Twitter Streaming API.

He also has some pretty cool other repos on his Github profile, including his GitForDelphi Project. GitForDelphi is a conversion of the libgit2 headers. libgit2 is portable, pure C implementation of the core git methods which allow you to effectively implement git functionality without having to call git command line (much cooler). The Delphi bindings are in a working state already and in order to return the favour, I do plan on helping him out by contributing some tests. I would encourage all Delphi developers to have a hunt around on Github as there are some interesting little gems to be found and it’s a very cool community to explore.

Further Reading

Tags: , ,

3 Comments

  1. Satya on the 9th March 2011 remarked #

    The SourceForge has been one of the favorites of Delphi developers for quite sometime.

    http://sourceforge.net/search/?q=delphi

  2. Satya on the 9th March 2011 remarked #

    The SourceForge has been one of the favorites of Delphi developers for quite sometime.

    http://sourceforge.net/search/?q=delphi

    Btw, I personally use Git and love it! I’ll certainly choose GitHub when I need it.

Leave a Comment