-
Notifications
You must be signed in to change notification settings - Fork 123
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
Web support vol.2 #190
base: main
Are you sure you want to change the base?
Web support vol.2 #190
Conversation
Eagerly awaiting web support. Would be great to see the package with all platform support on pub dev. |
What is the current progress? The last commit is nearly half a year ago. Is there any obstacle? What can I help with? |
@vaind Did you have any initial perf results yet? We go with TypeScript, right? For web, I would even go forward with TypeScript if it would be significant slower that some Dart only thing (which seems quite unlikely unless there's some Dart quirk), so would not spent more time on Dart vs TS perf tests. The scope of this PR should be a minimal Box APIs working; i.e. Box TypeScript API using IndexDB wrapped by Dart. Right? Update: deferred the target architecture discussion to here. |
no, these TODOs are up to date |
Looks like dart (compiled to javascript) may end up being faster than plain javascript:
So it's not a clear decision (from the performance perspective) unless a small benchmark is created. |
No need. As I've mentioned before, the decision about the tech stack is not primarily about nuances of JS performance. |
Yes, in that case I agree TS might more useful (for future reuse) albeit a bit harder to implement than plain-dart solution |
Any progress on this? @vaind |
Found this This if it can be of help. ! |
Part of #185
TODO:
webpack
& dart-js code interop (including generator)