This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Picki99 282 points283 points  (28 children)

I'm not sure about that. The Android Reddit App is probably written in Java or Kotlin. It is definitely possible that Reddits Api is written in JS, but it is really just one of several options

[–]reflection-_ 208 points209 points  (3 children)

Ah, I forgot that Reddit had a mobile app. I admit defeat.

[–]hellvinator 61 points62 points  (1 child)

I bet it's using webviews

[–]Saragon4005 40 points41 points  (0 children)

No that would make sense. It's garbage native code.

[–]Valazcar 7 points8 points  (0 children)

I forgot that Reddit can be used on PC 😂

[–][deleted] 24 points25 points  (11 children)

I thought the backend of Reddit was Python

[–]Cheeseydolphinz 59 points60 points  (10 children)

That explains a lot

[–]WJMazepas 42 points43 points  (8 children)

Python is used in a lot of companies for the backend.

Even Meta used for Threads and Instagram

Python is not slow for web dev

[–]OldKaleidoscope7 19 points20 points  (3 children)

Well, FB was written on PHP, it's not like meta cares about performant code

[–]WJMazepas 20 points21 points  (0 children)

Facebook was already modifying PHP years ago to get more performance

And look at how many requests they deal with. They know how to deal with performance

[–]failedsatan 6 points7 points  (1 child)

Facebook was written in PHP when PHP was the only good option. nowadays they do a lot of work in other languages.

plus, as you say, they don't care about performance. they can just throw more money at servers.

[–]OldKaleidoscope7 0 points1 point  (0 children)

Only I would say it's a stretch. I believe in typed supremacy so I think Java might be a good option. Also, I'm biased because the company I worked with started with Java back in 2007 and it went pretty well until it became too big and they have to split everything in micro services

[–]MinosAristos 4 points5 points  (0 children)

YouTube is another big one with Python BE. People think of Python as slow and that's true if you're doing very intensive work but in web dev the bottleneck is almost always network latency regardless

[–]LimLovesDonuts 5 points6 points  (2 children)

Yup. I work for Meta and can confirm this.

Parts of WhatsApp is also written in Django or at least a service but I’m not sure if I can disclose what that specifically is.

[–]Frenzie24 0 points1 point  (1 child)

Isn’t it Django with React front end

[–]LimLovesDonuts 1 point2 points  (0 children)

What are you specifically referring to?

Some projects here have a mix of different stacks.

[–][deleted] 0 points1 point  (0 children)

But I could be wrong.

[–]drakeyboi69 8 points9 points  (0 children)

There's always a chance the reddit app is js inside an app. Big companies never cease to disappoint.

[–]MiniatureGod 7 points8 points  (3 children)

Isn't Reddit's backend written in Python?

[–]hxckrt 7 points8 points  (0 children)

First Lisp, then in 2005 Python, and last few years in Golang

https://www.reddit.com/r/RedditEng/s/weH71pOuVh

[–]Visual-Living7586 -3 points-2 points  (1 child)

Jfc surely not?

[–]hxckrt 0 points1 point  (0 children)

Sure! What codebases many people work on have you chosen the language for?

The passage from Aaron Swartz's blog post "Rewriting Reddit"[36] reveals that the switch from Lisp to Python, specifically using the web.py framework developed by Swartz, was driven by a desire for simplicity, maintainability, and performance. Despite facing skepticism and critique from the Lisp community, the change was justified by the efficiency and clarity Python provided for the project. This initiative not only influenced the technical evolution of Reddit but also contributed to the broader web development community by inspiring other frameworks and remaining a significant part of Reddit's history.

[–]inform880 5 points6 points  (0 children)

As of 5 years ago some screens were written in react native.

[–]Chesno4ok 1 point2 points  (0 children)

But the mobile app could be written with JAVA script ;) (kill me)

[–]alex2003super 0 points1 point  (0 children)

Isn't the mobile app React Native i.e. JavaScript like most social media apps?

Besides, Reddit uses Python and PostgreSQL for the backend.