ruby / ruby/resolv

Reimplement extension using fiddle

Open
#88 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
56
Forks
41
Avg merge
2h 38m
Merged PRs (30d)
7

Description

A native extension was recently added just for Windows that's less than 100 lines of code. Given the simplicity of the extension, perhaps it could be reimplemented using fiddle? It would allow it to be used on any Ruby implementation with fiddle support and resolve #87 without having to release a stub gem.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating and reading the Windows-only native extension described in the issue, then review issue #87 for the stub-gem context. Compare its small implementation with Ruby's Fiddle support across Ruby implementations. Done means the extension is replaced with a portable Fiddle implementation and the need for a stub gem is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
networking
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.