Remove 'Base' as a dependency - #1663
Open
WardBrian wants to merge 5 commits into
Open
Conversation
3 tasks
nhuurre
reviewed
Aug 11, 2026
WardBrian
force-pushed
the
std/remove-core
branch
from
August 12, 2026 13:57
cfe50a0 to
9d80ee9
Compare
WardBrian
force-pushed
the
std/remove-core
branch
2 times, most recently
from
August 12, 2026 16:03
9d80ee9 to
096bed4
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## std/middle #1663 +/- ##
==============================================
+ Coverage 92.13% 92.26% +0.13%
==============================================
Files 70 69 -1
Lines 10140 10124 -16
==============================================
- Hits 9342 9341 -1
+ Misses 798 783 -15
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #1655
This is the ultimate conclusion of the patch sequence #1643 #1644 #1650 #1652.
After updating to 5.5, Base was providing us (up to renaming) essentially just:
These are all easy to provide ourselves, which means we can remove the dependency entirely.
The binaries produced with
dune build --profile releasefrom this branch are 12mb, down from 15mb onmaster. Shockingly, they're also the same speed if not faster (especially when running optimizations):Javascript builds are down to 16mb from 19mb, with minified sizes roughly the
same.
Submission Checklist
Release notes
Decreased our dependence on third-party libraries.
Copyright and Licensing
By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)
Stack created with GitHub Stacks CLI • Give Feedback 💬