←back to thread

Microsoft Edit

(github.com)
486 points ethanpil | 8 comments | | HN request time: 1.849s | source | bottom
Show context
pxc ◴[] No.44372814[source]
I used to recommend micro[1] to people like those in the target audience of this editor. I wonder if that should change or not.

--

1: https://micro-editor.github.io/

replies(5): >>44373245 #>>44374404 #>>44374937 #>>44381163 #>>44384221 #
1. prmoustache ◴[] No.44374404[source]
Last time I checked, micro should have been called macro based on the binary file size.
replies(3): >>44375356 #>>44375645 #>>44378551 #
2. 3836293648 ◴[] No.44375356[source]
Well, it is orders of magnitude larger than nano, so...
3. sime2009 ◴[] No.44375645[source]
Seriously? We're going to complain about a couple megs in a text editor in the year 2025?
replies(2): >>44378803 #>>44381755 #
4. pxc ◴[] No.44378551[source]
Isn't the relatively large binary just because it's written in Golang? Go executables each ship their own copy of the Go runtime. That alone accounts for a big chunk of small programs like this.

Nano also links against ncurses, which is about as big as the compressed tarball for micro. I'm looking at the dependency closures of each right now in nix-tree[1], and micro's closure's total size is 15.04 MiB while nano's is 12.78 MiB-- not really "orders of magnitude" (as a sibling commenter suggests) when you look at it like that.

Admittedly, nano's dependencies (`file` and `ncurses`, on my system) are likely to ship as part of the "base system" of any Linux distro anyway; the real size it adds to any distro is negligible. But there's no indication to me that micro is meaningfully "bloated", as the meme goes; it seems like what is required to run it is reasonable and comparable to other tools that serve the same purpose.

--

1: See: https://github.com/utdemir/nix-tree ; Try `nix run nixpkgs#nix-tree -- $(nix build --no-link --json nixpkgs#nano | jq -r .[0].outputs.out)`

replies(2): >>44380211 #>>44381726 #
5. mixmastamyk ◴[] No.44378803[source]
Yes, couldn’t use on my router because of its size. No reason for a TUI to be so big. Advanced features outside of syntax highlighting not useful. Should have a light version.

I installed nano with CUA keybindings instead.

6. ◴[] No.44380211[source]
7. prmoustache ◴[] No.44381726[source]
The reason may help understand why but it is not really interesting from the point of view of the user or those packaging it with their OS.
8. prmoustache ◴[] No.44381755[source]
Like my mother say. Small stream makes huge rivers.

Not caring about a couple of megs here and there is what makes some modern systems so bloated.