Skip to content

Refactor the internals of internal/tdp/vm to make it easy to add specialized decoding functions#37

Open
mcy wants to merge 10 commits intomainfrom
mcy/big-refactor
Open

Refactor the internals of internal/tdp/vm to make it easy to add specialized decoding functions#37
mcy wants to merge 10 commits intomainfrom
mcy/big-refactor

Conversation

@mcy
Copy link
Member

@mcy mcy commented Mar 12, 2026

This PR refactors much of hyperpb's internals to make it easy to experiment with alternative implementations for varint and UTF-8 decoding. Specifically, the tdp/vm package now has a number of internal packages that decouple core VM operations, the VM's interpreter, and decoding primitives.

This also includes the following improvements:

  • Requires Go 1.26 and builds with GOEXPERIMENT=simd, to make simd/archsimd usable.
  • Changes external and internal tools to be managed by go tool.
  • Improves upload speed of remote tests in hypertest.
  • hyperstencil can now handle //go:build constraints.

@mcy mcy requested a review from doriable March 12, 2026 20:57
@github-actions
Copy link

github-actions bot commented Mar 12, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedMar 12, 2026, 9:15 PM

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