Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:40
    kares review_requested #5880
  • 06:40
    kares review_requested #5880
  • Sep 19 21:42
    headius synchronize #5764
  • Sep 19 21:37

    headius on master

    Minor cleanup. HEADIUS (compare)

  • Sep 19 20:27

    headius on master

    Add home and pwd .jruby.java_op… Merge branch 'master' into dotf… Enhancements for @argument file… and 12 more (compare)

  • Sep 19 20:27
    headius closed #5826
  • Sep 19 20:23
    headius synchronize #5826
  • Sep 19 16:58

    headius on master

    Implement childNodes for Ration… Tidy up some warnings. func /b… (compare)

  • Sep 19 16:57
    headius synchronize #5826
  • Sep 19 14:48
    headius synchronize #5826
  • Sep 19 14:40
    headius synchronize #5826
  • Sep 19 14:01
    nateberkopec opened #5883
  • Sep 19 13:03
    deivid-rodriguez edited #5882
  • Sep 19 11:11
    deivid-rodriguez opened #5882
  • Sep 19 03:27
    headius milestoned #838
  • Sep 19 03:27
    headius closed #838
  • Sep 19 03:27
    headius commented #838
  • Sep 18 15:05
    DAMisener commented #5553
  • Sep 18 15:05
    DAMisener closed #5553
  • Sep 18 09:10
    estolfo opened #5881
Charles Oliver Nutter
@headius
last mile is getting all those autoload, loaded feature, and require lock transitions to work together...MRI gets to cheat here without parallel threads
Xavier Noria
@fxn
@headius do you know about that question re implementing part of a gem in C and in Ruby in a way that can be installed under JRuby? runtime would select the impl
Charles Oliver Nutter
@headius
Hmmm
Generally there's not a simple way...but I think you can stub out extconf on JRuby to do nothing?
Xavier Noria
@fxn
what if I set spec.extensions conditionally in the gemspec?
Charles Oliver Nutter
@headius
that won't work because it's published with a static version of the gemspec I believe
this is why we have to split JRuby gems out as -java platform
it would be easy to include a JRuby version of that ext, btw...I am guessing it's pretty small
do you have that code pushed anywhere?
Xavier Noria
@fxn
oh, you're write, didn't not realize the .gem does not include the gemspec but a frozen version of it in YAML or something (metadata)
Charles Oliver Nutter
@headius
right
I sympathize with not wanting to ship two gems...the extconf way might work fine though
Xavier Noria
@fxn
pretty straightforward, I would like to implement https://github.com/fxn/zeitwerk/blob/master/lib/zeitwerk/inflector.rb#L16
I could do that in C with one single buffer and a simple loop
Charles Oliver Nutter
@headius
yeah the code would be almost identical in JRuby
Xavier Noria
@fxn
cool, I'll research a bit the options, thanks man!
Charles Oliver Nutter
@headius
sure, let me know if you have any issues!
claudiucancode
@claudiug
@headius great news!
@headius a post about performance also will not hurt :P
Charles Oliver Nutter
@headius
@claudiug Yeah I'll do one of those soon too, probably summarizing web app performance we've been showing at conferences
Have you managed to catch any of our recent talks? We show off a few different scales of apps and how we compare to other impls
@claudiug Most of the details that would go in a post can be seen here: https://speakerdeck.com/headius/scalable-apps-with-jruby?slide=48
claudiucancode
@claudiug
@headius lately not, you will be at ruby conf from usa?
Charles Oliver Nutter
@headius
Indeed, with all the latest updates and benchmarks
claudiucancode
@claudiug
great!
do you plan to add project fibers from jvm to jruby, now are just treads, and is simple to hit the limits?
I know that there is some work on jvm, for this, project loom, or similar name, but that's pre beta I guess
Charles Oliver Nutter
@headius
Absolutely, and I don't think it would take much work to start using the fiber support from project loom. It just hasn't been on a critical path because people aren't going to be able to run it for some time
We've only got two FTE on this project after all :-)
claudiucancode
@claudiug
sorry to ask, FTE?
Charles Oliver Nutter
@headius
full-time employee
claudiucancode
@claudiug
aaa
Charles Oliver Nutter
@headius
every other active Ruby impl has more than that
claudiucancode
@claudiug
yes, compare to others
you guys are doing herculian work
Charles Oliver Nutter
@headius
thank you!
claudiucancode
@claudiug
you should consider sponspor from hithub
github*
Charles Oliver Nutter
@headius
yeah there are some JRuby users out there that would probably be willing to sponsor some work too
claudiucancode
@claudiug
there is no roadmap or help need it for areas on jruby?
similar with the google summer of code, where you have some students or devs with free time, and try to add some love in some areas of jruby
Charles Oliver Nutter
@headius
hmm well roadmap wise we have some issues open for Ruby 2.6 and 2.7 features, and of course tons of user-reported issues
roadmap for us is generally just "keep up with CRuby" and do optimization work where we can
I'd have to give some thought to specific projects we could hand off to others
claudiucancode
@claudiug
there is any issue with missing feature to implement on jruby from 2_6, 2_7 branch on ruby?
claudiucancode
@claudiug
@headius saw the slides! congrats on numbers, if you manage to make it even faster, now with better startup, and next year some native stuff, well, jruby should be the number of choice if you want speed, good memory usage, and tooling from jvm
Charles Oliver Nutter
@headius
Yeah that's the goal! We certainly can keep improving startup, though for larger apps we're not that far off from CRuby right now
And performance...we've got so much we could do, but we have to mix it in with supporting production users
having users is a mixed blessing 😀