Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert a Go package into Rust #2508

Open
3 tasks done
islamaliev opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2555
Open
3 tasks done

Convert a Go package into Rust #2508

islamaliev opened this issue Apr 9, 2024 · 0 comments · May be fixed by #2555
Assignees
Labels
refactor This issue specific to or requires *notable* refactoring of existing codebases and components
Milestone

Comments

@islamaliev
Copy link
Contributor

islamaliev commented Apr 9, 2024

As a part of endeavour of transitioning to Rust we want to take a sample Go package, convert it to Rust and replace it's usage in Go code. This is the first exploratory task that's why we don't want to take the simplest package. We want to see where challenges might arise early on.

We decided to proceed with connor package which is somewhat small, but reasonably complex.

Here is the list of tasks that needs to be done

  • Convert connor to Rust
  • Define ABI boundaries
  • Replace existing connor code in Go with a layers that conducts communication between boudaries

After this the old connor package in Go won't exist. We don't want to maintain 2 packages.

@islamaliev islamaliev added the refactor This issue specific to or requires *notable* refactoring of existing codebases and components label Apr 9, 2024
@islamaliev islamaliev added this to the DefraDB v0.11 milestone Apr 9, 2024
@islamaliev islamaliev self-assigned this Apr 9, 2024
@islamaliev islamaliev linked a pull request Apr 25, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This issue specific to or requires *notable* refactoring of existing codebases and components
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant