Skip to content

refactor(dart): new dart implementation#3551

Merged
chaokunyang merged 32 commits intoapache:mainfrom
chaokunyang:refactor_dart_api
Apr 13, 2026
Merged

refactor(dart): new dart implementation#3551
chaokunyang merged 32 commits intoapache:mainfrom
chaokunyang:refactor_dart_api

Conversation

@chaokunyang
Copy link
Copy Markdown
Collaborator

@chaokunyang chaokunyang commented Apr 10, 2026

Why?

Current Dart implementation is messy and not aligned with other languages

What does this PR do?

  • Rewrite the whole dart implementation
  • Keep api aligned with other languages
  • Add dart benchmarks

Related issues

#1017

AI Contribution Checklist

  • Substantial AI assistance was used in this PR: yes / no
  • If yes, I included a completed AI Contribution Checklist in this PR description and the required AI Usage Disclosure.
  • If yes, my PR description includes the required ai_review summary and screenshot evidence of the final clean AI review results from both fresh reviewers on the current PR diff or current HEAD after the latest code changes.

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@chaokunyang chaokunyang changed the title refactor(dart): rewrite xlang runtime around contexts refactor(dart): rewrite dart implementation Apr 10, 2026
@ayush00git
Copy link
Copy Markdown
Contributor

Hii @chaokunyang
are their any architectural changes happening in the runtimes?

@chaokunyang
Copy link
Copy Markdown
Collaborator Author

Hii @chaokunyang are their any architectural changes happening in the runtimes?

It's mostly api refactor to align with other languages. We are preparing for fory 1.0.0 release, I don't want to introduce breaking changes in future

@ayush00git
Copy link
Copy Markdown
Contributor

It's mostly api refactor to align with other languages. We are preparing for fory 1.0.0 release, I don't want to introduce breaking changes in future

are there any public pre-release docs for that update?

@chaokunyang
Copy link
Copy Markdown
Collaborator Author

For dart, we will write docs based on new api. and for javascript, we also need new docs. for other languages, we need more checks on existing api and docs

@yash-agarwa-l
Copy link
Copy Markdown
Contributor

Hi @chaokunyang, since this rewrites the Dart API I've been working with. Is there anything I can help with here, testing, docs, or any follow-up tasks once this is complete? Happy to pick up whatever's useful.

@chaokunyang chaokunyang changed the title refactor(dart): rewrite dart implementation refactor(dart): new dart implementation Apr 12, 2026
@chaokunyang
Copy link
Copy Markdown
Collaborator Author

Hi @chaokunyang, since this rewrites the Dart API I've been working with. Is there anything I can help with here, testing, docs, or any follow-up tasks once this is complete? Happy to pick up whatever's useful.

The performance can be optimized further, especially for struct.

@chaokunyang chaokunyang merged commit d3455af into apache:main Apr 13, 2026
68 checks passed
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.

4 participants