Andrew Dunstan wrote:


We already do use threads on Windows to a limited extent to do things like timers and pseudo-signal handling.

If this were a greenfields project then your arguments would have force. But for how long would you like to suspend Postgres development activity while we re-implement everything in Java? Not to mention the effort to recruit new developers to replace those who leave because they can't or don't want to be part of the effort.

For better or worse, PostgreSQL is written in C, and I can't see that changing.

It might be interesting to take a frozen code base for PostgreSQL and reimplement it in Java, and then run some comparisons, both for performance and crash stability. I just counted roughly 100k lines of source code, so a reimplementation effort would be distinctly non-trivial.


and a happy April 1 to you too, btw.

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to