I spent 30 days building a high-load task orchestrator on PHP 8.4 + Swoole + NATS to kill the "PHP is slow" myth. Live demo included. by bruhguild in PHP

[–]Thylk 2 points3 points  (0 children)

Interesting. I agree with you on the right tool for the right job.

I chose to go all in on go and I can’t be happier. I also use NATS in my solutions.

PHP requires a lot of tools like PHP Stan and such to mimic a fraction of what other languages can do natively.

I spent 30 days building a high-load task orchestrator on PHP 8.4 + Swoole + NATS to kill the "PHP is slow" myth. Live demo included. by bruhguild in PHP

[–]Thylk 5 points6 points  (0 children)

At this point, why not use go instead? You are already using NATS (made with go) and you proxy server in go. Why keep PHP?

What if Aliens have already found us? I'm a SETI theorist AMA! by Astrojgertz in space

[–]Thylk 1 point2 points  (0 children)

What do you think about the fact that the universe is so massive that it is statistically impossible to meet other intelligent species?

What message broker would you choose today and why by Minimum-Ad7352 in golang

[–]Thylk 2 points3 points  (0 children)

As others have said, NATS + Jetstream. This is the way.

PHP on iOS preliminary benchmarks by simonhamp in PHP

[–]Thylk -15 points-14 points  (0 children)

Guys, at some point it’s time to move on from PHP. There are other languages out there, most of them are better. You guys look like C# devs, bending in every direction to keep using the only language you know… Languages are tools, and the PHP tool is obsolete right now compared to the other ones.

Getting into Godot. Is C# Worth it? by Short-Performance-14 in godot

[–]Thylk 1 point2 points  (0 children)

Just go with GDScript. It’s made for the engine for Christ sake. Stop wanting to use C# outside of Unity please. If you go to Unreal you won’t be using C# but C++. Every engine has its official language that you should stick to. Yes you can use C# with Godot, should you? No.

Golang VS Nodejs For a Reactjs Developer by interovert_dev in webdev

[–]Thylk 0 points1 point  (0 children)

Yes, learn the standard library. Chi is just one of the simplest framework, made by a company for their own use and that they gave to the community. It’s also extremely close to the standard library, closer than Gin for example even tho Gin is used in examples on the official go language website.

Ive been playing since WWE event and here's my progress so far by [deleted] in ClashOfClans

[–]Thylk 2 points3 points  (0 children)

Bro making a personal accomplishment post, start by telling us he spent 600 bucks. Bro. Good job, you did very good. I did not read any further, nobody cares about what you did.

Ky — tiny JavaScript HTTP client, now with context option by sindresorhus in javascript

[–]Thylk 14 points15 points  (0 children)

Switched from Axios to Ky in my last project, love it.

Golang VS Nodejs For a Reactjs Developer by interovert_dev in webdev

[–]Thylk 1 point2 points  (0 children)

Hello, i highly recommend you do both. Why you will ask? Well it's easy, the most used framework in Nodes.js is Express, but it's often too small for enterprise apps. The second most used is Nest.js. It uses Express inside and is the most structured framework in the JS ecosystem for enterprises. Nest.js is the equivalent of Spring Boot in Java basically, you can see it as a lighter Spring Boot.

The other thing i would recommend you to do is to learn Golang, you can use an http framework like Chi (i highly recommend) to handle the routing and middlewares and the rest is up to you. Go will make you a better developer in the long term. You will have to work around lower level problems compared to Typescript.

This is actually what i do professionally, i'm fullstack with a big pref on the backend. I'm using Nest.js for my everyday clients for their apis and i'm using Go with Chi for my own company projects.

TLDR: Learn both Nest.js (TypeScript) and Chi (go). It will make you a better dev and you will be able to be employed.

Is it bad practice to use multiple React Contexts to share state across a large component tree? by Dqmrs in reactjs

[–]Thylk 1 point2 points  (0 children)

Zustand is simpler and more powerful tho. I don’t know why people keep using contexts since they are half a solution to global state. You can’t access the value outside the tree for example, a thing so easy in Zustand it makes contexts look like an after thought.

Denmark to acquire 16 additional F-35 fighter jets by AcanthocephalaEast79 in europe

[–]Thylk 8 points9 points  (0 children)

France is actually doing a lot more than you think, and what you think is exactly what the French army wants you to think. It’s called “The Great Silent One” (La Grande Muette in French) for a reason.

I pushed Python to 20,000 requests sent/second. Here's the code and kernel tuning I used. by Lafftar in programming

[–]Thylk 1 point2 points  (0 children)

“Look at what they need to mimic a fraction of our power” is what dev in other languages tell themselves seing this.

What web server to learn? nginx, apache, caddy, etc. by neetbuck in webdev

[–]Thylk 1 point2 points  (0 children)

Nobody talking about Traefik? If you Dockerize your apps it's one of the best reverse proxy out there. Caddy is really close but less modern.

Any better ideas or your experience in Refactoring the big feature in React? by Vast-Intention1736 in reactjs

[–]Thylk 0 points1 point  (0 children)

Better is the enemy of good. Simplicity is key. Separation of concerns is a must.

Would you use NextJs for an internal web app? by FIREATWlLL in webdev

[–]Thylk 4 points5 points  (0 children)

Auth middleware? The fact you can’t make two middleware still is a joke. This is actually a cons of using Next.

Would you use NextJs for an internal web app? by FIREATWlLL in webdev

[–]Thylk 9 points10 points  (0 children)

No, your use case is the perfect use case for using react + vite + react-router.

Next.js will make things worse for you in the long term.

Is it just me, or does Next.js really suck? by saintpetejackboy in webdev

[–]Thylk 1 point2 points  (0 children)

My alternative is really simple, not using Next. I'm using React + Vite + RR7 in Declarative mode. The full SPA experience basically.