Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ok, then why do none of the C app servers work in JRuby?


Because the C extension API isn't supported. Or to put it another way, you can call C libraries from JRuby, but you can't write C that calls JRuby. If you want to do that, you would replace it with a Java extension, instead. It's possible to offer "native extensions" for both MRI and JRuby from a gem by providing both via C and Java extensions, though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: