On Thursday, August 21, 2014 at 1:00 PM, Thomas Heller wrote: > Hey Clojure Folk, > > I'm close to releasing the first alpha version of > https://github.com/thheller/shadow-pgsql a "native" interface to PostgreSQL I > wrote. > > Its an implementation of the native binary protocol without any intent to > ever support JDBC. Mostly because that provides a bunch of features I never > use, but no support for features I wanted. It is mostly Java but I will > probably only use it from Clojure so that is my primary goal going forward. I > think the Java bits are close to stable. > > I'm looking for interested beta testers and feedback. I'm bad at writing docs > cause I never know where to start since there are so many features and > differences to JDBC. >
As a user of both Postgres and Clojure, I find this very interesting. It’s helps with a couple of pain points around JDBC, such the fact that any nonstandard feature ends up hidden behind a untyped interface passing strings around. But I also have a couple of bits of feedback that are a little more skeptical: First, the amount of work it will take to get this to a complete enough state that large projects could safely switch to it, could be substantial. It makes me wonder if, instead, this could be built as a layer up on top of the Postgres JDBC driver. This would not be as elegant because it would not strip out as much unnecessary code, but it may be quite a lot less work. Second, it seems to most effectively target people who are both very type oriented, yet are using Java or Clojure. It seems to me that folks who are so concerned with types that they would step away from the standard way of talking to databases generically, might be found over in the community of people using more rigidly typed languages like Haskell etc. Third, although I like the idea of leveraging the features of the tool you are using (like Postgres), at the same time experiences taught me that, the more firmly a project seems destined to never switch to a different brand of database, the more likely some future unexpected opportunity will come up where that is exactly what is needed. I suppose this is just Murphy’s Law. I don’t want to sound discouraging though, I really like this idea. -- Kyle Cordes http://kylecordes.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.