Jump in the discussion.

No email address required.

Orange Site: https://news.ycombinator.com/item?id=34588340

Some funny C++ sperg at the bottom :marseyseethe: :marseylaugh:

Jump in the discussion.

No email address required.

> One of the common refrains is that the Rust community pushes people into doing these sorts of things.

Not the person you asked, but I've never seen anyone claim this happens before.

:marseylaughpoundfist:

Jump in the discussion.

No email address required.

That never happens

No one even claims that ever happens

Jump in the discussion.

No email address required.

imagine having preferences over :marseygiveup: what :marseypregunta: you type computer :marseylaptoppizzashill: words :marseylongpost: into lmao :marseylaughwith:

Jump in the discussion.

No email address required.

oh you pinned it to dunk on me :marseygiveup:

capitalization and position insensitive auto-complete should be a default everywhere.

Jump in the discussion.

No email address required.

nah

the other posts were like nearly a day old on the front page :marsey404:

Jump in the discussion.

No email address required.

I still use bash because I dont care what the frick my shell is as long as it works.

Jump in the discussion.

No email address required.

I use it because I'm just gonna use Python for anything that's too complicated to be done simply in bash.

Jump in the discussion.

No email address required.

I don’t care what you say, zsh is greatly superior to bash and fish users are just deliberately obtuse and contrarian. There are no other usable shells.

Jump in the discussion.

No email address required.

obtuse and contrarian? neighbor it's in your repos.

Jump in the discussion.

No email address required.

It also breaks all of the scripts your team might have created to improve productivity. At least with zsh you can usually fix them with a couple of lines, but fish is so completely out there that any sort of automation someone writes to work with bash needs to be completely rewritten.

The said, it’s probably the best shell for rdrama users because of how neurodivergently obtuse and contrarian it is. I actually do like fish btw, I just don’t have time to rewrite every script my team has ever touched to be compatible.

Jump in the discussion.

No email address required.

Jump in the discussion.

No email address required.

maybe u missed the memo but we don't play w/ carp anymore

Jump in the discussion.

No email address required.

:marseysad:

Jump in the discussion.

No email address required.

brother, just run bash script.sh, the scripts should be declaring #!/usr/bin/env bash in the first place.

Jump in the discussion.

No email address required.

The issue is that my team (and probably a lot of others) has a bunch of little functions that you can use to do day to day tasks specific to the team. We have some script files that declare a bunch of these and assume you’re using bash (most work with zsh). e.g. I can just run “start_test_environment” or whatever instead of setting one up manually.

I don’t know a way to have those execute with bash, but I’ll be pretty happy if someone here has easy way to do this. It’s annoying to have to jump into a different shell to run one command like this.

Jump in the discussion.

No email address required.

Ohh yeah if you're talking about build functions I can't help you there. I thought you were talking build scripts.

I used zsh for years before fish but I'm stuck on Windows for work :marseyitsover: so it doesn't matter what shell I'm using on my desktop or homelab.

Jump in the discussion.

No email address required.

I'm stuck on Windows for work

:marseykneel:

I used fish a lot in grad school, but once I got a job I went back to zsh because I needed something close to what non-neurodivergent people use (my coworkers still think my setup is pretty neurodivergent though). Honestly with the right plugins it's better than fish anyway, in my opinion. fish does a lot of cool stuff, but you can get most of the same features in zsh with better compatibility if you have the right setup.

That said, I never really perfected my fish setup like I have my zsh setup. Maybe I will try it again one day.

Jump in the discussion.

No email address required.

Yeah I haven't daily'd Windows since like 2012 either so I think my manager thinks I'm retarded ("What do you mean the file extension is significant??").

I had a decent zsh setup but it required oh-my-zsh during a :marseytinfoil2: phase and I felt requiring a bunch of random GitHub scripts for my shell. Switched to fish and been using that since. I think we're on the same page that bash is pretty bleh.

Jump in the discussion.

No email address required.

More comments

>I'm stuck on Windows for work

>makes serious critical reply to a systems scripting language

Jump in the discussion.

No email address required.

they have to nerf my powers.

Jump in the discussion.

No email address required.

Omg how insufferable are you to work with?

Whine whine whine the whole time.

Jump in the discussion.

No email address required.

That’s a lot of typing for I’ve touched 3 boobs in my life I didn’t pay for

Jump in the discussion.

No email address required.

Touching a pair counts as 2 boobs right?

Jump in the discussion.

No email address required.

It's actually 4, thank you very much :coomer:

Jump in the discussion.

No email address required.

also I recommend using this https://github.com/koalaman/shellcheck

Jump in the discussion.

No email address required.

That's pretty cool, thanks man

Jump in the discussion.

No email address required.

