ged/ruby-pg
View on GitHub ↗ ★ 870 C
A PostgreSQL client library for Ruby
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2011-03-11 · latest 2022-11-09
20082026
-
…the performance-critical bits in good old natively compiled C? For example, the Ruby postgres gem: https://github.com/ged/ruby-pg/tree/master/ext (I wasn't sure until I checked just now, so I'm not questioning your familiarity with the…
comment by JohnBooty · 2022-11-09 · in It's not Ruby that's slow, it's your database -
…on IO. Each bit of native code performing IO has to explicitly release it like in the pg gem here: https://github.com/ged/ruby-pg/blob/fb465855ce1dd12cf7eb69c9... If you don't need high concurrency then using threads is simpler.
comment by jashmatthews · 2020-12-30 · in Ruby 3.0 and the new FiberScheduler interface -
…problem with the intrinsics approach is that lots of this code isn't stdlib but extensions like: https://github.com/ged/ruby-pg/blob/6853309b64852755daed3e9c... I don't really see a good solution here other than lifting the control flow to…
comment by jashmatthews · 2020-01-20 · in Mir: A lightweight JIT compiler project -
…the source code for ruby-rmagick, ruby-pg, nokogiri, or mongrel. https://github.com/rmagick/rmagick https://github.com/ged/ruby-pg https://github.com/tenderlove/nokogiri
comment by uxp · 2011-03-11 · in OS X Isn't for Developers