On Thu, 2012-12-27 at 10:07 +0530, Chandrashekar Babu wrote:
>    http://draketo.de/proj/hg-vs-git-server/test-results.html

Kind of a response benchmarking which proved that hg is better.

Just one question? did the test used python+Subprocess.call() for all
the git call's?

I thought libgit.a is there (or better http://libgit2.github.com/) which
prevents fork-exec. However, the test is talking about gc. So, my point
doesn't count as a valid argument. But I'm just wondering the test is
comparing things which are not in the same level,

If the entire test performed by doing python+hg-with-api and python
+git-via-subprocess.call()/bash+git-commands, then I'll say, the test is
biased towards hg. Well, you can ask "the test is all about garbage
collection, what the hell you are talking about?" well, may be git has
some problem with gc, but I'm saying there is something fishy the way
the test has been performed.

> Lesson for you: merely writing an "application" in C does not make it any 
> faster. In most cases, it is counter-productive as it does not emphasize
> reusability. Good software design principles revolve around using C/C++ 
> to address problems related to system domain - that could be extended as 
> libraries by programs written in Python/Ruby/Perl/Haskell/Java or any 
> high-level language that allows application developers to focus on problems
> related to user domain.

> And yes, get this out of your mind that C is all about "high performance".
> Performance, Scalability, Maturity and Maintainability depends *not* on your
> choice of programming language - but rather the software design and 
> architecture. 

Aahh!! the same old (or modern) advice. Common pundits, I'm not saying C
is the only way and I really say python/javascript is way better on text
processing, no doubt on that, its my personal experience. But saying C
and shell-scripting doesn't belongs to the modern programming is utter
shit.

> As another exercise for you, try solving the algorithm problems on 
> http://projecteuler.net/problems using C (with standard C libraries of 
> course). 

Well, I'm solving my own day-to-day problems with C
http://github.com/mohan43u/ the same problems can be solvable much
easier in other languages, but whats the point of solving my problems in
easier way? I'm not a corporate with deadlines. Programming is fun after
all :)

> Then, try looking up solutions for the same problems solved
> using Python, Haskell, Ruby, Perl (and more languages if you wish) 
> and now prove to us that C programs are beautiful than 
> Python/Ruby/Haskell programs ;-)

Well, beautiful, depends on one's view. I would say thorn is beautiful
than the rose (this is a counter post right? obviously I have to post
like this. sorry for wasting you time).

Thanks,
Mohan R

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to