!vyEDBdbmzqApWaugdd:matrix.org

jruby

95 Members
Get 9.4.6.0! http://jruby.org/ | http://wiki.jruby.org | http://logs.jruby.org/jruby/ | http://bugs.jruby.org | Paste at http://gist.github.com27 Servers

Load older messages


SenderMessageTime
25 Apr 2024
@headius:matrix.orgheadiuscould be we need to return something that can to_s better than FFI::Pointer18:59:29
@enebo:matrix.orgeneboyeah I need to run between MRI and us to track each thing down18:59:34
@headius:matrix.orgheadiusor FFI::Pointer needs a better to_s18:59:36
@enebo:matrix.orgenebocould be ... it may be this is FFI to_s behavior though19:00:04
@enebo:matrix.orgeneboin which case we will need to wrap the pointer into something else19:00:18
@enebo:matrix.orgeneboin fact it is a bit weird to get another libraries return type here but I guess that may be how it will work19:00:41
@enebo:matrix.orgenebolol I can get every value out of that pointer but the real one19:07:23
@enebo:matrix.orgenebook fiddle seems to work in smaller subsets but it is a bigger project19:07:49
@headius:matrix.orgheadiusyeah no doubt about that19:13:40
@enebo:matrix.orgeneboin this case the lhs of strcpy did the right thing. It is just testing the ptr returned from it19:16:39
@enebo:matrix.orgeneboI think that pointer is a pointer to our JRuby string since the lhs was an existing string19:17:17
@enebo:matrix.orgeneboLikely this is us not representing a pointer for something not really a pointer19:17:47
@enebo:matrix.orgeneboanyways there is some serious work needed to figure this out19:18:18
@headius:matrix.orgheadiusYeah I'm glad you managed to do what you could but I suspect the long-term best option would be to port the C version so we can track changes and match all behavior19:19:14
@headius:matrix.orgheadiusIt's probably still possible to do in Ruby with ffi but it might be almost as much work and it's certainly won't perform well19:19:40
@enebo:matrix.orgeneboI mean they are a fairly reasonable set of mappings into libc and struct tests19:19:42
@enebo:matrix.orgeneboif we passed those I am not sure we would need a strict port19:19:56
@enebo:matrix.orgeneboI am just unsure if ffi is capable or not in cases19:20:15
@headius:matrix.orgheadiusMaybe not as bad as I think?19:20:26
@headius:matrix.orgheadiusYeah I don't know. I've only ever done small patches to it19:20:38
@enebo:matrix.orgeneboyeah this is like a week long sit side by side between us and MRI and see where we are wrong19:21:06
@enebo:matrix.orgeneboA couple of fixes likely will make a lot more work19:21:20
@enebo:matrix.orgenebothat pointer thing is a bit weirder to understand19:21:33
@enebo:matrix.orgeneboin MRI it is obviously simpler since it will just be a pointer19:21:49
@headius:matrix.orgheadiusyeah method by method and make the Ruby match19:34:56
@headius:matrix.orgheadiuseager constant change is merged to master and I pushed this for 10: https://github.com/jruby/jruby/pull/821419:38:17
@headius:matrix.orgheadius enebo: I think all my fixes are merged in and remaining bugs post-9.4.6.0 are either filed by me or still need more help from the reporter 19:46:12
@headius:matrix.orgheadiusyou have anything else you think I should look at for 9.4.7.019:46:23
@headius:matrix.orgheadius?19:46:25
@enebo:matrix.orgeneboI don't think so19:52:50

There are no newer messages yet.


Back to Room ListRoom Version: 1