ZSH is great because it's incremental and backwards compatible where it matters. C++ -> Rust is a massive commitment these junior devs throw around with minor excuses like having to adapt to one shitty wchar_t C++ type that differs cross platform. It shows the quality of the programmers replying and getting upvoted.

The story has to be 100x stronger than even some seriously annoying but singular inconvenience. A whole new language will bring 1000x new minor problems that are 1-10x as bad. After that IRL experienace they'd love to have wchar_t as the actual problem vs the shit they'll bring on with a new language + set of libraries.

Jump in the discussion.

No email address required.

:#marseywholesometrans:

Jump in the discussion.

No email address required.

Worth every dramapenny :marseywholesometrans:

Jump in the discussion.

No email address required.

New favorite marsey! :marseywholesometrans:

Jump in the discussion.

No email address required.

Being written in Rust will help fish continue to be perceived as modern and relevant.

:marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd: :marseynerd:

:marseyeyeroll: ho my GOD we should kill him

Jump in the discussion.

No email address required.

cope irrelevant old neighbor

Jump in the discussion.

No email address required.

stfu newstrag

Jump in the discussion.

No email address required.

keep yourself safe old man

Jump in the discussion.

No email address required.

ur mascot is a crab bc all ur devs have aids

Jump in the discussion.

No email address required.

I can't even code :marseysmoothbrain:

Jump in the discussion.

No email address required.

same lol I only do webdev :marseysmoothbrain:

Jump in the discussion.

No email address required.

:marseysmoothbrain!#: 🤝 :marseysmoothbrain#:

Jump in the discussion.

No email address required.

KILL THE FISH :marseysrdine2:

Jump in the discussion.

No email address required.

they rushed from the grooming phase to the bullying phase too quickly IMO

Jump in the discussion.

No email address required.

Is this the right thread :marseyconfused:

Jump in the discussion.

No email address required.

only usable unix shell

that title belongs to Powershell for Linux

Jump in the discussion.

No email address required.

It seems only Windowcels who haven't had good shells like it. I do like it's designed from first principles - even if being overly verbose.

Jump in the discussion.

No email address required.

I had to daily drive linux for a while and grew to hate bash quickly. Powershell does the job, has the bells and whistles, and it’s great for scripting

Jump in the discussion.

No email address required.

Ah, yeah if you have a .NET based brain that's fair. That shipped sailed for me and I dream in pipes and text :marseyitsover:

bash is butt if you don't modify it.

Jump in the discussion.

No email address required.

what does any of this even mean

WHY ARE SO MANY OF YOU SUCH FRICKIN' NERDS

![](https://media.giphy.com/media/A9KfKenpqNDfa/giphy.webp)

Jump in the discussion.

No email address required.

Bash? Rust?

These guys better start making sense or I'm gonna Bash their heads in with a Rusty hammer

Jump in the discussion.

No email address required.

>Not a xonsh chad

:#marseydisagree:

Jump in the discussion.

No email address required.

:marseythinkorino: Looks neat. How slow is it, being python?

Jump in the discussion.

No email address required.

It's a shell neighbor chill

Jump in the discussion.

No email address required.

Wasn’t an attack honestly curious, thanks for the loop.

I’ve found some alternative shells to be noticeably slower which becomes annoying with how much I use them.

Jump in the discussion.

No email address required.

Ok, I will respond with extreme hostility to any perceived attack on technology I installed in past month on orange site or /g/'s recommendation

Jump in the discussion.

No email address required.

Uhhh, based???

Jump in the discussion.

No email address required.

:marseykingcrown#:

Jump in the discussion.

No email address required.

lol thanks @justcool393 for the pin! :marseybased:

Jump in the discussion.

No email address required.

of course! :)

Jump in the discussion.

No email address required.

I'm sure /g/ will love it. The bait has been planted.

Jump in the discussion.

No email address required.

get a real shell

noooo my shell needs to be POSIX compliant and have butt usability :marseysoycry:

Jump in the discussion.

No email address required.

Someone inform me on Rust

I heard that the whole safety thing they have a girldick boner for is basically the same as if C++ enforced a usage pattern of C++11 smart pointers (not neurodivergentally the same, basically the same)

My reading of Wikipedia is not inconsistent with this, is this how it is?

Jump in the discussion.

No email address required.

No, there are real practical differences. C++ smart pointers aren't good enough, and many items in c++ that are introduced for memory safety reasons turn out to be horrible, for instance string views.

Tbh the benefit of rust isn't it's memory safety, it's just how much better it is to develop with. There's no comparison in c++ with cargo, and the borrow checker is extremely handy after the initial hurdle.

Jump in the discussion.

No email address required.

