fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

Serge Matveenko ♻️☮️

I really appreciate the journey @PixelFed is on. As @dansup said here mastodon.social/@dansup/113910 the entire Fediverse is growing together with them.

The only thing I don't like about Pixelfed is that it is written in PHP.
That is just sad, sorry.
A year ago I was considering self-hosting Pixelfed and this was the only blocker for me personally.
Hope this will change in the future:)

MastodonDaniel Supernault (@dansup@mastodon.social)When one of us comes up, we all come up — that's not just a motto, it's literally how federation works. When Pixelfed blooms, Mastodon grows and PeerTube thrives. No walled gardens, just shared roots. 🌱 #buildingTogether

@lig @pixelfed @dansup The man did an amazing work in PHP. Not my language of choice, but the best code is the running (and existing) one. :)

@lig @PixelFed @dansup

What would you prefer it to be written in?

@marcusgreen anything safer and mature as a language and as a technology stack. I have my preferences but they aren't the only possible options.

@lig

What would be your preference?

@lig @PixelFed @dansup

This statement doesn't really make sense. Any (commonly used) language has flaws, but each one of them allows for writing solid applications. At the end of the day, it really doesn't matter what language a project uses. You can write really good code in PHP and really shit code in Rust. It's not the language that makes apps unsafe, it's the code.

For you as an instance admin, the only time the language choice matters is when you deploy a non-dockerized application. For PHP, this is a major pain - I agree. But pixelfed is dockerized, so you won't touch PHP anyway.

@alexander_schoch That's my personal choice. No PHP project lands on my own server.

@lig absolutely, that is your personal choice.

But "That is just sad, sorry." is still a bit rude.

Maybe, in an attempt to lighten your view on PHP, give PHP web frameworks like Laravel or Symfony a try, they really iron out some of the common problems with PHP.

@lig @PixelFed @dansup Why? PHP is a perfectly good language, fast, robust, scalable, pretty good type system for an interpreted language, and has a solid ecosystem behind it. It handles horizontal scaling and "serverless" designs better than almost anything.

@Crell it is neither good nor robust and fast. Even for PHP 7+ it's still not a fit for a mature project.
I'm not here to start a flame war. I'll leave it to you to perform your own research.

@lig It's mature enough for Wikipedia. And the original Facebook. And the White House. And hundreds of universities. And 78% of the web. And it's much, much faster than Python or Ruby (what Mastodon is written in), often on par with JS on straight cpu.

Perhaps do some research.

youtube.com/shorts/oVKvfMYsVDw

@Crell @pixelfed @dansup

> It handles horizontal scaling and "serverless" designs better than almost anything.

It's honestly mad that PHP had been doing things in a serverless way for *decades* before Amazon thought to make that that a thing.

@lig @pixelfed @dansup

> Hope this will change in the future:)

Are you really suggesting they rewrite the entire application in a different language to suit your preferences? That seems doubtful.

PHP isn't my language of choice these days for my own projects, but it doesn't feel reasonable to expect other people to conform to my preferences for their own work.

@benjamineskola well, unexpected things sometimes happen in our world. Maybe at some point I or somebody else will have time to develop a compatible alternative I'll be ok with running on my server.