Live data from Hacker News

Reddit 1.0 was written in Lisp

github.com

101–110 of 143 posts

Re: Reddit 1.0 was written in Lisp

#101
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?

It never had any particular benefit to write your startup code in Lisp.

That myth came from a few posts by a person who was a huge proponent of Lisp, in an era were web (front and backend) development was much easier, and web-related libraries were lacking in all languages (so it wasn't like Lisp's smaller popularity would hurt you there).

It's an example of one.

If they didn't get lucky and Yahoo! bought some other company in the same domain in their place (they already have a few competitors) the whole "Lisp as a secret weapon" would be moot.

Statistically speaking, 99.9% of succesful startups were written not in any Lisp, and 0.1% of them in Lisp. Not the biggest 0.1% either, more towards the bottom, in the context of web company deals during the ramp up to the dot-com bust. Viaweb was sold for $50 million. For context, Yahoo! bought Broadcast.com a year later for 5 billion and doc.com startups of the era routinely raising and burning $50-$100 million for fun - heck, Razorfish (a design consultancy) built websites for clients like Levis, Sony, Mercedes Benz, etc. for $20-$40 million (and that's late-90s era websites, nothing especially fancy).

Of course all that's irrelevant to whether Viaweb was written in Lisp. Which is my point, exactly. What's more, Yahoo! even scrapped all their Lisp code soon after.

Now, writing your startup code in a productive language, that doesn't slow down the development team, allows for easy+quality hires, and so on - even if it's not the best for when you get huge, is a benefit. That hardly requires Lisp.

Re: Reddit 1.0 was written in Lisp

#102

Earlier quoted context omitted.

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

Incredibly reasonable. People love to trash on the performance of Python and JS saying that they're totally unsuitable for backend services with non-trivial amounts of traffic when they're usually the most cost effective solution for a business. These higher level languages are easier to hire for, much easier to prototype, allow for faster iteration, allow for substantially faster on-ramp time, and are fast enough to…

we have account servers for a game in java that end up being cpu bound (we have to scale up based on cpu, not network), which is much much faster than python.

so i would be surprised if a server written in python could saturate the network, for a reddit-style workload, which i imagine would be similar.

any1 have relecent experiences to share?

Re: Reddit 1.0 was written in Lisp

#105
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?

It never had any particular benefit to write your startup code in Lisp. That myth came from a few posts by a person who was a huge proponent of Lisp, in an era were web (front and backend) development was much easier, and web-related libraries were lacking in all languages (so it wasn't like Lisp's smaller popularity would hurt you there). It's an example of one. If they didn't get lucky and Yahoo! bought some other…

> Statistically speaking, 99.9% of succesful startups were written not in any Lisp, and 0.1% of them in Lisp.

I think the point that PG was making wasn't that P(lisp|success) > P(blub|success) is what's key but that P(success|lisp) > P(success|blub)

> What's more, Yahoo! even scrapped all their Lisp code soon after.

I'm hardly a PG fanboy, but I have to say this is exactly what's expected in PG's original post on the subject[0]. It's precisely because big companies will only stick to blub languages that Lisp becomes an advantage for a startup.

The point of "Beating the Averages" isn't that you must use Lisp but that small groups of elite hackers can use more powerful tools than larger organizations can't get away with because they generally have lower skilled, only comfortable with blub, programmers.

The reason we don't see many startups following this advice now isn't because it's wrong (necessarily), but because since that essay was written, the vast majority of the startup ecosystem has come to resemble large companies. We've had a pipeline churning out devs for many years now. The ones that are great at leetcode and playing the game go to FAANG, the ones that aren't go to startups. It's not even about where the higher skilled devs are because that hasn't played a factor in most companies success in a long time.

With rare exceptions, startups are no longer created by brilliant hackers looking to change how things are, but by business minded people looking to take advantage of the easy VC money in the last decade. Interviewing at startups used to be exciting, now the vast majority feel like they're run by people who couldn't manage to get a director role at a FAANG.

0. http://www.paulgraham.com/avg.html

Re: Reddit 1.0 was written in Lisp

#107
post #79

Earlier quoted context omitted.

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.

The tbnl web server was indeed renamed to hunchentoot.

I found the old tbnl versions in the wayback machine. One of the snapshots: https://web.archive.org/web/20080131152054/http://www.weitz....

Most likely adapting to the current hunchentoot would not be difficult too.

Re: Reddit 1.0 was written in Lisp

#108

Earlier quoted context omitted.

It never had any particular benefit to write your startup code in Lisp. That myth came from a few posts by a person who was a huge proponent of Lisp, in an era were web (front and backend) development was much easier, and web-related libraries were lacking in all languages (so it wasn't like Lisp's smaller popularity would hurt you there). It's an example of one. If they didn't get lucky and Yahoo! bought some other…

> Statistically speaking, 99.9% of succesful startups were written not in any Lisp, and 0.1% of them in Lisp. I think the point that PG was making wasn't that P(lisp|success) > P(blub|success) is what's key but that P(success|lisp) > P(success|blub) > What's more, Yahoo! even scrapped all their Lisp code soon after. I'm hardly a PG fanboy, but I have to say this is exactly what's expected in PG's original post on the…

I think the real reason startups are using blub is something else entirely, tooling. The reason lisp was cool in the early days were because it allows you to easily build abstractions to improve productivity, but these days any language comes with a decent web framework. You also get fancy IDE's and language servers and SDK's from your cloud provider. The productivity a large ecosystem gives you IMO is much larger than what a language can provide.

Re: Reddit 1.0 was written in Lisp

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

I think requiring your startup in lisp also keeps the type of engineers away you don’t want.

In all of my career, it’s not those who know who have been good. It’s those who know how to learn new things fast that are good. It’s people who problem solve that make good engineers.

In the inverse. If somebody has a negative reaction to lisp, it’s a sign of a poor engineer.

Post reply on HN