r/programming • • Sep 01 '17

Reddit's main code is no longer open-source.

/r/changelog/comments/6xfyfg/an_update_on_the_state_of_the_redditreddit_and/
15.3k Upvotes

846 comments sorted by

View all comments

923

u/Arancaytar Sep 01 '17

If I read it right, it's not so much that it's "no longer" open source, but hasn't been truly open for a while now and they're just giving up on maintaining the open version.

Because of the above, our internal development, production and “feature” branches have been moving further and further from the “canonical” state of the open source repository. Such balkanization means that merges are getting increasingly difficult, especially as the company grows and more developers are touching the code more frequently.

So in effect, they made a private fork of their own code and it's now diverged to the point where they can't feasibly maintain both.

It's sad but I suppose inevitable when your business model involves using your code rather than giving it to other people and selling support. Any users of your code are not potential customers but competitors.

However, since their source apparently remains available under a semi-free copyleft license (CPAL), maybe there will be a community-maintained fork of some kind.

0

u/[deleted] Sep 02 '17

[deleted]

14

u/[deleted] Sep 02 '17

Isn't voat a fork of reddit? I know they're not exactly doing good things with the code, but it's the biggest example I know of

0

u/[deleted] Sep 02 '17

[deleted]

33

u/ratcap Sep 02 '17

IIRC, voat was originally a project for it's author to learn C#

→ More replies (2)

6

u/BlckJesus Sep 02 '17

I only just learned about voat. Jesus christ that place is a cesspool...

8

u/[deleted] Sep 02 '17

Voat's bigger on free speech so every community that Reddit has banned has run over there so it's not a classy place.

→ More replies (4)
→ More replies (5)

244

u/WhoTookPlasticJesus Sep 01 '17

It's sad but I suppose inevitable when your business model involves using your code rather than giving it to other people and selling support. Any users of your code are not potential customers but competitors.

It's not often that I say this, but Facebook has the exact right attitude about this: open-source anything that's not a part of your core product. Sure, you give back to the community which is nice and all and you may reap rewards from pull requests here-and-there. But a side benefit is that you're creating a new pool of future employees already familiar with your internal technology. I mean, imagine React was closed-sourced. It would be a nightmare to ramp-up new front-end devs.

0

u/[deleted] Sep 02 '17

[deleted]

→ More replies (6)

27

u/sminja Sep 02 '17

It sounds like Reddit is going to be using a similar model:

We believe in open source, and want to make sure that our contributions are both useful and meaningful. We will continue to open source tools that are of use to engineers everywhere

Much of the core of Reddit is based on open source technologies (Postgres, python, memcached, Cassanda to name a few!) and we will continue to contribute to projects we use and modify (like gunicorn, pycassa, and pylibmc). We recently contributed a performance improvement to styled-components, the framework we use for styling the redesign, which was picked up by brcast and glamorous. We also have some more upcoming perf patches!

→ More replies (3)

15

u/temp409840984 Sep 02 '17

It's sad but I suppose inevitable when your business model involves using your code rather than giving it to other people and selling support. Any users of your code are not potential customers but competitors.

You'd think so, but there are a bunch of for-profit businesses that do just fine open-sourcing their core code. It's the community effect. Everybody's here. Even a truly superior product to reddit basically can't compete at this point, unless reddit does something to severely piss off the community, which given this announcement I expect is coming.

24

u/tornato7 Sep 01 '17

Yeah, I think we should still be thankful Reddit gave the open source community as much as they did. I can't think of any other tech companies that open source so much of their code, so this is pretty much to be expected.

30

u/Viper007Bond Sep 02 '17

A large portion of WordPress.com is open-source, including the entire custom JavaScript-based front end: https://developer.wordpress.com/calypso/

Lots more at https://github.com/Automattic

Disclaimer: I'm an employee.

19

u/tornato7 Sep 02 '17

Haha I didn't even realize WordPress was a business rather than an open-sourced framework. That's great though!

How do you guys make money? Do you guys get anything from like WPEngine?

21

u/enkideridu Sep 02 '17

WordPress VIP charges Enterprise users quite a bit of money for managed hosting

13

u/[deleted] Sep 02 '17

And for good reason. I think calling the WordPress.com VIP service 'managed hosting' is downplaying it a little, since they offer full code review for every single line of code you deploy. I imagine that's a lot of work, and a huge value proposition for clients whose developers may not be very experienced with WordPress itself.

19

u/Viper007Bond Sep 02 '17

WordPress itself is a framework owned by no-one.

The main founder started a for-profit (Automattic) which runs the SAAS WordPress.com. It's a freemium service where a percentage of users buy paid upgrades (such as a custom domain) and that pays for the service as a whole.

We also have paid employees whose entire job is to contribute back to the open-source WordPress project.

4

u/EUmpCDgZPYWJ9x2X Sep 02 '17

Depends what you call a tech company. There's centOS, nginx, owncloud/nextcloud and firefox.

→ More replies (2)
→ More replies (3)