Live data from Hacker News

Show HN: Fresh – A new terminal editor built in Rust

sinelaw.github.io

131–140 of 158 posts

Re: Show HN: Fresh – A new terminal editor built in Rust

#131
post #82
post #78

Dear Santa, this year I don’t need gadgets - all I want is a Borland Turbo Vision–style console text editor with windows, tabs, and syntax highlighting. I promise to be good and keep my code compiling.

Something like this? https://github.com/magiblot/turbo

yes, but "real"

Re: Show HN: Fresh – A new terminal editor built in Rust

#132

Earlier quoted context omitted.

Vim and Emacs run in the terminal perfectly well.

I'm a big emacs user for many years but the amount of config tweaking and package installation needed (for me) is too much. And I never made it past the elisp learning curve

Genuinely curious why you're tweaking your configuration so frequently. I've been an emacs user for ten years now, and I've settled on a configuration that works. I hear this a lot, too, and I just can't figure out why people need to edit their .emacs file so much.

Re: Show HN: Fresh – A new terminal editor built in Rust

#133

Earlier quoted context omitted.

I'm a big emacs user for many years but the amount of config tweaking and package installation needed (for me) is too much. And I never made it past the elisp learning curve

Genuinely curious why you're tweaking your configuration so frequently. I've been an emacs user for ten years now, and I've settled on a configuration that works. I hear this a lot, too, and I just can't figure out why people need to edit their .emacs file so much.

Either because I move to a new machine, or because new version of emacs breaks some (no longer maintained) packages

Re: Show HN: Fresh – A new terminal editor built in Rust

#134
Dear Noam,

I remember your nickname from the Infernu project of yours. It was one of the best attempts at typechecking JavaScript I've ever seen, and it's as needed in modern days of TS team going insane as it never has been.

The things we don't really need more of are editors, CLI software, or Rust software.

Please reconsider your goals.

Re: Show HN: Fresh – A new terminal editor built in Rust

#136
post #78

Dear Santa, this year I don’t need gadgets - all I want is a Borland Turbo Vision–style console text editor with windows, tabs, and syntax highlighting. I promise to be good and keep my code compiling.

How 'bout the editor that ships with Lazarus?

Re: Show HN: Fresh – A new terminal editor built in Rust

#137
post #12

Earlier quoted context omitted.

I get the frustration, but I think the npm option actually makes sense here. A lot of users who’d benefit from a fast Rust tool aren’t Rust developers and won’t have Cargo installed. Shipping it through npm lowers the barrier while still giving everyone the performance benefits. It’s not a knock on Cargo, just a way to make the tool more accessible.

Given the fairly shoddy security story with NPM, I genuinely don't understand the hesitation to publish a binary and have a README instruction to curl/wget it into `/usr/local/bin` or `~/.local/bin`. If it's going through NPM that publishing step has to be done already, unless the NPM build is pulling down rust to compile it all as a native extension. Eventually it'd wangle it's way into homebrew or the unstable bran…

Take a look at [topgrade](https://github.com/topgrade-rs/topgrade) which can run all of the package managers for you in one go.

Re: Show HN: Fresh – A new terminal editor built in Rust

#138
post #106
post #98

Earlier quoted context omitted.

npm is certainly not something everyone has.

Not everyone it's a web developer. Sysadmin and system programmers (and older millenials) don't care and don't want to install anything related to NPM.

Friends don't let friends install npm

Re: Show HN: Fresh – A new terminal editor built in Rust

#139

Wow... the first impression is nice, but does this actually have 544 dependencies? Is it just me, or does that seem excessive for a TUI?

It does and it boils down to deno (typescript plugin support)

I hate it, and I'll keep working on reducing it

Re: Show HN: Fresh – A new terminal editor built in Rust

#140

I'm a little annoyed that for a Rust based tool the recommended installation command is to use npm. Why? Is Cargo not good enough? Cargo seems exceptionally well to me.

I took the feedback and now you can install binaries in any of these methods:

- Homebrew (MacOS)

- Arch Linux AUR

- Debian/Ubuntu .deb

- Fedora/RHEL .rpm

as well as cargo install (which builds from source), npm, npx or building from source by cloning

Post reply on HN