Live data from Hacker News

Reddit 1.0 was written in Lisp

github.com

41–50 of 143 posts

Re: Reddit 1.0 was written in Lisp

#41

Earlier quoted context omitted.

NodeJS didn't even exist when Reddit started using Python, as far as I can tell. Initial release of NodeJS was May 27, 2009; 14 years ago. Swartz was involved in the development of Reddit until he departed from the company in 2007. And we know that parts of the Python code for Reddit was written by Swartz.

Wow, that sounds so early to adopt Python!

Python was released in 1991.

Re: Reddit 1.0 was written in Lisp

#42
post #39

>"written in Lisp" And why does that matter? Whatever turns one on.

It matters for the same reason that "X written in Rust" or "which companies are using Lisp?" matters: some people refuse to give Lisp a look unless every F500 company has at least 3 major projects written in it.

Re: Reddit 1.0 was written in Lisp

#43
post #29

The current reddit seems to be written in js/python. I can see the logic behind js since its a lot easier to find devs and thanks to all the hard work of the engineers behind v8 its not a slow language. I do not understand why python was chosen though. If you need more speed you would go with c++ and not python which is the slowest popular language. Anyone got any insight into why python was chosen?.

I have a theory (which nobody I ever met shares) that the visually most beautiful language is the one that long-term results in the fastest development of a project: Visual noise is like inflation. A constant tax on what you do. But you barely notice it. But it accumulates because it is constantly leading to slightly worse and more complex code. Since it is harder to focus on a noisy something in front of you, you ma…

This depends on your editor color settings though. C++ can look very handsome

Re: Reddit 1.0 was written in Lisp

#44
post #41

Earlier quoted context omitted.

Wow, that sounds so early to adopt Python!

Python was released in 1991.

And Ruby in 1995, but it wasn't before 2005 (and Rails) that it reached traction. In 2007, albeit 16 years old, Python was still far from mainstream, especially out of its scripting niche.

Re: Reddit 1.0 was written in Lisp

#45
post #29

Earlier quoted context omitted.

I have a theory (which nobody I ever met shares) that the visually most beautiful language is the one that long-term results in the fastest development of a project: Visual noise is like inflation. A constant tax on what you do. But you barely notice it. But it accumulates because it is constantly leading to slightly worse and more complex code. Since it is harder to focus on a noisy something in front of you, you ma…

__visuallyelegant__

That should trigger the good sense of any “Zen of Python” die-hard. Not saying I haven’t used/got access to double-underscore thingies in Python in my 15+ years of writing Python code, but I always felt dirty in doing that.

Re: Reddit 1.0 was written in Lisp

#46
post #26

The current reddit seems to be written in js/python. I can see the logic behind js since its a lot easier to find devs and thanks to all the hard work of the engineers behind v8 its not a slow language. I do not understand why python was chosen though. If you need more speed you would go with c++ and not python which is the slowest popular language. Anyone got any insight into why python was chosen?.

It was chosen because at the time because python was much more mature and productive. They didnt use Django, but as an example Django is still more productive than any Node framework I've tried thus far, too, and we have types now. :)

Aaron Swartz replaced the Lisp with web.py

Re: Reddit 1.0 was written in Lisp

#47
post #29

The current reddit seems to be written in js/python. I can see the logic behind js since its a lot easier to find devs and thanks to all the hard work of the engineers behind v8 its not a slow language. I do not understand why python was chosen though. If you need more speed you would go with c++ and not python which is the slowest popular language. Anyone got any insight into why python was chosen?.

I have a theory (which nobody I ever met shares) that the visually most beautiful language is the one that long-term results in the fastest development of a project: Visual noise is like inflation. A constant tax on what you do. But you barely notice it. But it accumulates because it is constantly leading to slightly worse and more complex code. Since it is harder to focus on a noisy something in front of you, you ma…

What you’re saying is only partially correct - Yes, for more exploratory programming for a new product with full US/EU/CANZUK based dev workforce it makes sense to prioritize maintainability.

For a company complaining about infrastructure costs for a product that has been cloned many times over, and which is large enough to hire offshore devs, the cost equation favours rewriting in something like Go, Rust or even Java. These are quite tailored towards Reddit’s current use case and many companies including Twitter did that rewrite.

Re: Reddit 1.0 was written in Lisp

#48
post #2

Here is the twitter thread about it: https://twitter.com/ShriramKMurthi/status/166987750603426611...

Thanks for the link. Among other things it made be feel old, as in I have a post on my blog from back then writing about the Lisp to Python switch that Reddit was carrying out and it’s interesting to see computer programmers that look like they’re in their early 30s or such and not knowing about it at all.

Those were more interesting and especially more vibrant times when it came to the web. Granted, the money was not as abundant as it is now.

Re: Reddit 1.0 was written in Lisp

#49
Time flies. I still remember when there were quite some discussions in the communities when the initial reddit team made it public that they were switching from Lisp to Python for development. It created a lot of controversy, especially the specific reasons they named. I think quite some of them happened here on hacker news. Back then of course reddit was just a tiny startup as many.

So it is funny to see this now popping up as a news item. Shows, how long this is in the past and how much reddit has grown in size.

Re: Reddit 1.0 was written in Lisp

#50
post #29

The current reddit seems to be written in js/python. I can see the logic behind js since its a lot easier to find devs and thanks to all the hard work of the engineers behind v8 its not a slow language. I do not understand why python was chosen though. If you need more speed you would go with c++ and not python which is the slowest popular language. Anyone got any insight into why python was chosen?.

I have a theory (which nobody I ever met shares) that the visually most beautiful language is the one that long-term results in the fastest development of a project: Visual noise is like inflation. A constant tax on what you do. But you barely notice it. But it accumulates because it is constantly leading to slightly worse and more complex code. Since it is harder to focus on a noisy something in front of you, you ma…

Those hypothetical tiny gains are instantly and completely eclipsed by the lack of static checking support.
Post reply on HN