r/programming • • Mar 07 '16

Announcing SQL Server on Linux

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
2.6k Upvotes

871 comments sorted by

View all comments

Show parent comments

150

u/chucker23n Mar 07 '16

Bringing SQL Server to Linux makes sense as it's a very widespread server platform.

For VS, two things hold true:

  • it has plenty of platform-specific code. So much that, unlike SQL Server, it still runs in 32-bit and needs satellite processes to do some 64-bit work at all. Surely SQL Server has some platform optimizations, but so, too, does VS's compiler/build infrastructure; on top, VS is a WPF GUI, and WPF relies on Direct3D. Hard to port.

  • Linux on the desktop is far less interesting than on the server.

So, instead, they approached VS differently by building VS Code from (mostly) scratch. It uses some existing components like Electron and OmniSharp, and presumably, the idea is to take it into account when adding new features to VS in the future. And unlike SQL Server, it runs on the Mac as well. I wouldn't be surprised if VS Code is used mostly on the Mac — on Windows, you'll typically use 'VS classic', and relatively few people use Linux on their desktop.

127

u/svick Mar 07 '16

relatively few people use Linux on their desktop

I think the percentage is going to be much higher among programmers.

40

u/chucker23n Mar 07 '16

Yes, absolutely.

24

u/[deleted] Mar 08 '16

Linux or OS X is what I've seen dominating among developers.

28

u/darkpaladin Mar 08 '16

From what I've seen it's OSX then Windows then Linux. Everyone on OSX and Windows has a Linux VM though so there's that I guess.

-1

u/[deleted] Mar 08 '16 edited Mar 08 '16

Am on Windows. Don't have a Linux VM. Don't want it, don't need it. I do NET development. Visual Studio is all I need.

11

u/[deleted] Mar 08 '16

You can't be that big to account for majority.

6

u/t90fan Mar 08 '16

my corp is ~50,000 worldwide and we have a mixture of macs (with OSX) and PCs with windows, with a VM on either for Windows or Linux respectively. Java/.NET shop in financial sector.

5

u/[deleted] Mar 08 '16

No. We're just one company, albeit a medium sized one at 2500 people. But I said it to point out not everyone uses a Linux VM.

2

u/Kurren123 Mar 15 '16

Me too. Dont understand the downvotes.

0

u/Cuddlefluff_Grim Mar 08 '16

I have never seen anyone use Linux or OSX as a desktop. And I've worked in environments where everything else is Linux. The only places I've seen where programmers use Macs are in web development for advertising firms.

Edit : by "anyone" I mean programmers specifically.

→ More replies (1)

1

u/WarWizard Mar 08 '16

It is getting there for me... for sure. We are at lot closer than I thought we'd be but until I can run full blown Visual Studio it won't be in my future... although Jet Brain's IDE does look promising.

→ More replies (9)

7

u/Andernerd Mar 08 '16

So, instead, they approached VS differently by building VS Code from (mostly) scratch

I wouldn't compare VS Code to VS; it's more like Notepad++.

1

u/giulianodev Mar 08 '16

It's gonna keep getting better though and eventually will be just fine for most people I bet.

1

u/Andernerd Mar 08 '16

That's what I'm hoping for. Perhaps someday it can be as good as Atom or Sublime. Right now, I'm wondering why anyone would use it instead of Atom or Sublime.

2

u/freakboy2k Mar 08 '16

Built in nodejs debugging. I can generate a new node project and have F5 debugging without having to work for it and it makes node dev so much nicer.

2

u/[deleted] Mar 08 '16

I agree, but I also think VS is moving that way. .NET core is cross platform, it supports Android and even iOS development (to a degree). Some of the build tools are ported too.

If the old 90s Microsoft had made TypeScript they would have made the compiler Windows only. Instead it's truly cross platform and specifically built to be open source.

More and more of Visual Studios bread and butter is moving to be cross platform. I think one of the next ones to watch would be MSVC. If that got ported to Linux then we'd be in the odd position where it would be hard to justify Visual Studio being Windows only.

-6

u/mycall Mar 07 '16

WPF relies on Direct3D. Hard to port.

I think LAME could handle this, or if it doesn't, it could.

32

u/simspelaaja Mar 07 '16

You're thinking of WINE. LAME is an MP3 encoder.

9

u/summerteeth Mar 08 '16

LAME is an MP3 encoder.

Hmm someone told me it wasn't. ;)

2

u/wllmsaccnt Mar 08 '16

Well, it wasn't until it was.

11

u/mycall Mar 07 '16

Yeah, my bad.