[-] FizzyOrange@programming.dev 7 points 1 year ago

Hardware not working as well. Poor battery life. Worse game compatibility. Worse stability (yeah really). More bugs (yeah really; at this point Windows is quite a bit less buggy than Linux in my experience). More annoying to configure things / set things up usually.

Those are all only on average. Obviously there are times when Windows has bugs or sends you to the command line or fails to connect to WiFi or whatever... But by this point they're pretty rare.

I use Windows and Linux regularly and for Windows my complaints are:

  • If I leave my playstation controller plugged in the PC never sleeps. Took me a while to figure that out! Probably a driver bug.
  • That's actually it. I can't remember the last time the OS crashed.

For Linux:

  • Until I enabled a huge swap file whenever it ran out of physical ram it would hard reboot. This is just Linux's shitty memory management.
  • I recently installed a kernel update and now it hard freezes every week or two. I'm guessing a driver bug. Impossible to debug though.
  • Sometimes when I unplug the laptop while it's sleeping it gets confused and the only thing it responds to is the power button (it does a clean shutdown but that's still annoying).
  • Quite often the login screen freezes for a few seconds when I try to put my password in.
  • It asks me every time I plug my headphones in if they are headphones. Take a hint! Windows never asked that.
  • I set up a network to auto-connect to a VPN, then deleted that VPN. This confused the absolute bejesus out of it so it wouldn't even connect to WiFi. No error messages. Even dmesg only had some vague deauth message. Took me a long time to figure that out!

There's definitely more that I've forgotten.

In fairness this is Linux running on a shitty Dell laptop vs Windows running on a normal desktop. Still...

[-] FizzyOrange@programming.dev 7 points 2 years ago

Facebook and Google are the customers that use this feature.

Apparently. Does anyone know what they use it for?

[-] FizzyOrange@programming.dev 8 points 2 years ago

Yeah the main reason is performance. In some languages if you use a value "linearly" (i.e. there's only ever one copy) then functional style updates can get transformed to mutable in-place updates under the hood, but usually it's seen as a performance optimisation, whereas you often want a performance guarantee.

Koka is kind of an exception, but even there they say:

Note. FBIP is still active research. In particular we'd like to add ways to add annotations to ensure reuse is taking place.

From that point of view it's quite similar to tail recursion. It's often viewed as an optional optimisation but often you want it to be guaranteed so some languages have a keyword like become to do that.

Also it's sometimes easier to write code that uses mutation. It doesn't always make code icky and hard to debug. I'd say it's more of a very mild code smell. A code musk, if you like.

[-] FizzyOrange@programming.dev 8 points 2 years ago

You only need to check half of the string, so I think a technically optimal solution would have some take_while and maybe char_indices in there...

[-] FizzyOrange@programming.dev 7 points 2 years ago

It's a Settlers 2 clone. It's deliberate.

[-] FizzyOrange@programming.dev 7 points 2 years ago

Ooo Oracle loves legal battles!

[-] FizzyOrange@programming.dev 8 points 2 years ago

LLMs don't usually make trivial language mistakes like supposively.

I think this is just a really inexperienced or unskilled developer. Or possibly a very dedicated troll.

[-] FizzyOrange@programming.dev 7 points 2 years ago

Isn't Elixer dynamically typed?

[-] FizzyOrange@programming.dev 7 points 2 years ago

Almost everyone uses Cargo. I think the only people that don't are Google and Facebook who will probably be using Bazel or Buck2. I think you're a bit confused about what Cargo is.

[-] FizzyOrange@programming.dev 7 points 2 years ago

Well, in fairness imagine if Guido did become a racist sexist arsehole. I don't think he should be immune.

But clearly this situation is not right.

[-] FizzyOrange@programming.dev 7 points 2 years ago

Nonsense, there are tons of systems like that now. I've been playing with Deno & Fresh, it's great. Trivial to install, a pretty great language, Fresh doesn't force everything to be client side - you can easily write old school completely server side rendered sites if you want but you get to use TSX which is waaaaay superior to the old text based templating systems we used to use (Handlebars, Jinja, etc.).

It also has built in hot reloading by default so even faster than PHP. Literally hit save and you see the results.

[-] FizzyOrange@programming.dev 7 points 2 years ago

What would you use instead?

view more: ‹ prev next ›

FizzyOrange

0 post score
0 comment score
joined 3 years ago