Live data from Hacker News

Reddit 1.0 was written in Lisp

github.com

131–140 of 143 posts

Re: Reddit 1.0 was written in Lisp

#131

Earlier quoted context omitted.

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.

It has been done \o/ https://github.com/tamurashingo/reddit1.0/

Cool. So db schema is actually present, in the form of clsql clas definitions (the view-defs.lisp)

Re: Reddit 1.0 was written in Lisp

#132

Here's an updated version with DB tables (PostGres) that runs: https://github.com/tamurashingo/reddit1.0/ Require: CommonLisp (tested on SBCL) PostgreSQL memcached smtp server CL-USER> (reddit:startup-reddit) # Writing a CL web app today is definitely doable. You won't find a framework with bells and whistles (yet), but all the required building blocks: web servers (Hunchentoot or Clack, like WSGI for Python), choice…

HTMX is not anymore framework agnostic than JS. It's a JS library. You can use any backend with either.

Re: Reddit 1.0 was written in Lisp

#135
post #4

Earlier quoted context omitted.

Arc I believe.

OMG, Paul Graham actually released Arc in some form? I thought he never finished it. I was going to make snarky comment about how between spez and PG, Lisp must actually be extended-release brain poison for people in executive management positions; now I wonder if spez just knows PG personally and takes his advice.

You're a guest on Paul's site. Don't be so needlessly rude to your host.

Re: Reddit 1.0 was written in Lisp

#136

Earlier quoted context omitted.

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

Just use `using namespace std;` inside your function and C++ suddenly becomes nice.

Using boost or std in a function is much better than doing it in the header for obvious reasons, but still annoying.

Re: Reddit 1.0 was written in Lisp

#137

Earlier quoted context omitted.

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.

It is not poor engineering to prefer a statically typed language. If you want something exotic I would take Haskell over lisp any day.

Re: Reddit 1.0 was written in Lisp

#138

Earlier quoted context omitted.

Aaron Swartz replaced the Lisp with web.py

Yes, web.py was his baby. He also had some markdown parser stuff. Baby boomers always tell me about seeing The Doors live in dive bar in NYC. I can say I used Reddit when it was written in Lisp. :-)

Back then to us smaller forums goers, Reddit was the new kid in the playground that we didn't like because somehow he was viewed as "cooler" than the other kids.

Even years after, when I had stopped posting on those PHP powered smaller forums I resisted creating a reddit account just because it was "reddit".

I would say, the smaller forums sites were a more tightly knitted group that I attended several meetups with. Reddit just never felt the same.

Re: Reddit 1.0 was written in Lisp

#139

Here's an updated version with DB tables (PostGres) that runs: https://github.com/tamurashingo/reddit1.0/ Require: CommonLisp (tested on SBCL) PostgreSQL memcached smtp server CL-USER> (reddit:startup-reddit) # Writing a CL web app today is definitely doable. You won't find a framework with bells and whistles (yet), but all the required building blocks: web servers (Hunchentoot or Clack, like WSGI for Python), choice…

HTMX is not anymore framework agnostic than JS. It's a JS library. You can use any backend with either.

He meant that HTMX can work with a backend written in any language/framework. It doesn't constrain you to use any specific server-side tech.

Re: Reddit 1.0 was written in Lisp

#140

Earlier quoted context omitted.

OMG, Paul Graham actually released Arc in some form? I thought he never finished it. I was going to make snarky comment about how between spez and PG, Lisp must actually be extended-release brain poison for people in executive management positions; now I wonder if spez just knows PG personally and takes his advice.

You're a guest on Paul's site. Don't be so needlessly rude to your host.

[deleted]
Post reply on HN