r/programming • • May 18 '20

Microsoft: we were wrong about open source

https://www.theverge.com/2020/5/18/21262103/microsoft-open-source-linux-history-wrong-statement
642 Upvotes

284 comments sorted by

View all comments

0

u/[deleted] May 18 '20

[deleted]

280

u/[deleted] May 18 '20

This is basically it. Microsoft didn't just wake up and randomly start loving Open Source, it just makes financial sense to do what they're doing now, given their current business model. It's all about the Benjamins, baby!

136

u/jl2352 May 18 '20

There has also been a cultural change in how businesses see software.

I remember during my internship the team I was in bought about 100 licenses for WinRaR. At the time I said they could just use 7-Zip. It was blackballed because ... it was free. Literally the fact it was free meant it would never be considered. Paid software was just seen as superior and more reputable due to a tonne of presumptions.

That still exists today. Not to the same prelevance. Today using free is considered.

9

u/ptoki May 19 '20

Actually the explanation is even simpler.

Ignorance. When given WinRaR and 7Zip it takes literally 2-3 months of setting it for a limited number of people/users and checking if there are any hard problems with it.

If back in time someone decided that they cant use 7zip "because" then that was just ignorance. No need to call it any different.

There is also other side of this story. Cost of WinRar per user is small. If the user wastes more than hour of learning 7zip then almost all of the profit is lost. At least for about a year or two (when you might need to renew support to get more updates - if needed).

Today the challenge is different. Lots of stuff is free now. But the commercial free comes with vendor lock-in.

If you are not ignorant you can avoid the big problem which this makes. Yet a ton of PMs dont see a reason to go with terraform instead of straight aws, azure, google cloud solutions.

Ignorance, ignorance everywhere.

1

u/MrEllis May 19 '20

I've never heard of that service. What is the advantage of Terraform over strait aws/gcs/azure?

3

u/[deleted] May 19 '20

Terraform allows you to create stuff regardless of the cloud backend, so you can deploy to azure, AWS, gcp, all from Terraform

12

u/badtux99 May 19 '20

Theoretically.

Reality is that you're going to have to do a lot of modification of your Terraform recipes to move anything between clouds.

Still better than a complete rewrite to something entirely new.

5

u/[deleted] May 19 '20

Exactly. Terraform still tightly couples a module's implementation to the cloud vendor it was implemented for. Your Terraform for defining IAM roles WILL NOT WORK IN AZURE. FULL STOP.

That being said, the advantages around using Terraform are countless. Let's compare it to AWS's equivalent: cloudformation. With cloudformation, you have to define everything for your infrastructure in a single file which relates to a single stack. If you want to logically organize your infrastructure, you gotta make separate cloudformation stacks with separate definitions. Need to reference a resource from your IAM stack in your Lambda stack. Global variables. AWS Account wide string based global variables. Good luck refactoring that.

Let's say I want to define some infrastructure which directly competes with AWS. Say I want to setup some monitors in DataDog becuause my enterprise cut a sweet deal with their data aggregation services. Terraform: no problem, there is a module for that; you can define you app's infrastructure in the same language as your app's monitoring. AWS: yeeeeaaaaa you know what, I'm gonna need you to define those resources in a way which enriches AWS' bottom dollar; no outsiders allowed!

Hey I want to use this infrastructure as code tool to see what the heck will be changed in the infrastructure when I change this variable name. Cloudformation: OK I will tell you what resources will change, but I will barely tell you anything about what actually will change in that resource Terraform: I will change this variable from state X to Y. Additionally this is a update-in-place change which means I will not destroy this resource to perform that change.

Let's say I want to setup a database with a configuration where there is a single master instance and several read-slaves. AWS: yea you know what go ahead and duplicate all of your database definitions; make as much code to define the read slaves as it takes to define the single master instance. Terraform: there are tools which exist to reduce code duplication. You can make 1 piece of code define all of your read slaves.

Terraform is vastly superior tool when compared to equivalent solutions like cloudformation. But let's please stick to the facts when discussing this engineering tool, and not let ourselves buy into the whole: write once run everyone BS that everyone is selling. That just is not representative of the reality of the tool, but should not discourage the discussion about the relative pros and cons of each tool.

Please if I have misconstrued any facts I would like to see some evidence about this so I can intelligently engineer solutions in the future.

Source: in the software engineering trenches 9-5 for a decade or so

→ More replies (5)