Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unify / Simplify module registration

Open
#220 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust
Domain
backend

Research direction

Review the four module forms listed in the issue and the discussion originating from pull request #45. Compare their resolution order and identify a unified or simpler registration model; done means the desired evolution is agreed and the registration behavior is specified.

Written by the indexing model from the issue text.

Description

lifecycle/needs-review

With this change we now have 4 different type of modules (resolved in this order):

  • host:<name> modules for host function calls
  • user:<name> / <ns>:<name> for registedred modules
  • <name> for native modules
  • ./<path> / ../<path> for modules in the "filesystem"

I wonder if we could unify this or simplify it somehow. I think it's ok for this PR, but we should discuss how we want to evolve this.

Originally posted by @jprendes in https://github.com/hyperlight-dev/hyperlight-js/pull/45#pullrequestreview-4611318439

Dominant language
Rust
Stars
13
Forks
5
Avg merge
8d 4h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

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.

More from hyperlight-dev/hyperlight-js

All issues in hyperlight-dev/hyperlight-js

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.