Re: Libification project (SoC)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marco Costalba
Date: Monday, March 19, 2007 - 6:04 am

On 3/19/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

But in case you eat your own food, why others should to the same?



The problem, at least with viewers I know, it's not with multiple
repositories but with multiple  views of the same repo.


Anyway. Just to give my two cent:

The two possible features we are talking about are:

  - reentrancy (many views open on the same repo)

  - non-blocking behaviour (loading repo in background)

These two features are _very_ different. I agree an async library it's
not a small thing, and probably it involves using an external thread
library in libgit itself, like pthread, just to not reinventing the
(difficult) wheel.

Regarding reentrancy I don't know what is involved in avoiding globals
and the like, but I would think it's really an absolute minimum to get
people eating your food ;-)

I completely agree that it's impossible to know how a library will be
used when you write it, but giving a good look around before to start
allows you to get a minimum subset of needed features and if you add a
little bit of generalization and you are lucky enough perhaps you will
avoid to rewrite the library in the future.

From the viewers survey and also from the interesting examples of
Steve I would say that do not planning for reentarncy would be a big
no-no

  Marco
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Libification project (SoC), Luiz Fernando N. Cap ..., (Thu Mar 15, 9:24 pm)
Re: Libification project (SoC), Shawn O. Pearce, (Thu Mar 15, 9:59 pm)
Re: Libification project (SoC), Junio C Hamano, (Thu Mar 15, 10:30 pm)
Re: Libification project (SoC), Shawn O. Pearce, (Thu Mar 15, 11:00 pm)
Re: Libification project (SoC), Junio C Hamano, (Thu Mar 15, 11:54 pm)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 4:54 am)
Re: Libification project (SoC), Petr Baudis, (Fri Mar 16, 5:53 am)
Re: Libification project (SoC), Petr Baudis, (Fri Mar 16, 5:55 am)
Re: Libification project (SoC), Rocco Rutte, (Fri Mar 16, 6:09 am)
Re: Libification project (SoC), Luiz Fernando N. Cap ..., (Fri Mar 16, 6:47 am)
Re: Libification project (SoC), Petr Baudis, (Fri Mar 16, 7:08 am)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 8:12 am)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 8:16 am)
Re: Libification project (SoC), Nicolas Pitre, (Fri Mar 16, 8:55 am)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 9:13 am)
Re: Libification project (SoC), Shawn O. Pearce, (Fri Mar 16, 9:17 am)
Re: Libification project (SoC), Nicolas Pitre, (Fri Mar 16, 9:26 am)
Re: Libification project (SoC), Marco Costalba, (Fri Mar 16, 11:20 am)
Re: Libification project (SoC), Steve , (Fri Mar 16, 11:22 am)
Re: Libification project (SoC), Marco Costalba, (Fri Mar 16, 11:38 am)
Re: Libification project (SoC), Luiz Fernando N. Cap ..., (Fri Mar 16, 11:38 am)
Re: Libification project (SoC), Nicolas Pitre, (Fri Mar 16, 11:53 am)
Re: Libification project (SoC), Nicolas Pitre, (Fri Mar 16, 11:59 am)
Re: Libification project (SoC), Andy Parkins, (Fri Mar 16, 12:09 pm)
Re: Libification project (SoC), Marco Costalba, (Fri Mar 16, 2:07 pm)
Re: Libification project (SoC), Shawn O. Pearce, (Fri Mar 16, 4:16 pm)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 4:24 pm)
Re: Libification project (SoC), Johannes Schindelin, (Fri Mar 16, 4:26 pm)
Re: Libification project (SoC), Marco Costalba, (Sat Mar 17, 12:04 am)
Re: Libification project (SoC), Johannes Schindelin, (Sat Mar 17, 10:29 am)
Re: Libification project (SoC), Luiz Fernando N. Cap ..., (Sat Mar 17, 12:58 pm)
Re: Libification project (SoC), Shawn O. Pearce, (Sat Mar 17, 10:23 pm)
Re: Libification project (SoC), Junio C Hamano, (Sat Mar 17, 10:52 pm)
Re: Libification project (SoC), Petr Baudis, (Sun Mar 18, 6:57 am)
Re: Libification project (SoC), Petr Baudis, (Sun Mar 18, 7:08 am)
Re: Libification project (SoC), Luiz Fernando N. Cap ..., (Sun Mar 18, 9:18 am)
Re: Libification project (SoC), Junio C Hamano, (Sun Mar 18, 12:31 pm)
Re: Libification project (SoC), Nicolas Pitre, (Sun Mar 18, 2:15 pm)
Re: Libification project (SoC), Johannes Schindelin, (Sun Mar 18, 4:48 pm)
Re: Libification project (SoC), Petr Baudis, (Sun Mar 18, 6:21 pm)
Re: Libification project (SoC), Johannes Schindelin, (Sun Mar 18, 6:43 pm)
Re: Libification project (SoC), Theodore Tso, (Sun Mar 18, 7:56 pm)
Re: Libification project (SoC), Shawn O. Pearce, (Sun Mar 18, 8:55 pm)
Re: Libification project (SoC), Marco Costalba, (Mon Mar 19, 12:01 am)
Re: Libification project (SoC), Steve , (Mon Mar 19, 2:46 am)
Re: Libification project (SoC), Steve , (Mon Mar 19, 3:33 am)
Re: Libification project (SoC), Johannes Schindelin, (Mon Mar 19, 5:37 am)
Re: Libification project (SoC), Petr Baudis, (Mon Mar 19, 5:52 am)
Re: Libification project (SoC), Marco Costalba, (Mon Mar 19, 6:04 am)
Re: Libification project (SoC), Johannes Schindelin, (Mon Mar 19, 6:55 am)
Re: Libification project (SoC), Johannes Schindelin, (Mon Mar 19, 7:57 am)
Re: Libification project (SoC), Luiz Fernando N. Cap ..., (Mon Mar 19, 9:09 am)
Re: Libification project (SoC), Linus Torvalds, (Mon Mar 19, 9:28 am)
Re: Libification project (SoC), Linus Torvalds, (Mon Mar 19, 9:32 am)
Re: Libification project (SoC), Andreas Ericsson, (Wed Mar 21, 4:17 am)
Re: Libification project (SoC), Linus Torvalds, (Wed Mar 21, 10:24 am)
Re: Libification project (SoC), Andreas Ericsson, (Thu Mar 22, 2:51 am)