Andrew Dunstan wrote:
Not to mention it would kill PostgreSQL's current speedy performance!


Maybe, maybe not. Modern JVMs have much better performance characteristics than was once the case. Also, some of the things that Java buys you (memory management, threading, for example) might actually enhance performance in some circumstances. A crude port wouldn't work, though - it would have to be done in such a way as to leverage the platform's strengths, just as we leverage the strengths of writing in C.

The *big* problem would be keeping a Java port in sync with the base. That would make it almost impossible to do in a worthwhile way IMNSHO - the maintenance would be a nightmare.

It would be an excellent student exercise, though :-)

Jokes and facts aside, I can't help it to think how better it would have been, if postgresql was in C++. We could easily plug multiple implementations of underlying subsystems without mucking much in base code..


Wild thought anyways..

Shridhar


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to