Georuby-pip is a project mainly written in RUBY and C, it's free.
GeoRuby extension for asking whether a given point lies inside a polygon
To compile extension do:
$ ruby extconf.rb $ make