Skip to content

Refactor external API to ease extension porting#8145

Merged
headius merged 5 commits intojruby:9.5-devfrom
headius:new_api
Mar 27, 2024
Merged

Refactor external API to ease extension porting#8145
headius merged 5 commits intojruby:9.5-devfrom
headius:new_api

Conversation

@headius
Copy link
Member

@headius headius commented Mar 6, 2024

This is a proof-of-concept of a new external API that meets the following needs:

  • Simple static methods easily imported and used from extension code, similar to C functions.
  • JRuby and MRI-friendly names for 1:1 matching with extension code when that makes porting easier.
  • Update to modern JRuby standards with ThreadContext and call site cache support.

@headius headius added this to the JRuby 9.5.0.0 milestone Mar 6, 2024
@headius headius changed the base branch from master to 9.5-dev March 6, 2024 19:18
@headius headius force-pushed the new_api branch 2 times, most recently from ea46538 to dd17da3 Compare March 6, 2024 19:20
These functions are not internal; they are functions for working
with internal types.
@headius headius marked this pull request as ready for review March 27, 2024 21:38
@headius headius merged commit a5dadda into jruby:9.5-dev Mar 27, 2024
@headius headius deleted the new_api branch March 27, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant