nobu / ruby-lang.org wrote:
> The new function looks fine to me, but why deprecating `rb_autoload`?

In general, I prefer to make the C API smaller so it is easier to
support and improve Ruby internals.  The rb_autoload API is also
tricky/dangerous with RSTRING_PTR use because of GC.

Since declaring autoload is not performance-critical, users who
need autoload from C-ext can use rb_funcall instead.

> We used to append `_str` in many cases, IIRC.

So rename rb_autoload_value => rb_autoload_str?