81 karma · joined November 19, 2024
> Chat is unavailable right now.
> Yolo
> Switch to person X software anyway.
This is the most weak double standards i have seen in a while. IF you mock someone for what they did 10 years ago, have the balls to stand by it.
Also a laravel "rate limiter" sound suss. Its probably needs some extra dependency like redis + a supporting php library to work. On the contrary i can mock up a reasonably efficient in memory rate limiter in pure Go, and only go to redis when i need the scale.
In the end its the same problem, dressed up differently.
Shared Go slices are a bad mix in concurrent code. This is a given. But its also not a fair comparison, you should instead compare java arrays to go arrays, not slices.
This goes for slices, strings and maps. Those a usually wrapped in a mutex, or used with sync primitives like sync.Map.
I fail to see how a racy Java program is more memory safe than a racy Go program?
Thread a = new Thread(() -> x++);
Thread b = new Thread(() -> x++);
a.start();
b.start();My point is "races" happen all over. In concurrent code, databases, http and pretty much anywhere where you have some kind of timing, not scoped to a unit.
As an (outside go) example, Ocaml (5) promises strong memory safety, but not to be data race free. A data race is not something we can prevent, because its usually not bound by code, but by time and the race-source rarely in source-code.
This means we have data races in http, database inserts etc. The source is usually not a concurrent task in source code-land.
So whats your point here? Haskell?
This is why dynamic languages, and even more so BAD ones like PHP are just useless going into 2027 and the future. Its simple, the language gives you what it gives in perf, builtin RUNTIME features, and COMPILETIME features.
From that you pick the best for whatever you are building, be it Go, Rust, Ocaml etc. The language does not matter.
Go has 90% of stuff builtin, you rarely need any dependencies. Look at Laravel ITS A HUGE CODEBASE and a high risk for any real software project. I would stay FAR away from it.
PS. I fully aware of hacks around this like reactphp and the other related async things, but those are all just heavy dependencies and for most sane devs non starters.
Before you go on that apologist route, no, im not installing any random shit just to do simple stuff like this..
If you go the LLM route something like Go is probably the goto default for MOST networking/web-first apps. You get static types, and a fast compile cycle (rust is still very slow here), and IF you want more from the language you can use something like Lisette (https://lisette.run/).
Bottom line is dynamic languages are obsolete. There is really no benefits from using them outside very small throw away scripts.
The bubble is going to burst soon.
But now we have abstractions upon abstraction, slow ands heavy solutions for almost every thing.
Software is slower than ever, not because of hardware, but because of the endless bloat and abstraction every framework brings.
When i go to the office it takes 2 hours from each day only for commute, add meetings, lunch breaks, and the office bullshit chitchat and non-stop blabber that distracts you. People on the phone, or just "hanging" out next to you.
Bottom line is when i have to work from the office i get 5% done of what i do from home. I get angry, and unmotivated. I usually also leave early.
You cant argue about this, just looking at github, i never saw dashes used pre AI. Today you see a dashes in code comments, PRs, issues etc EVERY time. Its all AI generated.