Forum: JRuby wanted to use god, any other suggestions?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
89316fb47af779e33e9d36d08a5eddd6?d=identicon&s=25 Robert Brown (rob99)
on 2009-02-17 22:46
(Received via mailing list)
So I just found out that god uses native extensions.  Does anyone know
of
anything similar that will work under jruby?

A related question:  is it possible to have long-running, time-event
driven
processes run jruby scripts under glassfish?  Any pointers on how to do
that
would be appreciated.


Thanks,

--
View this message in context:
http://www.nabble.com/wanted-to-use-god%2C-any-oth...
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-02-17 22:51
(Received via mailing list)
rob08 wrote:
> So I just found out that god uses native extensions.  Does anyone know of
> anything similar that will work under jruby?

What native extensions does it use? What a pain. You should see if
there's any way we can help the God author move away from that.

> A related question:  is it possible to have long-running, time-event driven
> processes run jruby scripts under glassfish?  Any pointers on how to do that
> would be appreciated.

Other have various solutions, I'll let them cover this.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
89316fb47af779e33e9d36d08a5eddd6?d=identicon&s=25 Robert Brown (rob99)
on 2009-02-17 23:19
(Received via mailing list)
> What native extensions does it use? What a pain. You should see if
> there's any way we can help the God author move away from that.

I'm a bit out of my depth looking at the c source but I see the
following:
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/connector.h>
#include <linux/cn_proc.h>
#include <errno.h>

I guess I'll send the author an email but I'm not optimistic....

--
View this message in context:
http://www.nabble.com/wanted-to-use-god%2C-any-oth...
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
A792891b49d087d9d2286cdf92a048af?d=identicon&s=25 Black Hand (Guest)
on 2009-02-17 23:19
(Received via mailing list)
On Tue, 2009-02-17 at 15:51 -0600, Charles Oliver Nutter wrote:
> rob08 wrote:
> > So I just found out that god uses native extensions.  Does anyone know of
> > anything similar that will work under jruby?
>
> What native extensions does it use? What a pain. You should see if
> there's any way we can help the God author move away from that.

i doubt this, gob is an system monitor similar to monit, thinked for
linux/freebsd/darwin systems, using some characteristics native to this
systems
to do poll and event based conditions Inclusive for better functionality
need
some linux kernel specific options.

too much a system tool that a common ruby program

--
BlackHand




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-02-17 23:20
(Received via mailing list)
rob08 wrote:
> #include <linux/cn_proc.h>
> #include <errno.h>
>
> I guess I'll send the author an email but I'm not optimistic....

Suggest FFI to him :) I bet most of what he's doing could be done
through FFI and work on all impls.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
7c02e94043800ebd486cc25963a47b81?d=identicon&s=25 Jan Berkel (Guest)
on 2009-02-18 13:57
(Received via mailing list)
i think you only need the native extensions for immediate notification
about process status (via netlink). not sure if it will work with
jruby though, as it makes heavy use of ruby to C system calls, haven't
tried it.


On 17 Feb 2009, at 21:46, rob08 wrote:

>
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.