Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Support for other Ruby implementations #20

Description

@eregon

Deep Clone seems to heavily depend on internals that MRI itself does not expose.

I think the best way to support other Ruby implementations such as TruffleRuby and JRuby would be to use a pure-Ruby fallback using Marshal.load Marshal.dump(obj) on any implementation where RUBY_ENGINE != "ruby".
Do you think this could be done in this gem?
Then it would work transparently on other Ruby implementations.

From truffleruby/truffleruby#2073

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions