Skip to content
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

Compile builds with tinygo for reasonable system file sizes #406

Open
coolaj86 opened this issue May 3, 2024 · 1 comment
Open

Compile builds with tinygo for reasonable system file sizes #406

coolaj86 opened this issue May 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@coolaj86
Copy link

coolaj86 commented May 3, 2024

Is your feature request related to a problem? Please describe.

It's hard to get Linux users / sysadmins on board with a "text editing" tool that weighs in a a dozen+ megabytes.

Describe the solution you'd like

Go will yield reasonable file sizes when compiled with tinygo:

(caveat: reflection isn't supported, so the default json package can't be used)

Describe alternatives you've considered

Wrapping git config in a Shell script. An ini parser written in Zig.

Additional context

It's not a thing that many web or cloud guys get, but in the sysadmin community, exorbitantly large binaries are a red flag. CLI text editors are expected to be kilobytes in size.

@coolaj86 coolaj86 added the enhancement New feature or request label May 3, 2024
@TomWright
Copy link
Owner

(caveat: reflection isn't supported, so the default json package can't be used)

This caveat causes quite the problem - A large majority of code in dasel uses reflection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants