kirs (Kir Shatrov)
- Login: kirs
- Email: shatrov@me.com
- Registered on: 10/09/2014
- Last sign in: 10/21/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 8 | 10 |
Activity
10/21/2024
-
06:50 AM Ruby Feature #20805 (Feedback): Allow Ractor#send from a signal trap Proc
- It was surfaced in https://bugs.ruby-lang.org/issues/18139 that Ractor is designed to "unexpected interruption free" and it's not supposed to have a `kill`-like method.
A better alternative to that would be allow the main Ractor to co...
03/26/2022
-
09:50 AM Ruby Bug #17489: Ractor segfaults
- wanabe (_ wanabe) wrote in #note-6:
> It seems be a autoload on non-main Ractor problem [Bug #18120].
> ...
That's great news!
I wish I knew how to close this ticket. Not sure I have permissions to do that...?
09/26/2021
-
08:06 PM Ruby Bug #18193 (Closed): Accessing global configuration from Ractors
- Consider a very common Ruby code with `attr_accessor` on a class:
``` ruby
class GlobalConfig
class << self
attr_accessor :option
end
end
GlobalConfig.option = 123
GlobalConfig.freeze
puts GlobalConfig.frozen? # =>...
04/22/2021
-
02:51 AM Ruby Revision 53d153e4 (git): [ruby/time] Make Time friendly to Ractor
- https://github.com/ruby/time/commit/c784e4f166
12/29/2020
-
09:12 AM Ruby Bug #17477: Ractor and pp incompatibility
- marcandre (Marc-Andre Lafortune) wrote in #note-4:
> I wrote a similar opinion to Martin Dürst's in #17420. I propose that we comment there (simply because the issue is older and more general)
Thanks, I wasn't aware of #17420. Should...
12/28/2020
-
09:27 PM Ruby Bug #17420: Unsafe mutation of $" when doing non-RubyGems require in Ractor
- (coming to this bug from https://bugs.ruby-lang.org/issues/17477)
I think it's fine to force `require` to be called only from the main thread/ractor, at least for now. I can imagine that would simplify a lot of things.
I'd like to ... -
09:23 PM Ruby Bug #17489 (Closed): Ractor segfaults
- I was able to boil it down to this script:
```ruby
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem "sinatra", "~> 2.1"
end
require 'sinatra'
class App < Sinatra::Base
get '/' do
200
en...
12/27/2020
-
08:14 AM Ruby Bug #17477 (Closed): Ractor and pp incompatibility
- ```ruby
r = Ractor.new do
pp("foobar")
end
Ractor.select(r)
```
fails with:
```
#<Thread:0x00007f973414a050 run> terminated with exception (report_on_exception is true):
<internal:/opt/rubies/3.0.0/lib/ruby/3.0.0/rubygems/...
10/02/2020
-
08:44 AM Ruby Feature #17145: Ractor-aware `Object#deep_freeze`
- I'd really like to support this change for reasons I've describe in https://bugs.ruby-lang.org/issues/17180
We can take something as simple as `URI::parse("http://example.com")` as an example. Right now that can't be used from a Ractor ...
09/19/2020
-
09:33 PM Ruby Misc #17180: Ractor and constant referencing
- Another example:
```ruby
Person = Struct.new(:name)
CREATOR = Person.new("Matz").freeze
parser = Ractor.new { CREATOR }
Ractor.select(parser)
```
```
./test.rb:12:in `block in <main>': can not access non-sharable objects in constant O...