Live data from Hacker News

Reddit 1.0 was written in Lisp

github.com

71–80 of 143 posts

Re: Reddit 1.0 was written in Lisp

#71
post #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.

[flagged]

Re: Reddit 1.0 was written in Lisp

#72
post #12

So I've read that they wrote it in Lisp at Paul Graham's request or to win favor. Does anyone know if writing your startup code in Lisp still has that benefit?

As someone who’s been involved in both, it’s not like the language you pick doesn’t make a difference, but I’d say that there are other factors that vastly overshadow it. For example, one thing we were told when choosing to write in a lisp was that we’d have problems finding developers. It turned out to be true in that we received fewer applications, but compared to the same process with a more mainstream language, I…

> For example, one thing we were told when choosing to write in a lisp was that we’d have problems finding developers. It turned out to be true in that we received fewer applications, but compared to the same process with a more mainstream language, I’d say the applicants were on average of higher quality. So by the final step, we were approximately considering the same number of résumés in both cases.

I can echo this statement with Rust. Same story. Our comparison was Python to Rust. Same app. Big leap, i know.

Re: Reddit 1.0 was written in Lisp

#73
post #56

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'm not sure why python was chosen. But I contributed a tiny bit of code to reddit back when it was open source and chatted with reddit engineers on IRC, so I do know the official justification (as of 2010ish) for reddit sticking with python: Websites are mostly IO bound anyway. The hot parts like markdown formatting and templating are already c modules. So the performances gain for rewriting in a compiled language a…

That seems reasonable to me, even today. Am I off-base?

Re: Reddit 1.0 was written in Lisp

#74
post #68

It was announced in comp.lang.lisp most early adopters were lisp users. The first Reddit drama was when Paul Graham was caught having a sock puppet account to defend his arguments :)

> The first Reddit drama was when Paul Graham was caught having a sock puppet account to defend his arguments :)

Do you have a link to this thread?

Re: Reddit 1.0 was written in Lisp

#75
post #71
post #42

Earlier quoted context omitted.

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.

[flagged]

lisp is from the 60s

python is from 91

Re: Reddit 1.0 was written in Lisp

#76
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…

> Python is the visually most elegant language.

Having program login buried in a nauseating amount of boilerplate doesn’t feel very “visually elegant” :-P

Re: Reddit 1.0 was written in Lisp

#77

Earlier quoted context omitted.

C++ looks very handsome. Usually someone will pop up showing crazy meta programming template code and use it a straw man to declare cpp=bad.

I've bee using C++ since the late 90s, and namespaces are still annoying.

How so?

Re: Reddit 1.0 was written in Lisp

#78

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?.

Because Spez can't read it, he can only parse shapes. https://www.youtube.com/watch?v=oq7DEUhr7o0

That’s not what he said. He’s actually making an interesting point about readable code. I’m not defending his current behavior, just these comments about readable code.

Re: Reddit 1.0 was written in Lisp

#79
post #8

Would be fun to see what it takes to run it!

DB schema is missing. If there was an .sql script to create all the tables, I could run this reddit version. Most of the information about columns and tables could be recovered from data.lisp and view-defs.lisp. Maybe also old.lisp

You'd also have to find a copy of the web framework it uses because it got renamed and the author disabled the old download address.

Re: Reddit 1.0 was written in Lisp

#80
post #41

Earlier quoted context omitted.

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.

That's not true. We were using Python 1.5.2 at a well-funded startup I was at from 2000-2007. We were an early cloud provider and maybe 1/3rd of our customers were using Python. This was in the 3-tier stack days and Zope was fairly popular for the application server.

The internal tooling we built was mostly in Python.

Post reply on HN