[#101179] Spectre Mitigations — Amel <amel.smajic@...>
Hi there!
5 messages
2020/12/01
[#101694] Ruby 3.0.0 Released — "NARUSE, Yui" <naruse@...>
V2UgYXJlIHBsZWFzZWQgdG8gYW5ub3VuY2UgdGhlIHJlbGVhc2Ugb2YgUnVieSAzLjAuMC4gRnJv
4 messages
2020/12/25
[ruby-core:101274] [Ruby master Feature#16827] C API for writing custom random number generator that can be used as Random objects
From:
muraken@...
Date:
2020-12-07 02:16:26 UTC
List:
ruby-core #101274
Issue #16827 has been updated by mrkn (Kenta Murata). Status changed from Open to Closed Closed by af5e87ab218c5f4e34c6cdb54ae119a7f0f9033f ---------------------------------------- Feature #16827: C API for writing custom random number generator that can be used as Random objects https://bugs.ruby-lang.org/issues/16827#change-88954 * Author: mrkn (Kenta Murata) * Status: Closed * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) ---------------------------------------- I want to write custom random number generators (RNGs) that can be used as an alternative to a Random object. Now custom RNGs with `#rand` method can be used for that purpose, but there is the method call overhead in the current implementation because `#rand` method is called through `rb_funcallv_public`. I want C API for writing RNGs because all of the random number generator algorithms I want to write are originally written in C. Nobu already created [a pull-request](https://github.com/ruby/ruby/pull/3024) for such purpose. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>