[#101179] Spectre Mitigations — Amel <amel.smajic@...>
Hi there!
5 messages
2020/12/01
[#101180] Re: Spectre Mitigations
— Chris Seaton <chris@...>
2020/12/01
I wouldn’t recommend using Ruby to run in-process untrusted code in the first place. Are people doing that?
[#101694] Ruby 3.0.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 3.0.0. From 2015 we
4 messages
2020/12/25
[ruby-core:101505] [Ruby master Feature#17404] Ractor `move:` API to allow shareability check
From:
ko1@...
Date:
2020-12-18 05:19:00 UTC
List:
ruby-core #101505
Issue #17404 has been updated by ko1 (Koichi Sasada). `#send_ref(message)` and raise an error if message is not a sharable? ---------------------------------------- Feature #17404: Ractor `move:` API to allow shareability check https://bugs.ruby-lang.org/issues/17404#change-89287 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) ---------------------------------------- I'd like to `ractor.send(message)` and express that `message` should be shareable. Currently I'm given two choices: `move: true` and `move: false` / nothing, neither of which have an effect if my `message` is shareable, and neither of which will tell me in case there's a bug in my program and `message` is not shareable. Could we consider a slightly different API (for 3.0 or 3.1)? ```ruby ractor.send(message, pass: :copy) # => like current `move: false` ractor.send(message, pass: :move) # => like current `move: true` ractor.send(message, pass: :share) # => raise in case message is not shareable ractor.send(message) # => same as `pass: :copy` ``` -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>