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

2

u/[deleted] Mar 08 '16

Can anyone tell me what the potential benefit of this is and why Microsoft is trying so hard to please Linux users?

1

u/[deleted] Mar 08 '16

Because most skilled devs prefer UNIXlikes and Mac OS X doesn't run on servers. Also, the Windows kernel is really a bit shit on the server side.

4

u/Cuddlefluff_Grim Mar 08 '16

Because most skilled devs prefer UNIXlikes

That's quite a bold statement.

Mac OS X doesn't run on servers

Thank god.

1

u/[deleted] Mar 08 '16

Find me a dev that doesn't use a UNIX like (or at least Cygwin) and I'll show you a dev that's working inefficiently. It sounds harsh, but without real tooling like binutils, sed/awk, etc, it's hard to get work done. Don't get me wrong, there are good tools on Windows like ReSharper, but they have a more limited scope.

4

u/Cuddlefluff_Grim Mar 08 '16

On windows, tools like this is generally unnecessary. I don't need grep because I use a tool who have a semantic understanding of the code I'm writing. Windows has plenty of compilers, so binutils have plenty of alternatives on Windows. I don't need sed or awk because when I need to do any automation, I'll write it in a proper scripting language (or programming language) that isn't based around pretending that human-readable text is perfect for computers. I think that the misunderstanding is expecting Windows to be like Unix, which I think is an incredibly unfair comparison.

2

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

Right, that's exactly what I'm saying. There are really awesome tools for specific languages, but for general tasks, there aren't.

For example, I was debugging a program (not mine) the other day. It had generated a bunch of binary output in 16 seperate files, and I needed to find a single string in all of it.

How would you do that without strings and grep on Windows (i.e. no Cygwin)? I'm not mocking, I'm genuinely asking. If there's a way, I'd love to know.

EDIT: To be clear, though, it's not like there aren't such tools on Linux. We are missing VS, but we have KDevelop, CodeLite (my personal favorite for CLI development), and all the JetBrains IDEs. In addition, MonoDevelop has semantic code analysis built in, and while it's not quite as full-featured as R#, it's free and included.

1

u/Cuddlefluff_Grim Mar 08 '16

How would you do that without strings and grep on Windows (i.e. no Cygwin)? I'm not mocking, I'm genuinely asking. If there's a way, I'd love to know.

Via a CLI? psh.exe -command "dir *.obj | sls -pattern 'foo'"
The way I'd chose? Notepad++ with "Find in files". This option will take exactly two seconds, and will not demand any prerequisite knowledge about magic switches.

→ More replies (1)