ianks (Ian Ker-Seymer)
- Login: ianks
- Registered on: 11/10/2018
- Last sign in: 06/25/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
06/25/2026
-
06:49 PM Ruby Feature #22128: C API: Expose RB_OBJ_SET_FROZEN_SHAREABLE
- I came to a similar conclusion when trying the send `Time` across Ractor ports:
``` c
/* before: walk each moved object's refs under the VM lock, on every move */
for (size_t i = 0; i < obj->ref_count; i++)
if (!rb_ractor_sha...
05/01/2025
-
05:27 PM Ruby Misc #21299 (Closed): Proposal: Remove `continuation` gem
- Continuations have been obsolete since Ruby 2.2 but still add complexity to the core codebase. I propose removing all continuation support from Ruby Core.
### Reasons
#### Simplifies fiber code
- Current fiber code in `cont.c`...
05/28/2023
-
02:19 AM Ruby Feature #19057: Hide implementation of `rb_io_t`.
- > With one tweak: not int rb_ioptr_descriptor(struct rb_io *ioptr); but int rb_io_descriptor(VALUE io);.
> ...
I have mixed feelings about this. On one hand, it does successfully hide the implementation. On the other, casting pointers t...
05/06/2023
-
05:31 AM Ruby Feature #19236: Allow to create hashes with a specific capacity from Ruby
- I worry that new Rubyists might be confused with the `Hash.new(capacity: n)` semantics.
For example, `Hash[capacity: 5]` can look very similar to `Hash.new(capacity: 5)`. It wouldn’t be unreasonable to assume they are the same thing… ...
05/04/2023
-
06:49 AM Ruby Feature #19627 (Closed): Ensure the VM is alive before accessing objspace in C API
- Applied in changeset commit:git|2f9f44f077a53b14aa1fbd43111955251750d31f.
----------
Ensure the VM is alive before accessing objspace in C API (Feature #19627)
[Feature #19627] -
06:48 AM Ruby Revision 2f9f44f0 (git): Ensure the VM is alive before accessing objspace in C API (Feature #19627)
- [Feature #19627]
05/03/2023
-
03:01 AM Ruby Feature #19627: Ensure the VM is alive before accessing objspace in C API
- For documentations sake, [he's a real world reproduction of this issue that happens when calling TLS destructors](https://github.com/bytecodealliance/wasmtime-rb/actions/runs/4850597226/jobs/8643651566?pr=181). In Ruby < 3.3-dev, I'm abl...
-
02:23 AM Ruby Feature #19627: Ensure the VM is alive before accessing objspace in C API
- That’s a good idea. I’ll put a patch up for that.
So far I’ve encountered this issue this issue in `rb_gc_adjust_memory_usage` and `rb_during_gc`, so I still think having the ability to check for a Ruby VM is important for writing ro...
05/01/2023
-
11:29 PM Ruby Feature #19627 (Closed): Ensure the VM is alive before accessing objspace in C API
- Currently, there is no supported way to check if the Ruby VM has been shut down. There are a couple of workarounds that I know of:
1. Setup an exit handler which sets a global variable (like I did in https://github.com/tmm1/stackprof/...
02/01/2023
-
06:03 AM Ruby Feature #19315: Lazy substrings in CRuby
- > It seems a good idea to introduce a variant of `RSTRING_PTR` which doesn't guarantee \0-termination, so such callers can then use the existing bytes always without copy.
It would be nice to have a way to get the raw parts of a strin...