Yeah I'm not codecel enough to explain that but my understanding is the tooling around Rust and Rust getting things right the first time is a big boon.

Jump in the discussion.

No email address required.

There are tradeoffs in terms of performance too; c++ has a better story with stack call memory usage, and it tends to use less memcpy's under the hood currently. On the other hand, rust allows functions like this (pretend it's not small enough to be inlined) to be optimised by the compiler where languages without a borrow checker simply cannot do so:

void func(int &x, int &y) {
    x += y;
    x += y;
}

I strongly, strongly suspect that for general development performance it's incredibly unlikely that in the future Rust won't be faster than C/C++ unless new keywords/lifetimes are added into the respective specs. Given the development velocity of C++20, this seems unlikely at best.

Jump in the discussion.

No email address required.

I'm not actually a codecel but Rust makes you write code and WILL NOT COMPILE if you're not memory safe.

If you're codecel enough to read up on C++11 I assume you would understand what that entails better than me.

EDIT: I should also point out the language made tooling a number one priority like Go. Which is very important for modern languages.

Jump in the discussion.

No email address required.

>If you're codecel enough to read up on C++11 I assume you would understand what that entails better than me.

For example in a memory-unsafe language like C, if you have a null pointer and you try to dereference it, the CPU will fault and the OS will send SIGSEGV to your program. If your program doesn't have a buffer saved to longjmp() back to, that's it, you're crashing, even if you write a SIGSEGV handler it can't return.

In a memory-safe language like Java, if you have a null reference and try to dereference it, the Java runtime will detect this and cause your program to throw a NullPointerException. This is one way it's safer, the CPU and OS don't know you fucked up. But if you don't have code to catch NullPointerException, that's it, you're crashing. But writing the handler is easy, you just say catch (NullPointerException e) {} and your NPE errors messages go away.

Jump in the discussion.

No email address required.

:marseyreading#:

Thanks for the tips, yeah my understanding is Rust would catch all that at compile time.

Jump in the discussion.

No email address required.

But this github page has nothing to do with GNU Bash :marseyconfused:

Jump in the discussion.

No email address required.

fish just has sane defaults.

as I posted below case and position insensitive auto-complete should be used by any shell.

Jump in the discussion.

No email address required.

Are these suggestions serious????

Jump in the discussion.

No email address required.

I think they're very tongue and cheek.

Jump in the discussion.

No email address required.

>not zsh

Jump in the discussion.

No email address required.

zsh is even more soy than fish

i have never encountered a zsh user that wasnt a manchild

Jump in the discussion.

No email address required.

Anyone who cares about their shell is an irredeemable nerd, just use bash like God intended

Jump in the discussion.

No email address required.

ehhh they arent completely interchangeable, depeding on ur use case the choice of shell does matter. but 99% of the time using anything other than bash is unnecessary

Jump in the discussion.

No email address required.

C++ is becoming a legacy language and finding contributors in the future will become difficult

Bait, but this is going to be Rus:marseytrain2: dogma within the next two years

Jump in the discussion.

No email address required.

>c++ legacy

Time to finally learn c++ to rake in the legacy maintenance neetbux

:marseyantiwork:

Jump in the discussion.

No email address required.

Having said all that, I worry that rushing any part of this could be a death knell for the project. A quality rewrite (or port) takes time, on the magnitude of years rather than days.

Having recently ported a mid-size project from Javascript + jQuery to Typescript + Vue 3 (and countless other projects from more straight forward one-to-one languages/frameworks) I 100% agree. My job was 10x easier than porting a whole thing from C++->Rust (yes I know enough Rust and C++ to say this).

You can always bet software devs will underestimate how long this will take by years - most of the gains being vague developer happiness stuff that quickly gets trumped by a mountain of complexity which out numbers the short-term benefits. If this isn't an incremental transition that can support the old C++ source code it will never happen.

It will simply be a new project that 10% of the userbase AND devs will use, then it will have a high risk of dying out unless there's hardcore buy in with the original team + userbase.

Jump in the discussion.

No email address required.

Fish isnt even postix complient, literally just use bash my dude

Jump in the discussion.

No email address required.

bad user experience

Jump in the discussion.

No email address required.

what could you ask for, man tells you flags, you tab complete and it runs commands. do you need a rainbow in your cmd prompt to bloat up your system for your fried dopamine receptors?

Jump in the discussion.

No email address required.

the main one is case insensitive and position insensitive autocomplete.

Jump in the discussion.

No email address required.

🤓🤓 heres an argument 4 u bud: both sides r massive cute twinks 👌😂[1][2]

Citations:

  1. True (2016)

  2. Fact (1981)

lmao @ u 👈👈👈 You were put down, in the future please refrain from discussing subjects you have no education in

Snapshots:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.