Skip to content
Discussion options

You must be logged in to vote

The size is mostly due to tree-sitter. Flow is a batteries included binary with zero additional files needed after download. 120Mb is actually pretty tiny. Most tree-sitter editors require several GB with the same set of languages installed. The huge advantage of the way flow does it is trivial deployment. All you need is one single file (for your arch at least). You can, just for example, map just the flow binary directly into a docker container and it's installed.

In any case, you have a few options to reduce the binary size:

  • Compress flow with upx: this will give you a binary size of around 11Mb (without debug info)
  • Build flow without tree-sitter: zig build -Duse_tree_sitter=false -Do…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@K1DV5
Comment options

@heksesang
Comment options

@neurocyte
Comment options

Answer selected by COD3HUNT3R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants