Live data from Hacker News

Unix as IDE (2012)

blog.sanctum.geek.nz

71–72 of 72 posts

Re: Unix as IDE (2012)

#71
post #26
post #5

Earlier quoted context omitted.

I agree that PowerShell is theoretically better since it can deal with structured data. But in practice, I could never get as efficient with it as I could with "the Unix way" (everything is a string). If I was writing a "production" script, then it's better. But when I'm just trying to quickly do something on the command line, the "everything is a string" approach is good enough.

The thing that we'd ideally want to happen, but will probably never will unless a mad person does it, would be to have something that wraps around a POSIX shell, and extends it in a sort of non-compatible way. Let's call this new tool $NEWSH. Larry Wall basically tried to do this with Perl but I guess his vision was too lax for such a pursuit, Perl tried to be everything, all at once. What I mean by this new approach…

I think it would sort of be like GNU. Stallman created the tools before the kernel because without tools it’s got no value.

You need the programs to make this hypothetical shell useful. That’s structuring the output of pretty much every program as data and passing it through as data conserving types. That’s arguably a very large barrier to entry.

Re: Unix as IDE (2012)

#72

Earlier quoted context omitted.

Agreed, though i prefer in-built multiplexing like in Wezterm to tmux on macos for performance reasons.

I've used tmux and vim/nvim on macOS and never experienced performance issues but I'm really curious about your experience, could you share more details?

I have no measurements or anything but if I open a file in neovim within tmux, I get more lag than if I open the file directly without tmux in between. I've seen people on github having similar issues
Post reply on HN