<byteit101[m]> ominous: * @shyouhei doesn't think there is any needs of this function for 3rd party
<byteit101[m]> * extension libraries.
<byteit101[m]> How can I let MRI people know that I will be using rb_io_set_write_io so they don't deprecate it on us?
<byteit101[m]> Oh hmm... can I get access to the current thread via the c api?
<headius> byteit101: I would assume so but I don't know the API well
<headius> -XX:-PerfDisableSharedMem seriously
<headius> worth playing with though... we trigger lots of jit and gc and probably a large amount of performance counters as a result
<headius> I did some exploration of json dumping and came around to the idea of using Panama native memory APIs to back a String that can exceed 2GB
<headius> a workable project as of JDK 19, might be time to start playing with it
<byteit101[m]> I found GET_THREAD() in the x86_64-linux/rb_mjit_min_header-3.0.0.h header, but nowhere else, and it seemed suspicously not api
<headius> yeah sounds pretty sketch
<byteit101[m]> reimplementing $? seems easier than setting the original $?