Microsoft takes .NET open source and cross-platform
news.microsoft.com
news.microsoft.com
Where 'nice things' is defined as being open-source, having open-source ecosystem of developer tools etc.
This isn't so much the beginning (as good stuff has been happening for a couple of years now) but it's a huge step.
Thankyou Microsoft.
It takes a while for your code to get big enough for the last part to matter, but it's huge when it does - you can handle any kind of "context" in a generic way, e.g. async calls, error handling, audit logging, software transactional memory, or custom things for e.g. database access. F# has a number of these specific implementations but they're kind of "hard-coded" in the language rather than fully extensible. So I guess the pitch is: imagine C# async/await could be "just a library", and other contexts that you wanted to handle similarly could also be a library, and the resulting functions are first-class citizens in the type system (no awkward choices of whether a particular function is async or not, you can handle that generically).
That's true in F# -- async is just a library in a computation expression.
That's not true. You can extend the language yourself with "computation expressions" (and that's in fact how the 'async', 'let!' et al keywords are implemented).
trait SeqLike[+A, +Repr] extends Any with IterableLike[A, Repr] with GenSeqLike[A, Repr] with Parallelizable[A, ParSeq[A]] { self =>
or
def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That
That being said, when you understand the nuances of type annotations, that code is quite readable in the mathematical notation sense. It is concise and takes more time per byte to understand, but it tells me enough about the code that I rarely have to read the actual implementation to know exactly what it does.
It is in fact representative of the vast majority of code you use.
The fact that it wasn't immediately clear to you that a lot of your code DOES use this code is probably the strongest argument I could make.
Personally, I make it a habit to always read (or try to read, in this case) standard library source code that I'm depending on to be correct.
Scala's STDlib might be more powerful, more honest and more consistent, and also might be striving to be DRY for the implementors.
Personally, I feel that Scala's Collections goes overboard in hitting the above goals, and the resulting signatures are too verbose. And this increases the cognitive load for the subset of people that need to bother about it (performance tuners, architects, etc). But that's not a fault of the language per se.
C++ is the poster child for this. No one argues that C++ is a bad language just because the standard library is full of magic.
To get the "ugly" signature you have to look at the actual source, or example the method definition in the official docs.
They go out of their way to make sure to present an easy-to-understand version for actual users.
Which is why every actual Scala developer rolls their eyes at someone bringing up CBF. You have to go out of your way to try to be confused about it. And if that digging stops at finding the method signature, well, probably serves you right for being confused. ;-)
Is CBF amazing? Probably not. Is it some sort of confusing eternal battle for most Scala developers? Absolutely not.
I mean just look at the official docs, find out where he got these weird examples from, and then tell me this is a well reasoned argument.
Both languages can be difficult to decipher. I do find that Scala's syntax is much more flexible, which can lead to more stumbling when trying to read code.
Annoyingly F# brought them along for the ride too, although you rarely have to explicitly write them.
I wrote a library of monads for C# [1], and implementing the SelectMany method is a good example of how messy it can be:
public static RWS<R, W, S, V> SelectMany<R, W, S, T, U, V>( this RWS<R, W, S, T> self, Func<T, RWS<R, W, S, U>> bind, Func<T, U, V> project)
{
}
I quite like F#'s alternative syntax for single type generics: Option<int>
Can be written: int option
Obviously it's a personal thing, so I doubt I would be able to suggest anything that would change your mind; I just had a quick go at an alternative, and I quite like this: public static SelectMany R W S T U V ( this self : RWS R W S T, bind : Func T (RWS R W S U), project : Func T U V) : RWS R W S V
{
}
class Thing int
{
}
class Thing T : BaseThing T
{
}
It's moot anyway really, it is what it is. I've just found it cognitively challenging over the years.A Scala dev will look at the Scala type signature and shrug.
A C# dev will look at the C# type signature and shrug.
As usual, unfamiliar things are difficult and familiar things are easy.
A talented C# dev will need to know co/contravariance as well as implicits considering they also exist in C#.
In Scala, being familiar with these concepts is practically a necessity, though.
using System;
public class Program
{
public class Person
{
private string _name;
private int _age;
public Person(string name, int age)
{
_name = name;
_age = age;
}
public static implicit operator int(Person p)
{
return 42;
}
}
public static void Main()
{
var person = new Person("Jim", 51);
var number = 100;
AdditionPrinter(person, number); // Prints 142
}
public static void AdditionPrinter(int a, int b)
{
Console.WriteLine(a + b);
}
}True for co/contravariance. For implicits, that depends on which implicits you are talking about.
Scala has:
* implicit conversion operators (these have existed in C# for some time, under the same name)
* implicit parameters (C# doesn't have an analog to these that I can think of)
* implicit classes (C# has an analog in classes providing extension methods, though the classes themselves are distinguished by a keywords as they are in Scala; in Scala, these are essentially syntactic sugar for creating a normal class and an implicit conversion from the extended class.)
C# allows default values for parameters, but it's not quite the same.
Example of C# default value for parameter:
static void Addition(int a, int b = 42)
{
Console.WriteLine(a + b);
}
Addition(4); // Prints 46
Addition(4, 5); // Prints 9
In Scala, the default (implicit) value has more complex rules.Like C#, implicit parameters must come after non-implicit parameters (if any).
Unlike C#, the implicit value does not need to be defined in the signature. Also unlike C#, if you provide the value for one implicit parameter, you must provide the value for all implicit parameters.
Right. Scala has C#-style default parameters as well, implicit parameters are a different (though very loosely related) thing.
Though implicits I feel are so much simpler than many people fear.
From a Ruby perspective: Just think of them as operating similarly to Refinements, except not completely insane because there is no global scope at compilation. You only have to worry about your own package, imports and inheritance.
Tracking down an implicit generally takes all of 10 seconds, and never more than a few minutes. Even moderately brain-bendy ones like akka.patterns.ask (where does the implicit "?" come from? "ask" is actually an implicit conversion to a class that defines it: https://github.com/akka/akka/blob/master/akka-actor/src/main...).
[SerializableAttribute] [ComVisibleAttribute(false)] public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, ISerializable, IDeserializationCallback { ... }
And this is of course ignoring the fact you copied that from the documentation witch shows all interfaces the class implements. IDictionary also implements ICollection & IEnumerable so you wouldn't need to include them. So to actually implement this class it would more likely be
[SerializableAttribute] [ComVisibleAttribute(false)] public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>, ISerializable, IDeserializationCallback { ... }
maybe less
Programming languages you don't know are harder to read than programming languages you do know.
Unlike "bad perl", you have types that tell you exactly what something does.
> ... and simple tutorials which don't go into the depths we need to know (like how do you create a Manifest from Java to call into Scala code that needs it?
Calling Scala from Java is not beginner level material that winds up in a tutorial, and it's a bad idea to begin with; you're stuck speaking a pidgin Scala using Java-only constructs just to maintain Java interop.
I will definitely agree with you there. It would help our team significantly if we had a Scala expert we could consult but there's not enough in the budget (monetary or political) to hire one. We are pretty much left to fend for ourselves with Google, Stack Overflow and a couple reference books. This project also contains a C++ component that would probably have been just as impenetrable to my teammates (who have C but no C++ experience) if I hadn't already been fairly familiar with the language.
> Unlike "bad perl", you have types that tell you exactly what something does.
Static typing doesn't help always when you actively try to subvert it. There are casts to and from Any all over this codebase. Reflection is used everywhere even when it's not necessary. There are even places where they convert between types by serializing an instance of one type and deserializing it as an instance of another (with similar fields but not actually related in the type system). They also loved Option[] types which might not be so bad if they weren't also storing Some(null) into them in just enough places you forget to check for it but it still blows up in your face at least a once a month. Basically, the original authors of this code tried their best to destroy the usefulness of the Scala type system and succeeded fairly well.
> Calling Scala from Java is not beginner level material that winds up in a tutorial, and it's a bad idea to begin with; you're stuck speaking a pidgin Scala using Java-only constructs just to maintain Java interop.
By mandate of our management we are not allowed to write any new Scala code except where absolutely necessary. The contractors went behind our management's back to write it in the first place (we told them they could use Java 8 which they interpreted to mean they could use anything that would run on a Java 8 JVM). After that was found out (about a 1/3 of the way through the contract and too late to rewrite everything without blowing our contractual deadline with our customer) new Scala code was banned and they had to (and we have to) use Java as much as possible after that point. This is also not helped by the fact that at the time they handed the code over it was barely half-baked and performing at less than 25% of the needed throughput and we're left trying to finish and fix it.
Of course, when it can take three or four developers (with a combined background in Java, C#, C, C++, Python, Javascript, and an academic familiarity with OCaml-family functional languages) a half hour or more to figure out what a some of the methods in this codebase even do (at both a syntatic and conceptual level) I am going to put (a small) part of the blame on Scala for allowing such impenetrable code to be written in the first place. I'm certainly not placing all or even a significant amount of the blame for this project's problems on Scala but it is certainly not helping.
Thanks for letting me vent.
The documentation for Scala is actually pretty outstanding IMO. I had a much easier time compared to Ruby. Daniel Westheide's introduction series "The Neophyte's Guide to Scala" is the single best language intro I've ever seen, for any language. It even goes into enough of Akka to get a basic chat application going. And while Akka works nicely with Scala, it's conventions are so different it might as well be a different language. In idiomatic Scala you probably don't run into mapTo or vars too often for example, but that's going to be a pretty common sight working with Akka.
At least the documentation on PlayFramework.com is mostly current, and doesn't gloss over important detail. Unlike rubyonrails.org, where even five years ago the basics were horribly dated, inaccurate, and skip important background.
I've seen C# that is almost as hard to read as bad Perl -- also, not surprisingly, from contractors who weren't going to be maintaining the code.
I don't think this says anything about C# or Scala, I think what it says is something about the natural result of the economic incentives of people being paid to throw code over the wall before they leave for greener pastures.
Outside of some pretty extreme examples (scalaz maybe), I don't think I've actually ever seen someone else's source that implemented a custom collection.
And you're purposefully trying to confuse people by digging into what might as well be "internal" signatures.
What do the actual, official docs say about SeqLike :+ ?
> def :+(elem: A): Seq[A]
> [use case] A copy of this sequence with an element appended.
Oh wow. Why does that look so much simpler than what you posted? Could it be you're exaggerating for effect and disingenuously implying that Scala developers will be routinely faced with the challenge of trying to parse such signatures? Of course you are.Can you dig down further and find the CBF signature? Yes. Do you need to for anything outside of spreading FUD? Nope. Is it a bad thing that it shows how the sausage is made underneath the covers? I don't think so.
If the collections API is purposely trying to confuse people, blame the Scala team, not me.
Akka? Spray? ScalaUtils? Do they take effort to learn? Yes. Are they anything like scala.collections? No.
Why didn't you pick scala.concurrent? Or scala.util? Or any number of other packages? Why didn't you use the signatures in the official docs as-presented?
The Scala team goes out of their way to present something simple and easily digestible to most programmers, even the ones unfamiliar with Type Classes.
I mean, you basically just use a Seq like an immutable version of Ruby's Array and it just does what you want 99.999% of the time.
How often do you see people go on to propose that because much of Ruby's Array implementation would be incomprehensible to 90% of Ruby programmers that that makes Ruby a bad language? It's an entirely ridiculous metric.
I rewrote 100klines at least from C#1 to C#2 when generics came in 2.0. It was compatible in that the non generic code still worked, but I don't really see what difference that made. If we didn't want to upgrade the cod me then we wouldn't have updated the compiler!
Obviously if you don't want the benefits of Py3 then you don't have to pay the upgrade cost either.
How? Scala has been throwing out bad features in pretty much every single release for the last 5 years.
It's nothing breathtaking, it just gets done, people are happier and the language gets better.
Plus, for this question, the size of the user base doesn't matter: If a developer has to adapt his code to a new language version, he/she doesn't care whether ten or ten-thousand other people have to do the same.
Scala's smaller user base means there are a lot of less people to get mad.
> Scala has been throwing out bad features in pretty much every single release for the last 5 years.
You cannot throw out features in a language with the community size C# has, otherwise you just get another Python 3.0.
a) Microsoft is in an excellent position to make such
changes, unlike Python, because Microsoft shops will
largely do whatever Microsoft tells them.
Just have a look at how often they have incompatibly
changed the standard library used by C#.
b) Not every language has to botch the transition as badly
as Python designers did.I love the simplicity behind the language and it makes simple things actually simple - which isn't as trivial as it sounds. But once you start dealing with complex things in Clojure the language doesn't do much for you, if you can't fit your problem in to it's provided toolkit the code written will actually be horrible - for example go look at core.async [1] implementation - just reading that code gives me a headache - I understand it's complicated stuff with buffering and all but having type annotations on protocols and variables used would be extremely helpful when trying to parse that code. Types help me think more abstractly when I'm reading the code as I can take them as compiler enforced contracts and think of them in abstract terms, in dynamically typed languages complexity and the amount of things you need to be aware of is just too overwhelming IMO.
[1] https://github.com/clojure/core.async/blob/master/src/main/c...
You can activate validation for everything in development and then in productive only activate validation on your api endpoints. In a future version, you will probebly be able to generate core.typed stuff directly from schema.
Other then that, I think extreamly high performace code a la core.async is not the norm, there the types are not used for the programmer, but rather for the VM. I have used type hints in the last couple of years maybe, one or twice.
I've tried core.typed, it's amazing in theory but in practice it's unusable (at least for me) and nobody annotates their code anyway. If core.typed becomes more widespread in Clojure community I might actually give it a second chance, in the mean time I'm just going to use Kotlin for JVM, it has transparent Java interop and reduces the Java noise, and the tools (IDEA) is infinitely better than anything I've seen in Clojure land.
A lot of interesting aspects of Scala are possible only because of immutability.
And a lot of smaller things: * Typeclasses. In Scala you can implement them with implicit parameters, I have no idea how you would do it * Case classes. Again in C# you can implement something that kinda looks one with readonly and just a getter, but it's not as good as you won't get stuff like equality and copy, you'll have to write the boilerplate * Pattern matching, in particular with case classes * Option. You can create your own, or use the Option from FSharp, but all the lib you will use will be returning null all the time. * And more...
Additionally there are aspects that are more of a personal preference, like how the "map" function is called "Select" and "filter" is called "Where", and so on. All functional languages use the same names, the SQL-like naming for manipulating collections is just confusing for me.
At the end of the day, Microsoft tried to build a better Java when they designed C#. And it is indeed better than Java, especially because they moved fast in their versions while Sun/Oracle was terribly slow (why did we have to wait that much for lambdas??). But C# mostly sticks with the same concepts as Java (OOP) while Scala truly embraces both FP and OOP.
I can also testify as someone who uses Scala on a day to day basis and used C# at work as well - I completely understand your statement, although it's very subjective.
A), it was an uncalled-for digression into language wars, and
B), now that we're here anyways, a lot of us think the majority of features in scala and Haskell for that matter are fundamentally misguided. My goal is not to write elegant code, but to write the least complex code with the lowest cognitive overhead. TCO, 10x the man-hours in maintenance and all that. If the choice is between having to write null-checks or having to understand category theory to read my code, I'll take the null-checks.
I'm interested in the Haskell part. What features do you think are fundamentally misguided ?
But, for example, https://www.haskell.org/tutorial/io.html.
At the end of the day, this is a huge inner-framework anti-pattern over the same procedural syscalls that every other language handles procedurally. I shouldn't have to care what a monad is, and side effects? The whole point of I/O is side effects. It could be a no-op, idle process or CPU-burning busy loop if I didn't care about side effects.
From that doc:
" So, in the end, has Haskell simply re-invented the imperative wheel?
In some sense, yes. The I/O monad constitutes a small imperative sub-language inside Haskell, and thus the I/O component of a program may appear similar to ordinary imperative code. But there is one important difference: There is no special semantics that the user needs to deal with. In particular, equational reasoning in Haskell is not compromised. The imperative feel of the monadic code in a program does not detract from the functional aspect of Haskell. An experienced functional programmer should be able to minimize the imperative component of the program, only using the I/O monad for a minimal amount of top-level sequencing. The monad cleanly separates the functional and imperative program components. In contrast, imperative languages with functional subsets do not generally have any well-defined barrier between the purely functional and imperative worlds."
So, basically, they acknowledge that their theoretical model has a huge impedance mismatch with what we write programs to do (I/O, eventually, somewhere). And that's fine, they can knock themselves out and I hope it's fulfilling for them. It's not for me.
There's no theoretical stuff here, it's just making sure that the caller knows about callees having side effects.
No, you have a tiny, very simple type that allows for type safe IO. It also happens to make haskell a more powerful imperative language than most imperative languages, as IO actions are first class and can be passed around and manipulated like anything else.
>So, basically, they acknowledge that their theoretical model has a huge impedance mismatch with what we write programs to do (I/O, eventually, somewhere)
No, they acknowledge that doing IO is so important that it should be done correctly. You are going to some pretty extreme mental gymnastics to misrepresent a language you want to hate.
The I/O monad modifies the Universe that contains the set of all functions that comprise your program (if I even understand the concept correctly).
That sounds rather complicated. My way of thinking of it is simpler than that. a -> IO b is just a function from a to b that can do some I/O. Nothing more complicated than that.
The right half is usually empty, except when you use the `>>=` operator (or flatMap) on an existing action, e.g.
let c = a >>= f
That operator chains the function `f` can take the value produced by the first IO action and produce another IO action. After we apply that operator, the result `c` is a cons cell where the left part is the original action `a` and the right part is the function f which takes the value produced by a and produces the next action. Its sort of like a cons cell in regular lists, except the next value is provided by a function. A lazy cons cell, perhaps :)
The final result is a lazy chain of I/O cons cells (called "main", of course :P). Its passed to the Haskell runtime, which executes that chain as a recipe, alternating between doing I/O actions and evaluating the function to decide what to do next.
So what does this buy us? Mostly just referential transparency. What does referential transparency buy us? Easy refactoring. We can replace any expression with its value, even stuff like `putStrLn "test"`. We can say `let writeTest = putStrLn "test"` at the top of the file then write `do writeTest; writeTest` in main.
Another neat thing is that do syntax isn't limited to just IO, but works with anything that implements `flatMap` (and `unit`, which I forgot to mention). That means we can build our own imperative DSLs that produce IO-like monads which are then interpreted by our own interpreter, and the users of those DSLs can use the same do syntax. Which is pretty awesome. Here is a simple example: https://gist.github.com/tonymorris/b5dba9d7d877051d0164 and a much more complex one http://augustss.blogspot.com/2009/02/more-basic-not-that-any... :)
You can handle every single error explicitly (as in Go) using pattern matching
eitherResultOrError = operation1 arg
case eitherResultOrError of
Left error -> handle error
Right result -> handle' result
Its also possible to chain multiple operations then check the error later. If an error occurs, the next operations in the chain will not execute. let eitherResultOrError = do
x <- operation1 arg
y <- operation2 x + 1
z <- operation3 x y
case eitherResultOrError of
Left error -> handle error
Right result -> handle' result
Or simply use `orElse` to return a default value in case of errors.For IO operations and other monadic actions, its best to use EitherT, ErrorT or MaybeT, which are monads that can add error handling to any other monad. To understand how these work, its probably best to implement MaybeT. Basically, they add another wrapper to other monads to redefine what the bind operator (`>>=`) does
Separation of pure and unpure components greatly simplifies the reasoning about the problem domain. Traditional imperative programs are often full of subtle bugs because calling a procedure can have arbitrary effect on your system. For example calling function with the same arguments can return different values based on arbitrary hard-to-track reasons (such as your OS's scheduler). It's just too much details to keep in your head.
But in Haskell pure functions are guaranteed to have same result with same input. It enables the programmer to create logically isolated blocks without messy interdependencies.
It's especially helpful for concurrent programming by freeing you from all the non-deterministic spaghetti.
Haskell has a steep learning curve, but it'll make you a better programmer in the long run.
Sure it does, and composes well under it.
It's late on EST but I promise if you put effort into explaining a higher-order take on this I'll put effort into reading and understanding it tomorrow. Have a good night.
One doesn't have to learn category theory to realize that Options are great, especially when accompanied by a little bit of help from pattern matching, map, flatten and getOrElse.
The fact that many Scala lead figures that come from a Haskell background are bringing with them a holier than thou attitude doesn't mean that there aren't some functional concepts that are very useful even if your code is mostly imperative, and Option is arguably the least controversial of the lot. It's so uncontroversial it's in Java 8, although suffering from the fact that it is lacking some of the great Scala goodies.
Me too. Luckily this is a false dichotomy.
def :+[B >: A, That](elem: B)(implicit bf: CanBuildFrom[Repr, B, That]): That
This is from the standard collections library.
In Java, I've got a List.add function. In case it's not clear from the name, 'add', I can click through to the implementation and it's pretty obvious what's happening.
In Scala, I've got +, ++, +:, :+, and a bunch of other nonsensical bullshit, and when I click through to the implementation? Even less sense. Whenever I use a standard scala collection, I have no idea what it's actually doing. Additionally, everything favors allocation-happy overly-clever immutable wrappers rather than a simple ArrayList which will smoke those immutable implementations in real-world performance.
The cure is far worse than the disease, here.
That line alone drives home the point for me, you can read the rest of scala.collection.immutable if you need more convincing.
Also, idiomatic Scala code is perfectly readable. You have no right to complain about readability until you've dealt with spaghetti code written for Megacorp Inc, that completely ignores the fundamentals of structured programming. :)
Scala's collections have some quirks, but not as many as .NET's collections and you're actually comparing apples to oranges, because you won't find the equivalent of an "add" that returns a new collection instead of modifying the old one in .NET.
This is what happens when you pass judgement unto things you don't understand. Working with immutable data-structures is really, really awesome and Scala's API for these collections is very friendly and very type-safe - as in, if you feel the need to use `isInstanceOf` / `asInstanceOf`, then you're probably doing something wrong ;-)
And I really wish that C# would grow up a little in this regard, as modern programming languages need immutable collections as well, with a nice API to go along with it. And btw - working with Option is super awesome, no category theory needed.
That said, as I was saying in another comment, I'm really excited about this announcement, because this is mostly about the runtime, not the language. You can run things built with Scala on top of .NET right now by means of IKVM. And the JVM finally has some credible competition.
As far as not understanding how awesome immutable data structure are.. I'd take a step back before you make assumptions about what other people understand. Do you know anything about cache hierarchy and memory models on modern CPUs? Performance is important to some of us.
Yes.
> Performance is important to some of us.
... and in those cases, you don't have to use data structures that model your problem domain poorly.
The problem isn't "immutable data structures" or "theoretically robust" languages. The problem is finding ways to express computations and their constraints in a way that can be efficiently modeled for your problem domain.
So what will probably happen is that once you see your performance problems, you can pray that it's only some hot spots that you can then replace with faster code - often it's not, so you have 100 places using around 1% of your time budget for example, which is when you can go and start over.
Yes I do. Worked 3 years on a soft real-time system with massive load, profiled the shit out of everything. There's an interesting discussion we could have about when immutable data-structures work best, when they've got problems and when it doesn't matter, especially given the extra benefits in dealing with accidental complexity. This isn't the right place though.
> Performance is important to some of us
Yes it is, but performance problems are fixed by means of profiling and optimizing the bottlenecks. Even in a system that has massive load, in many cases in doesn't matter and in some cases immutability increases performance by eliminating contention on reads. And seriously, most people invoking performance problems are not having those performance problems to begin with, therefore my assumption.
As I'm sure you know, when it comes to real-world situations, reducing inter-thread communication and isolating anything mutable is the key concern. That's why I find immutable wrappers that mock mutability to be a bit of a sideshow. You shouldn't have read contention with locking in the first place unless it's for a very good reason.
True, but you know how it is in practice :-)
For example I found that using persistent data-structures work best when you've got single producer, multiple consumers scenarios - so you mutate some state and you want to signal it over asynchronous boundaries to multiple consumers. With an immutable data-structure you just signal it, worry free and then you can keep on changing that state, completely non-blocking / wait-free and with good algorithmic complexity.
Actually non-blocking logic becomes really easy, as you can always shove an immutable value into an atomic reference (note - I'm not saying "wait free", which still takes a lot of work :))
So really, persistent data-structures are great in a multi-threading context, as long as you don't have multiple producers pounding on the same reference holding such an immutable value - if you do that, things can get bad, when compared to specialized concurrent mutable data-structures - because a good concurrent data-structure is able to distribute the contention in multiple buckets instead of just one. But then again, having multiple producers pounding on the same resource is just asking for trouble and has to be avoided, because Amdahl's law.
Also, as you've hinted at, the problem with a normal linked List is the level of indirection. And in general, persistent data-structures imply the usage of trees, which also implies indirections. More advanced persistent data-structures are much better than the linked list is and this is an active area of research, but on the whole there's still much room for improvement.
On the other hand, in my opinion when speaking about performance, the first problem one has is to actually use the available CPUs (e.g. getting CPU usage over, say 70-80%). Which usually is hard to achieve if you have a combination of CPU-bound and I/O-bound tasks and your I/O stuff is not asynchronous. Only after that you can then move on to optimizing the memory access patterns for cache locality and for minimizing the stop-the-world freezes.
Speaking about GC, that's another topic - persistent data-structures have a tendency to generate junk that is neither short term or long term and that invalidates the assumptions that current GCs are making. The JVM at least has really good GCs, but without paying for a pauseless one (like that one from Azul Systems), you can still end up into trouble if you don't pay attention - but then you fire up YourKit's Profiler, find the source for those STWs, optimize and it works out well.
All in all I encourage everybody to find a good library that implements persistent data-structures and integrate them in their toolbox.
The one thing I disagree with, in many server applications, is using the available CPUs is pretty easy. You've got thread pools handling various tasks, just crank them up. In JVM-land, a very heavy 512kb stack per thread is still not really much penalty to pay as long as you re-use them. Aggregate application performance then becomes a matter of completing tasks faster while creating less garbage.
So it all comes down to what you consider a 'task' and how you handle the handoffs between them. The architecture decisions at this level dwarf the improvements from using an array vs list, as you implied, but they also make the usage of immutable types somewhat irrelevant IMO. Seal off mutable code within single-task boundaries and it doesn't matter how ugly it is, as long as you're passing immutable types (just plain javabeans with final members are fine) between boundaries.
Anyways, just my opinion. Great comment.
Why the atomic reference here? I know that provides CAS but if we're talking about a single writer aren't you okay to just replace things anyway?
Thanks!
Gotta test for any chinks in the armour.
http://msdn.microsoft.com/en-us/library/dn385366(v=vs.110).a...
Admittedly not part of the core library, but installing a NuGet package is pretty darn easy.
>>This is what happens when you pass judgement unto things you don't understand ;)
[edit: Guess I should've refreshed the page to see the prior response before writing this. Apologies.]
I think it's kind of the point if the judgement is on the question "what is easier to understand". I think this is the sentiment many people staring to learn Scala are feeling - the barrier to entry, even if you are coming not from the blank slate but from the background of programming many years in many languages, is pretty high. It's not the judgement on "whether Scala and its collections are good/done right", which is entirely separate question from "whether it is easier for someone to understand how C# collections or Scala collections work".
>>> And btw - working with Option is super awesome, no category theory needed.
Well, if you want to do something like making a function that works on Option from a function that works on the underlying type, you pretty soon find yourself in that general area.
You're rarely actually going to _see_ that signature (the docs actually simplify it for you), and in practice, it's completely meaningless to 99.9% of Scala you'll ever see.
You might as well consider it pixie-dust.
+ for one, ++ to add a collection, the others are generally going to apply to Cons-like. It takes all of a couple minutes to let these sink in.
Use a mutable.MutableList if that's what you want. Or just use ArrayList.
All this is about as pure FUD as I've ever seen...
Your typical Java developer is used to just look inside the code of whatever library they are using, and find a very straightforward implementation. Scala collections avoid a lot of boilerplate with canBuildFrom, SeqLike and suck, but simple and straightforward they are not. It takes quite a while before it stops reading like Japanese.
And IMO yes, a lot of symbolic methods in collections make relatively little sense. Don't forget that list also has ::, :::, +:, :+ and :\. There's more than a few, and there are no textual versions of them, for those that don't have them all memorized. They are a bit of a relic from the time Martin thought that /: was a good idea. It's fortunate that now only the scalaz people keep doing such things, because excessive use of symbolic operations hurt language adoption.
And he doesn't even get into other early confusion points, like how we have =>, <-, and ->, or how decomposing Seqs is not exactly pretty. Last week I had to help a guy that had been using Scala for 6 months to understand the 'punched in the face' operator :_*
So no, it's definitely not FUD. Are they issues that hurt my day to day Scala use? Not at all. Scala is my favorite language. Being able to use it instead of Java or Clojure is worth a good 15K a year for me.But that doesn't mean that I have forgotten some of the little things that made the learning curve tough at first. Thanks the heavens that I managed to end up finding a Scala job where I could learn from one Bill Venners.
Everybody decried Ruby's 107 methods on Array. Then Fowler came out with "fluent-interfaces", and how often do you see someone make the claims that Ruby's Array is indicative of a general badness because it has a lot of methods and you can't memorize them all in an hour as a newbie?
scala.collection is the same deal.
:\? Sure it's not a good idea. I wouldn't debate that. Who uses that? foldLeft/foldRight.
And what's the deal with trying to memorize the entire interface anyways? 8 or so years with Ruby, writing libraries with over 4 million downloads (https://rubygems.org/profiles/ssmoot), and there are definitely methods in Ruby's Array I'm unfamiliar with.
So what?
While :: and ::: look a little foreign, I don't think asking people to learn them if they want to work with Lists in a Functional manner is anymore difficult than learning what the "spaceship operator" does in Ruby. And it's optional. You don't have to use them. But they're usage will probably be the smaller part in the grand scheme of things. Pattern Matching and accomplishing functional recursion with immutable data is the bigger picture. Outside of that context (and the REPL I guess, for convenience) you're just not going to see either of those operators very often (IME).
You don't use a "splat" (aka 'punched in the face'? That's a new one to me) operator very often. It's actually one of the few semi-pattern-matchy areas of Ruby so it comes pretty naturally for me.
You don't become a pro overnight. You can trust I'd be teaching infrequently used idioms in Ruby to a developer who'd only been using it for six months. Been there, done that. ;-)
I guess where I'm coming from is using CBF to claim Scala is a confusing, indecipherable language. Everyone's had that argument. I don't know that anyone wants to stand up and claim it's the best. But it works. Actually using it is a non-issue since you don't actually explicitly use it. And look at the docs. They're actually pretty great overall.
It just bothers me I suppose that someone interested in exploring Scala would be dissuaded by something that's only ever been a problem for 1% of 1% of Scala developers.
If you're just looking to swap in Play to replace Rails, odds are you'll never run into any of these CBF "concerns". At all. That's the very definition of "FUD" IMO.
For every CBF in Scala there's a Calendar in Java. Languages aren't perfect. CBF is probably a wart. But it's a hidden one. If you let it scare you off from Scala that's sad, because it really has about as much to do with day to day Scala development as array.c (https://github.com/ruby/ruby/blob/trunk/array.c) has to do with Ruby development.
B) Precisely, unlike Haskell, Scala doesn't force you to write "elegant code", you can even use variables. Purists will flame you for that, but sometimes it's the best way to write a small piece of code and as soon as no state leaks outside of the function, it's not that bad. That said, I believe most of the features of Scala make maintenance easier, including the absence of null-checks as it moves errors from runtime to compile time and make major modifications without regressions easier.
The only difference worth mentioning is that they type system won't allow "leaks".
To make Haskell a serious advantage and not just a minor benefit (compared to, say, SML), you probably also need to understand kinds. Let's bear in mind that the vast majority of practicing programmers can't reasonably define an algebraic data type, and that it's not their fault, because the ROI for learning such things is often negative.
I do think there is a reactionary "don't-wanna-learn anything" vibe against Haskell among certain groups. But I think we should be clear that, to get the power that Haskell promises, you do need to learn many new things. Those things, while not exactly category theory in a narrow sense, are closer to category theory than they are to conventional programming knowledge.
data Bool = True | False
is hard to learn or understand or woulf have a "negative ROI".There are a few reasons for this that get dismissed by the day to day practitioners. First, there is the cognitive rewiring required to think of everything as an inert expression. In Haskell there are no actions, just descriptions of actions that the runtime manages. I'm specifically talking about I/O and its monadic implementation. Second, learning about monads is not enough. When effects are encapsulated as monads you need to understand monad transformers to fruitfully combine effectful computations. This is by no means the best way to do things because there are also implementations of effectful computations with row types and extensible effects, e.g. PureScript, that requires a lot less cognitive overhead and is less error prone. Third, many of the high-powered libraries in the Haskell ecosystem are so heavily reliant on categorical constructs, e.g. free (co)monads, functors, applicatives, monoids, bifunctors, Kleisli categories, etc. that getting through all that thicket to be truly productive with the libraries instead of just copying and pasting requires a time investment that is of dubious value to many programmers and you're better off learning about security practices on OWASP because you are more likely to encounter a SQL injection than you are to encounter a Kleisli category of a monad.
I'm not saying knowing these things is not useful or won't make you a better programmer but to just demonstrate that there is indeed a cognitive overhead that might not be worth it. I like category theory as much as the next mathematician but programming with categorical constructs is not necessarily the most optimal way to do things when all I need is a screen scraper for an XML feed.
Perhaps they get dismissed because we all went through the process of learning haskell in order to become day to day practitioners, so we know these reasons are made up nonsense.
Just as Go is fine without generics, F# is fine without HKTs.
It's a sad realization for those coming from a language that does support HKTs. Still a great language.
That said, people are missing the forest from the trees. This isn't about the language, but rather about the runtime and the standard library. That's the true value of the JVM, that's the true value in .NET.
There wouldn't be any problem for porting Scala to .NET. Sure, it would be difficult as .NET's reified generics are maybe too limited for Scala's type-system, but I'm sure somebody could make it work, at least partially.
And there was a Scala for .NET, but it lacked interest so it died. But hey, you can still run stuff built in Scala on top of .NET by means of IKVM ;-) Has poor performance compared to a JVM, but then again, people are willing to build stuff in Scala for Android. Also Clojure.NET is doing pretty good from what I've heard.
As a Scala developer that loves Scala and the JVM, I personally find this announcement very exciting. As finally, the JVM has true competition ;-)
Interestingly, C# can model type classes much more straightforwardly (using implicit conversions), and this is one of the reasons I continue to use it along side F#.
[1]http://stackoverflow.com/questions/9868327/f-type-constraint...
Other than the fact that .NET reified generics and Scala's type system don't play well together, which was one of the big challenges facing Scala.NET.
In the sense of lacking higher-kinded types and typeclasses?
As the language is considered holistically with tooling, the error messages are always good and they don't make dubious decisions (getting rid of semi colons) that are theoretically sound but screw up tooling.
Wait WUT? I'm not sure you know what you are talking about ... that just doesn't make any sense.
Scala 7 years ago is fundamentally different from today's Scala, so I'm not seeing how your experience is relevant anymore.
There is a very good reason they will never eliminate semi colons from C#, the visual studio team would never let them...C# is developed in a completely different style from Scala.
I'm sure you are right: scala today is probably a much more simple language with great IDE support...7 years ago, it was a bunch of advanced features and building a decent IDE for it was a struggle.
I haven't looked into F# or Scala too much, but I bet F# comes out looking far better, because it was so deeply inspired by Haskell (but made practical).
Eh what? Scala is a lot closer to Haskell than F#/OCaml, and can express roughly the same things, while F# is a lot less expressive.
However Scala is not a first class citzen in the JVM, but C# is the systems language of the CLR, already a huge difference.
And what makes it such a good language for you?
I have worked with prettier languages, for instance I have picked up Haskell recently, I have also worked with faster languages, C was my forte for many years and I have worked with languages in the GSD category like Ruby and Python.
C# is appealing not because of some feature that it has that other languages don't. But rather the long list of things they didn't fuck up. For instance by building concurrency and evented programming semantics into the core there isn't multiple competing event loops for instance. (unlike say Python or Ruby which have about 5 each, Java has more than I can count).
It's not so much there is one single thing that makes C# really nice, it's the whole package.
Want to make a screenshot of the desktop? Got it. Want to post keystrokes to another application? No problem. Ohh I see you want to write a tcp server with asynchronous processing? Here's some generics you can just c&p.
I know other languages have these features too, but C# makes it so damn easy to use in the stdlib it's just not funny anymore.
So we've come to the point where copy-pasteability is a language feature? Tell me I can use a library or module. Tell me that the language comes with built in features to help me do this or that. But never tell me I can copy-paste generic code. Please.
They've realised recently this is having a negative effect on open source C# code as so much of the community waits for the "offical" version, but it has its positives too, almost anything you want to do is in the core libraries.
I mean, Entity Framework is great, WebAPI is slick, and MVC has its moments, but there are some real trainswrecks. I've used all three XML serializers in the .NET framework and they're all cringeworthy. ASP.Net WebForms could have been something spectacular with open development instead of the hideous monstrosity it was. And MSBuild would have been laughed out of the room and regarded as some kind of bizarre eccentricity like TempleOS or UrBit instead of a serious build system.
i never slept as much or as well than when i tried to work through the documentation.
XmlSerializer, DataContractSerializer, and what is the third? I agree and was about to point out the same thing though; XML serializers in .NET are a joke but because they exist in the core libraries there is not really a compelling open source alternative.
That being said, it seems like the Asp.Net Web API is actually using Json.Net instead of the built-in serializer.
Linq makes C# much better, especially compared to java. It's a whole different story in F# though.
I'm a Haskell enthusiast, but it's not so good at Windows support, or libraries. I've been thinking F# might be just the ticket.
If you know Haskell then it's pretty easy to get into F#. The only thing you'll miss are higher-kinded types. Although they can be hacked in[3], it's not really worth the effort a lot of the time
[1] http://msdn.microsoft.com/en-GB/library/hh225374.aspx
I'm still trying to get my head around it; I thought I'd try to do so by implementing the core types and functions in Haskell's Pipes. So far I've managed to convince the F# compiler to take well over an hour to compile 70 lines of code!
The main argument against them has been lack of CLR support. But it seems that there's already the FsControl way, so I think some syntactic sugar would go a long way.
So yeah, until there's language support for type-classes I think it's probably not worth it.
I'll have to go study FsControl now ;)
Type providers http://fsharp.github.io/FSharp.Data/library/JsonProvider.htm... Code quotations http://msdn.microsoft.com/en-us/library/dd233212.aspx
Most importantly it has become a first class citizen of the ecosystem so the tooling is already great compared to a lot of similar languages.
http://blogs.msdn.com/b/fsharpteam/archive/2014/11/12/announ...
People keep bringing up Scala, last time I tried Scala (~ year back) the compile times were pretty long and the IDE support was sluggish and I have a decent PC. Nowhere near to C#/VS development experience.
It opens an almost frictionless asynchronous pathway from your code all the way down to asynchronous capabilities of the underlying platform. Which was always the problem with leveraging async/overlapped IO: It was too complex and it turned your application logic inside-out because everything had to be performed in callbacks. async/await takes that on directly: You get everything executed in callbacks - only the callbacks are transparently created for you along with the necessary finite state machines so that your code still composes with exceptions, loops, branches working the way you expect - even across those "invisible" callbacks.
For server scalability as well as responsiveness on small devices (keeping number of thread low - even at one - while still serving the UI), that is really an advantage.
There is no "fakes" on the way - no extra threads being started just to wait for completion of an otherwise synchronous API. If the platform supports asynchronous IO/network/disk/database you can leverage that without any of the strange complexities of other languages.
Worth mentioning here is that Windows has an easier scalable and better designed completion oriented async model compared to the readiness oriented model of Linux - which is mostly limited to sockets anyway.
OS X has GCD - which is also a completion oriented model. I look forward to seeing how .NET with real global optimizing compilers from MS will do on OS X versus Linux versos Windows (on a Mac, obviously).
Also as of recently there is a standard library event loop package, and as far as I know Twisted was the defacto event loop on 2.x for most types of work.
Edit: Sorry, messed it up a little bit. BlockingCollection will block your current thread for any other computation and does not allow to await on it.
But there seem to be alternatives: http://stackoverflow.com/questions/21225361/is-there-anythin... http://blog.stephencleary.com/2012/12/async-producer-consume...
From the usability standpoint I see that they are more or less similar. However since you state that async/await exploits the asynchronous capabilities of the underlying platform I'm really curious to know how is this different from the way the way Future is implemented in a JVM.
Async/await allows developers to write code that looks sequential, but is rewritten by the compiler into a sequence of coroutines built on top of TPL, while taking care error propagation happens correctly.
Fortunately Windows has implemented message-passing event loops for you for a couple of decades. And they're pleasant to work with as long as you don't mind everything being a WPARAM/LPARAM.
Server applications like a async socket server use IOCP, a kernel based type of event loop that is highly performant and scalable. And by the way, the .NET CLR already uses them at its core for sockets and other types of I/O.
I'm happy .NET is going open source path but still think we need others to compete.
MS makes some great technology and some terrible tech... but the problem is the terrible tech gets the same blessing as the great tech. An open-source community is the best way to develop best practices and properly replace their false-steps.
So if people won't pay for operating systems what will they pay for? Stuff that still costs them money, i.e. hardware infrastructure and attendant maintenance and administration. Hello cloud. Development shops are happily sending Amazon millions of dollars a month so they don't have to buy servers, set up server rooms, hire system administrators, and worry about things like air conditioning, big UPS systems and emergency power generators, etc.
Alongside Amazon, Microsoft is doing pretty well with Azure. And you can run free operating systems on Azure, and .NET is already well supported on Azure. So what will sell more Azure? Make .NET run on the free operating systems. Now all the developers who like the free OSs on their personal dev systems are suddenly able to develop stuff they can deploy on Azure. What about all the devs that like Macs? No problem, make .NET run on Mac OS X as well.
I think this is all about making Azure services more compelling and more able to compete with Amazon than it is wanting to do "nice things" for the open source community.
In the end I think this is overwhelmingly a net positive for both MSFT and developers.
A lot of good things happening in Redmond right now.
Now if they can somehow fix this upcoming Lync is now Skype Business business, I'll be really impressed.
However, I think they know that if they completely abandoned the .NET framework, there would be a community of very upset devs that have spent their entire careers investing in Microsoft. Instead, they're doing a slow withdrawal and "giving it to the community".
I think that in the long term, they're going to be focusing more on Sharepoint, SQL Server, and Azure; less on .NET. That's just IMHO.
Also, being open source means being open and transparent about release cycles and roadmaps, which takes a lot of effort and initiative. I do think Microsoft can do that if they build a solid team of technical community evangelists, but otherwise, they will be swimming against the stream.
To be fair, he probably wouldn't have been able to set it up initially by himself. But I've had really good luck getting family members on Linux lately. I can Ssh in and do updates or make changes and it's way easier than remotely administering windows.
But when it comes to automating my build process, doing continuous testing and deployment, setting up a environments in containers, or just where I'd rather spend most of my time operating- I'll take *nix and Java all day over IIS/Windows server. No thank you, the only Windows I have in my house is a VM for using Visual Studio and writing C# web apps on the occasion I need to for personal stuff.
I will be truly happy when I can write C# code and deploy to something like Tomcat. I will never again go back to Java when that day comes.
I feel that people need to feel and experience both side end-to-end deep in the bowel to be able to judge Java/C# because it's more than just the language; it's everything! IDE, Tools, Libraries, Environments, etc.
An example: I opened a case when IE9 was in developer preview with partner support. When they rewrote the download manager in IE for this release they changed how download prompting worked and removed a setting from the UI (and left it in the registry). This broke ClickOnce launches entirely for over 2000 users for us. Fast forward nearly 5 years and it's still broken, the case is still open and to get everything to work for the client we have to frig a registry setting on every workstation they roll out. That sucks for us and the client, badly.
This is a typical story for us. When you deal with VSTO, MSI packaging, managing large clusters of windows server machines, random bugs that just blow up in your face suddenly after working for years, signing code, trying to get repeatable builds out of a CLR solution and automating all of these things, forget it. PowerShell gets you 80% of the way there but the last 20% is a tar pit of pain and impossibility.
Now I've been in the Microsoft ecosystem for 20 years, certified and bought into it all. Perhaps I'm bitter and tired but I can't see past all this experience and have mixed memories of c#. All I see is hung instances of visual studio and working out which project file is buggered and all this is destroying the best language I ever used. I don't want to waste my life on giving them another chance.
There is literally none of the above on Unix platforms from experience. I've only encountered one bug in the last 15 years due to a CIFS kernel bug and RH fixed it within two days. I haven't had any automation friction at all.
I'm worn out and confused to be honest when I read back this post.
Have you worked in commercial UNIXes?
I have some HP-UX, Aix and Solaris war stories.
To be honest windows (NT series) operating systems were pretty trouble free in the NT4 era. The masses of fragmentation and numerous paradigm shifts were what broke it all for me.
so MS is aware that this process should be more light weight for many situations, and appears to head in the direction of node.js type hosting for times when you don't need all the IIS features.
But the JVM platform is great, and I'm just not going to get locked into a MS ecosystem. But if MS opens up to the rest of the world, well, that changes things considerably.
It has been since lambdas were introduced in Java 8. Groovy's original design by its creator James Strachan was about adding closures to the dynamic typing that Beanshell had at the time. The stuff added to Groovy since then (e.g. the MOP for Grails, DSL syntax, static typing in 2.0) are things Java already does better or things (if you ask me) it shouldn't do.
I worked at Microsoft for a couple years and I could already smell this brewing. The devs I respected the most were also the most unhappy with the platform tie-in. This is a desperately needed political shift for the organization, and I think it will actually boost morale as well.
Google and Apple need some other party to keep them sharp, it might as well be MS.
They started opensource within Microsoft under Ballmer, so he deserves some respect to. But i'm sure Nadella is making more room for improvement and betting more "all-in"
I just know some people at Microsoft use *nix tools all the time, Asp.Net MVC took over some awesome RoR features, they integrated NodeJS, LocalDB is the alternative for SQLLite and etc...
Microsoft does everything it can to integrate good features and they won't go away anytime soon. They also have the best compatibility in any programming language i know (with .Net) to be a safe bet for businesses...
Hell, even VB6 still works (any Windows Server and a RDP connection) and that has been released in 1998 => 16 years ago!
- Netscape
- SCO
And many others besides.
Companies have reputations just like people do (that's why we call them 'incorporated') and just like you can lose your trust in a person you can lose your trust in a corporation.
This is not about Microsoft just doing 'stupid stuff sometimes' it is about institutionalized criminal behavior sanctioned at the highest level of one of the largest software companies in the world. Your silly linked blog post by a Microsoft employee tries to wipe all that under the carpet. For the record, I'm not exactly 25, used to be a MS developer and user and have decided that their ethics are not fit for my taste, feel free to disagree.
EDIT: In fact, I prefer the old-guard companies like MS and Oracle to Google's and Facebook's new guard. The old guard is easy to figure out: they're out for profit. The new guard is a lot tricker: sure they're out for profit, too, but usually in a roundabout way that involves subterfuge, baiting people with "free" stuff, spying on their customers and their acquaintances, and various propaganda made to convince people they're working in their best interest.
http://euobserver.com/political/125868
http://en.wikipedia.org/wiki/Intellectual_Ventures
http://www.networkworld.com/article/2466540/software/munich-...
And on and on.
Would you use a google product? They are double-faced went in come to net neutrality, only putting their weight on points that promote their own benefit. They also buy up tons of extremely innovative start-ups, then suffocate them under the weight of their glacial bureaucracy and pedantic squabbling.
I could go on all day.
As for Google, that's the hard one to avoid. Adsense/Adwords is easy, youtube is hard (plenty of video content is only available on youtube), google search is still better than duckduckgo (and I'm really sorry about that, but I'm rooting for Gabriel to achieve parity some day even if that's an uphill battle), and I use Google docs for a few spreadsheets that I need to be able to access remotely.
My mail is on my own server, web stuff is classical 'LAMP', I don't use webkit, don't use V8 and I don't think I have an instance of CUPS here that is actually configured to do real work but it's possible that I'm missing a machine clever enough to auto-configue.
Other hardware is Dell, Synology (which has CUPS on board but it's not in use) and a variety of smaller fry.
It's really not all that hard to keep the big companies out of your life, one of these days I'll find a way to get rid of google completely. The most frequently used closed source product I have is Varicad (but they have a nasty little gotcha that I recently found out about so they're on the way out) and another is adobe acrobat reader (the linux version). Oh, and the Nvidia binary drivers for the graphics card in this box.
With NVIDIA drivers you probably have at least some LLVM compiled components (or will have, once their transition has been completed in future generations), but I give you that one. As a GPGPU developer for example, you probably soon can't get around LLVM anymore and I expect its influence to grow in the Linux world, as it has become the default choice to build new OSS compiler / language projects around.
I'm using DDG myself btw. - Google is the main one I'd like to get away from, but as you wrote it's very hard. At least DDG with "g!" prefix makes me anonymous to them.
What I still find very hard to replace is Skype and/or Hangout - I'm not aware of an OSS solution that works on all platforms and that I can easily set up with all kinds of peers (including non computer literate). Even Hangout is way too complicated, even for aged computer scientists I've found. And I'm really using all of it - VoIP, video conferencing, Skype-Out, screen sharing, messaging. This is the main thing I'd like to replace since we're handing out so much control to this tool.
Also, do you only use older CUPS versions because Apple pays its development for a while now?
http://www.eversheds.com/global/en/what/articles/index.page?...
Of course that has absolutely nothing to do with Muenchen switching back to MS.
2. Regarding the 2nd link - MS has no control over IV's business, unless you have evidence otherwise. And that too, it's "unclean" only to the extent that you believe patents are evil, which is unfortunately an all-too-common view around here.
3. Regarding the 3rd link - see 1.
Sure, but it really depends on what and how much. Microsoft made their fortune by being ethically bankrupt and breaking the law. If the Mafia decided to reform today and go legit, it would be a long hard slough before anybody would actually trust them. And if they kept extortion as a side business, it would make it very hard to believe anything they have to say, regardless of the amount of money they give to charity.
I don't want it to be an optimal business strategy to be evil to maximise growth, and then become nice once evil no longer pays off. Holding a grudge longer than might seem strictly logical is my way of pushing in that direction :-).
Microsoft was the first to release a free browser included with the OS. That killed Netscape's business of selling browsers on a CD for $40, and Netscape was understandably upset.
It now seems clear that an OS needs a browser included, at least so you can read documentation and download the browser of your choice.
Absolutely. I dislike tied sales, I dislike having to buy a Microsoft operating system with my hardware just as much as I dislike getting IE (or chrome or any other browser) forcefully rammed down my throat when I buy an operating system.
I'm pretty sure you can guess what browser I'm using to type this comment.
> It now seems clear that an OS needs a browser included
Does it?
I see the browser as an application, not as part of the OS. And I feel that as a user of an operating system you should have a choice what browser you run and what browser gets installed on top of the OS after that has finished installing. All these cross-layer links are good for nothing.
Yes.
You say you want choice, but if you didn't have a browser how would you download the browser of your choice? Osmosis? Or, more importantly how would your average user download their browser?
Every OS since then (OSS or not) has shipped with a browser and has made it the default for any API rendering that needs to occur (e.g. Ubuntu, Android, OS X, Windows, iOS, Firefox OS, etc).
Netscape's business model would have held the internet back significantly. If Microsoft was forced to provide IE on a CD and sell that CD for $40 then frankly it could have held the internet back at least five years.
> Netscape's business model would have held the internet back significantly. If Microsoft was forced to provide IE on a CD and sell that CD for $40 then frankly it could have held the internet back at least five years.
You can't make statements like that. This is the reality we live in, there is no undo/redo/replay so we only have data about this reality. What would or could have happened if things had not gone the way they did is immaterial, for all you know we'd have moved faster rather than slower. We just do not know. What we do know is that Microsoft engaged in illegal anti-competitive behavior, and that they continued this for quite a while after they were already convicted using their lobbying power to get-out-of-jail free.
People were downloading files long before browsers were commonplace.
And all three heavyweight gorilla IT companies could support FF/Opera with a clean conscience by donating (just like google does already, points for them).
But there (still!) are plenty of people who start with an empty distro and gradually build up, and installing a browser happens just like any other package installation: through the package manager.
When I ask them "can you imagine any OS delivered today without that bundled in?" they change the subject.
http://en.wikipedia.org/wiki/Ethernet
http://en.wikipedia.org/wiki/Microsoft
Yes, there are people that probably would have preferred Peter Tattam's company to be bought by MS. (It was shareware, see thread here: https://news.ycombinator.com/item?id=2282875). But it definitely wasn't an obligation.
Very few would argue that an OS has to have a browser to be functional. Just like very few would argue that all networking should be done in a user space process not part of the operating system.
This whole argument is kind of silly anyways since it's leaving out intent, which is a very important contextual part of evaluating the action of a person or entity. Seeing emails showing MS trying to deliberately get web developers hooked on a "more standards-compliant" IE and then locking those same devs in is a much different thing than MS honestly wanting people to have a decent default software base to go with Windows, even if both strategies end up in practice with "IE 4 preinstalled".
It was a nightmare of coupling, and it's one of the reasons that IE was so hard to get rid of in the enterprise.
Yes, it's become clear that a web browser should be bundled in the OS, and even as I said at the time, when I was a teenager, you need a shitty web browser to download a good one, or at least it's a big help.
What Microsoft did, and is admitted in a book, is to leverage the Windows monopoly to strengthen the Office monopoly, which had impact on every educational institution, law firm, local, state, and national legislature and locked up a ton of public domain work in a file format that only an expensive program that doesn't run on all computers can read.
Eventually that was steamrolled over by Congress demanding an open format, though interoperability is still pretty piss poor.
Of course, all of the DOJ's resources to show Microsoft who's boss were wasted on a silly fight over whether you can bundle a web browser. If you read Ben Horowitz' "The hard thing about hard things", it's not even the browser that sunk Netscape, it's IIS - their bread and butter was the server.
In light of the fact that our phones and televisions now ship with web browsers, and likely most of us are not paying for web servers, it seems clear that Netscape's business model was not going to last.
So yeah, fuck Microsoft.
As the government wrote in a trial brief:
"In short, Microsoft feared and sought to impede the development of network effects that cross-platform technology like Netscape Navigator and Java might enjoy and use to challenge Microsoft's monopoly. Another internal Microsoft document indicates that the plan was not simply to blunt Java/browser cross-platform momentum, but to destroy the cross-platform threat entirely, with the 'Strategic Objective' described as to 'Kill cross-platform Java by grow[ing] the polluted Java market.'"
http://en.wikipedia.org/wiki/Microsoft_Java_Virtual_Machine#...
This is the strategy an MS exec described as "embrace, extend, extinguish":
http://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish
The "embrace" part is particularly gross. IIRC, the court found that Microsoft deliberately misled developers to make them think that apps developed with MS-JVM would work cross-platform, when really it was designed to prevent that. They lied to developers to trick us into wasting our time, to destroy cross-platform technologies that threatened their monopoly.
Want to make it practical? There are thousands of us here who have each spent hundreds of hours struggling with IE compatibility when we could have been building cool stuff. We're building the future as fast as we can, but you and I and Bill Gates will all get to see less of that future before we die, because Microsoft set out to break the web and it took a whole lot of time to fix it.
Of course that was going on 20 years ago now. Microsoft probably has interns now who were born after IE came out. I realized recently that I'm not mad about this stuff anymore. But it's not a history we should forget or repeat.
This is the issue that pisses me off more than anything. There must be hundreds of man-years of development effort wasted on stupid things Microsoft did. Not because they didn't know better, that's forgivable, but they did to screw over the competition. It goes back to MS-DOS intentionally trying to screw over DR-DOS and continues up to now with document format standards.
This is exactly how Windows is sold through OEMs, and like Windows, the effect is that the consumer gets the software "for free" (since it is included in the total price of the computer). So: Netscape and IE would have both come with every new computer.
Microsoft told OEMs that, in effect, they could not buy Windows if they intended to install Netscape on it. That is illegal tying, and is what killed Netscape, as it cut off a major potential source of new revenue.
But since corporations tend to assume a lot of the traits of the people that run them and are given significant subsets of the rights normally afforded to real-life human beings the line between corporate identities and persons can blur to the point where we are allowed to ascribe (some) personal traits to corporations.
"The modern joint-stock corporation has many sources in medieval Europe. First among these was corporate law itself. Although the era is commonly referred to as "feudalism," for the hierarchy of individually owned "fiefs" of land and control of serfs as fixtures of that land, large amounts of wealth in Europe were actually controlled by corporate entities. Chief among these were church lands, the corporate entities being dioceses, religious orders and the Roman Church itself. These entities controlled a substantial fraction of the land in Western Europe. Furthermore cities (with varying degrees of political independence), merchant guilds, craft guilds, and many charitable entities (such as hospitals) were legal "corporations," i.e. artificial and perpetual legal persons under law. Some basic issues in corporate law (for example, when are officers individually liable for acts of the corporation, and when the corporation is liable for acts of its agents) had already been solved in canon law and urban law long before the joint-stock corporation."
and more on the "Origins of the Joint-Stock Company"
Welcome to American corporate culture :)
You have to keep in mind that Microsoft had a monopoly for a very long time. While their actions may, in your world view, be "criminal", as a corporation Microsoft was acting completely rationally. As a public corporation, they have an obligation to maximize value for shareholders. You also have to keep in mind the historical context: back then, there was no such thing as "social responsibility".
I keep hearing that but I don't actually believe that is true.
http://www.washingtonpost.com/opinions/harold-meyerson-the-m...
My post was merely trying to indicate that what Microsoft did in a monopoly position is not in any way unique or special. Every monopoly will behave in this manner, because corporations are rational actors.
I wish for a world where this utterly dishonest lame duck trope stops appearing as frequently as it does.
At least since after I went through puberty (I'm not that young!) Microsoft has been acting pretty damn chill.
I guess my main complaint is that people yell at us for sins that were committed by, quite literally, a previous generation.
among other things.
So, if all choices are bad choices, what are you left with?
We all were. Computers have changed life for all of us. But computers aren't what they could have been...
Microsoft's version of computers is a pale and sickly thing, it's engineered for--that is, optimized for--profit rather than productivity.
Some people use computers to save lives, right? How many more lives might have been saved over the past couple of decades if MS hadn't held features--ideas! concepts!--back again and again to enforce planned obsolescence? How many times did they obfuscate a communication protocol to maintain market dominance?
I appreciate that some current MS employees aren't responsible for what happened before they were hired on.
I hope you appreciate the magnitude of those past sins. There are reasons people yell!
I think you have it backwards. It's the new vision of computers (walled gardens, all the interesting logic hidden away in data centers, content consumption appliances instead of real computers) that is pale and sickly.
> How many more lives might have been saved over the past couple of decades if MS hadn't held features--ideas! concepts!--back again and again to enforce planned obsolescence?
Please enlighten me on the ideas! concepts! Microsoft held back again and again that were not available on free software systems?
If you want to talk about Microsoft's "past sins", I believe data trumps anecdotes: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=269498
If you have any solid data (rather than oft-repeated anecdotes) that MS inhibited innovation on a large scale, I'd like to see it.
People certainly yell for reasons, but those reasons are often very poorly informed.
http://www.catb.org/~esr/halloween/
> I think you have it backwards. It's the new vision of computers (walled gardens, all the interesting logic hidden away in data centers, content consumption appliances instead of real computers) that is pale and sickly.
Yes, these new trends are worrisome. But it's not the first time!
I firmly believe that we'd all be better off if THIS guy had been the one to introduce computers to the common man: https://www.youtube.com/watch?v=xMzojQFyMo0 https://www.youtube.com/watch?v=bOf4EMN6-XA
To this day, Microsoft is putting computers in schools--but not LOGO, not free software, not unix, not lisp, not crates of disposable m68ks and bread boards... Nope, they are putting products in front of new generations eyeballs.
Data can trump anecdotes, and it should when a culture believes they are doing the right thing but things are still going poorly and nobody understands why--at those times, by all means, collect some data and analyze it!
But when "everybody knows" we're doing something wrong, and things are going poorly, then for the love of god use some common sense and stop doing it!
The whole planet got 0wned by MS before many of us here were born--certainly before most of us were competent. So this is what we've got, this is where we are.
Big picture: Where do we go from here? Immediate situation: don't become part of a new generation of MS fanboys. We don't need that.
As for the Halloween documents, come on, 1) you're going to cite ESR, really? and 2) that boils down to "they said something bad about my religion / OS of choice". Marketing strategy commonly involves belittling your competitors. I laughed along at the Mac vs PC ads, even though I knew most of them were simply hyperbole.
> But when "everybody knows" we're doing something wrong, and things are going poorly, then for the love of god use some common sense and stop doing it!
1) Just like "everyone knew" the earth is flat?
2) "Everyone knows" Microsoft is "doing something wrong" only if you don't step out of the HN / Silicon Valley bubble. You and PG and thousands others might think MS is "irrelevant" and "dead" and "evil" and "produces crappy software", but it's trivially disproved by noting that it has consistently been in the top-5 brands worldwide by many different rankings (google it) for many years.
We may not need MS fanboys, but we sure has hell don't need MS haters who base their beliefs on incorrect information.
1b and 2b) I think you've made my point. So are we going to tell the rest of the world, or let them dangle?
Are you joking? I'll just give you one example: IE 6 and its complete disregard for open standards, end-user security and its lack of change put the web in stasis for years. At first, it didn't make much difference that we had Firefox because developers still made their pages only compatible with Microsoft's non-compliant browser, which was understandable as most people used it. Since IE lost ground the web has become a much more open and welcoming space for experimentation and advancement of its technologies. And that's undeniable.
2. Note also that vendor prefixes always were and are still a thing, so it's not just IE that had "non-compliant" features. Adding non-compliant features and then working them into the standards seems to be the natural way web technologies advance.
Especially with Opera in mind, I recall many new features being added to browsers regardless of IE's stagnation. Sure, they were not widely used because the then-dominant IE didn't have them, but that didn't prevent Opera and Firefox from adding them. So, unless you conflate "experimentation and advancement" with "widespread adoption", I would disagree that IE held back experimentation and advancement of web technologies.
1. It's not just that the held back. It's not even primarily that they held back. It is that they taught countless CEOs that Excel was the state of the art way to think.
I don't believe that the best tools are widgets. I believe that the best tools are programming environments. When I really need to get some facts straight, I turn to my trusty shell and unix family of processing tools. When my boss has the same need, she turns to Excel. WTF? Sure, you can do some reasoning with that tool... "But for BETTER reasoning, upgrade to Excel 95!"
2. Even if some old ideas were never completely lost, they were unknown to most people. If it hadn't been for some crotchety old neck beards, we wouldn't be having this conversation... And some of them had to completely dedicate their lives to preserving the idea that computers are not a product, they are a gift to humanity.
Locking down computers using UEFI Secure Boot and taking control away from the owners of the machine.
Sabotaging the office document standard process at ISO.
Corruption in cases where governments explored switching to alternative operating systems.
Supporting software patents.
All these happened within last 5 years (and continue to happen).
huh? I'm not MS lover but can you prove this ?
https://translate.google.com/translate?sl=pl&tl=en&js=y&prev...
https://translate.google.com/translate?sl=pl&tl=en&js=y&prev...
Microsoft requires that x86 UEFI machines be unlockable by end users.
In comparison, Apple has locked down various aspects of their desktop machines for years.
Software patents, including Stacker's, are far more destructive to innovation than anything Microsoft could ever do on its own.
SCO, well... OK, there's no way to spin that as anything but evil.
If you are referring to Microsoft's bundling of IE, that did not kill Netscape. It just buried the rotting corpse.
Before IE was bundled with Windows, it was sold in stores as a boxed product, right next to Netscape's boxed product. Going head to head in retail software stores (Egghead, CompUSA), IE massively outsold Netscape. This is what killed Netscape.
The reason IE outsold Netscape at retail was simple--it was a much better browser. Netscape introduced a lot of proprietary tags, which Microsoft included in IE. Microsoft also introduced proprietary tags, which Netscape often ignored. For the end user, the result was simple: IE correctly rendered more pages than Netscape. It was also better on resource usage, if I remember correctly, which was a much bigger deal then than it is now.
You thought you had forgotten about something? How does that work.
When someone comes into town and shoots your pappy, it's not something you forget or forgive easily. The burden is on Microsoft to prove that they're not the same company as they were back then, not on the people they wronged to get over it.
So no, at this point it is on the Microsoft haters to get over it. And if you can't get over it, then just ignore it. As someone who works partially in the Windows world and thus is interested in Microsoft news, I'm tired of Microsoft news being flagged off the front page constantly. I'm tired of seeing something about Windows and the comments being filled with people hating on Windows 8 for bullshit rather than good discussion about the article. I'm tired of seeing great news like this and have people say "yeah but in 1994 they...". That was 20 years ago. Fucking get over it. Microsoft sure has.
If Microsoft is still doing things wrong, it's completely overshadowed by their detractors constantly shutting down legitimate discussions with their insane rambling about the past.
Some stuff from 2014, maybe that will help you to see that Microsoft has definitely not 'gotten over it':
https://news.ycombinator.com/item?id=8596869
And that's just a very limited list.
I'm not sure Best Buy reflects that poorly on Microsoft.
>"They reportedly have raised over $5.5 billion from many large companies including Microsoft, Intel, Sony, Nokia, Apple, Google, Yahoo, American Express, Adobe, SAP, Nvidia, and eBay, plus investment firms such as Stanford, Hewlett Foundation, Mayo Clinic, and Charles River Ventures."
Again, doesn't reflect that poorly on Microsoft.
>Munich reverses course, may ditch Linux for Microsoft
Is a software sales company supposed to not sell software? That's what they do. How does that reflect poorly on them?
You're hating a corporation for doing what corporations do, and hating a tech company for things tech companies do. Like I said, it's time to get over it or just shut the hell up and ignore it. I understand that your religion tells you to hate Microsoft. But some of us don't subscribe to that line of thinking, and you're ruining it for the rest of us by controlling conversations and shutting down discussions.
Best buy didn't enter into it, you probably did not fully read the link. This was about Romania, not about the USA.
> Again, doesn't reflect that poorly on Microsoft.
It does, because IV is best described as a patent troll in a nice suit.
> Is a software sales company supposed to not sell software? That's what they do. How does that reflect poorly on them?
Because they struck a deal to relocate their headquarters to Munich if and only if the government would ditch linux.
I don't have any religion, I'm just against companies that engage in illegal acts. That 'some of us don't subscribe to that line of thinking' is a pity, I'm not shutting anybody down, nor am I controlling the conversation. In fact, I'm happy that MS open sourced this code.
Also, name a player that isn't equally or more abusive? If you mention Apple, Google, or Amazon, I'm going to disagree.
That's fine by me. I think they should really wise up and start to play nice. If IBM could do it then Microsoft can too.
> Also, name a player that isn't equally or more abusive?
Why, does that excuse them?
> If you mention Apple, Google, or Amazon, I'm going to disagree.
I would agree with that myself, so I won't be naming those.
When a behavior gets institutionalized, it is likely to repeat more often than not. It requires exceptional evidence and time before for trust to be regained.
A person rises up in a typical institution by following and embracing its institutional patterns. When they have their back to the wall how unlikely are they to fall back on their old patterns, heck they neednt even have their back on the wall. Now if someone gets get screwed over by them, no ones more to blame than themselves. As they say, "fool me once ..."
It is entirely possible that someone else does similar damage to your business in an unethical way, but if one goes to a repeat offender and gets treated that way, the shame is on him / her.
And that's fine. I just don't want to hear about it. You're mad. We get it. You don't have to like them, all we ask is that you stop bringing it up in every thread. See also: bringing up Google Reader in every Google thread or bringing up the NSA in every thread about cloud providers. We know bad things happened. But you're still dragging the thread off-topic.
... and therefore people should curtail their speech ? stop talking about relevant things that transpired ? May be you are a tad shaky on the concept, lets burn all the existing history books and those about to be written.
> They've had exceptional evidence and time
That is your opinion. The way it works is that you dont get to decide for someone else who has lost the trust whether MS has done enough, its the prerogative of the person who has lost the trust. The waiter at a restaurant chews on the serving and says this food is perfectly fine and you must push it down your throat isnt a very solid defense of the food. The buck stops at the desk of the restaurant patron.
And who said 'hate' ? That seems like your construct. Its a question of choice, should one buy into the MS ecosystem or not. Every person makes his / her own choice. I for one am now more willing to invest time in learning F#, but quite queasy about being dependent on that ecosystem financially.
> But you're still dragging the thread off-topic.
Oh really ? what exactly was off-topic in the thread and why. As I said, perhaps you are a little slow on the concepts.
> the bad stuff they did 20 years ago
False, and this has been amply demonstrated on this thread. But the time is not relevant. What is the relevant is the confidence / assurance that it wont happen again and the wisdom or the lack of patronizing a repeat offender. Why did those bad things happen, and why wont those things happen again. Whoever wants to use their products need answers that satisfy them. Different consumers will have different standards.
Perhaps it is good teachable moment for corporations. Deliberate and repeat actions can continue to affect them long after. If those in charge were so concerned, they perhaps should have thought it through. After all you make the bed you lie in.
A parting thought, those bad shit, they were far from an impetuous one off.
Thing is, I treat companies like I treat people. Legally speaking, isn't that what they want, in the US anyway? So if you violate my trust, it's goodbye until I see serious amends being made.
However I must say that with this move I'm finally ready to forgive Microsoft. I've always seen .NET as a platform created for achieving lock-in with Windows, the ECMA standard (while better than Java's JCP, which is a farce) I've seen as an attempt to paint a turd and Mono, while a wonderful effort, I've never seen as good enough. Open-sourcing .NET is a wonderful move, because now we've got a credible alternative to the JVM and this move couldn't come with better timing, given the dickish moves by Sun/Oracle against Apache Harmony and Android's Dalvik / ART.
And don't get me wrong, compared to other people I do not have double standards in this regard. I've been a Google fanboy for years, but my eyes are wide open now and I'm making moves to escape their lock-in ;-)
I would say this is a really bad strategy. According to unwritten HN rules, I should now start explaining why I think there are differences between a company and a person, and why they should be treated differently thereof.
But I won't. :)
How else can you get companies to listen to your needs? And my needs as a developer and a user are simple - I need my privacy, an open web and a healthy open-source ecosystem. And I'll vote with my wallet and I'll bitch against any company that has a problem with that - and I'll also encourage alternatives that cater to my needs.
The world would be a much better place if all people behaved like this IMHO - oh, so are the shareholders a company's top priority? Not my problem.
That concept is fantastically distopian. The concept "voting with your wallet" is practically abject propaganda. We have a word for this already and it's not "voting:" it's "purchasing" or "bribery."
>How else can you get companies to listen to your needs?
With words. The very thing you are using right here.
Well that didn't take much.
Upgrading IExplorer to something that can be called a modern browser and helping to estinguish IExplorer 6 is another event. Replacing Balmer was another event. Partnering with Xamarin (instead of crushing them with patents) was another event. Releasing Office Mobile for Android and iOS was another event. Etc...
As to why they are doing this, I don't really care as long as they are aligned with my needs. Plus I'm allowed to change my mind, depending on my mood :-)
Now saying that, I think that an Open Source .NET stack is a wonderful thing! I like C# a lot.
Your link just drops me at the front page of his blog. Searching for it through Google leads to a result, but clicking on that link also takes me to the front page. Is there a mirror?
http://webcache.googleusercontent.com/search?q=cache:SoH4dHM...
On the Google search result next to the url is a tiny dropdown arrow. You can click that arrow and select Cached.
That is not true. Microsoft was convicted because they told 3rd party computer manufacturers that they could not purchase Windows if they intended to install any additional browsers. Not only is that illegal, but it demonstrably harmed innovation in web browsers for years.
I don't believe Microsoft killed my pappy, and I use MS software every single day. But I also don't believe in minimizing or misrepresenting the facts of the past.
He has so completely missed the deadly point that he's accidentally echoed it in his own post: Tons of people feel that Microsoft killed their Pappy.
Nadella's actions tell me one thing: the free software movement has threatened their bottom line.
This is not the time to back down, it's not the time to forgive and forget.
This is the time to review the Halloween Documents!
So they are being very aggressive in the cloud and mobile area which is understandable. But where does this leave .NET, visual studio etc? Those are no longer the tools with which megacorps make their intranets, or where Photoshop and Call Of Duty is made. Cloud and mobile is about scale. They want thousands of cloud apps and mobile apps to be made. They can give their tools away and make money on tablets and azure. Azure runs Linux!
So making the tools free is a natural step in becoming a service company. Making them cross platform is natural since Microsoft now sells cross platform services.
No one thinks Microsoft isn't only concerned with their bottom line. It's not a charity. But that's not to say this is some kind of greedy trap. It's probably a good move for both devs and microsoft.
>But where does this leave .NET, visual studio etc? Those are no longer the tools with >which megacorps make their intranets, or where Photoshop and Call Of Duty is made
.NET was never the tool where Photoshop and Call of Duty was made, but a significant amount of mobile apps and games nowadays are made using Xamarin and Unity, tools that run on top of Mono, a cross-platform implementation of .NET. If anything the Microsoft announcement brings Mono and .NET closer together. And I think you will find that a significant (if not majority) proportion of megacorps do run their intranets on SharePoint. SharePoint is and has been customisable using .NET libraries and tools.
VS will of course still be used by megacorps to make those huge apps, and ms will still charge them for it.
The free VS + open .NET just means single devs and startups have fewer reasons left to pick e.g node, jvm or Python as their platform. unlike before, these small players are very interesting since one of them is making the next minecraft and will host it on Azure.
How many of the "non-criminal new microsoft generation" do you see there? My guesstimate: 33%
This is partly what inspired me to write a wishlist for Satya in the first place.
I met a bunch of the IE folks at CES 2012, and I honestly believe their trying to be better web citizens. They are still slower than I'd like, but IE isn't quite terrible anymore. I have friends who work at various browser vendors, and I don't sense any lingering ill-will towards IE.
That said, I certainly understand why some people are slow to get excited about Microsoft. You don't have to be middle-aged to have personally experienced the bad side of Microsoft.
I admit that IE was shit and it did cost a lot of time. But how about we get over it? They admitied that IE was shitty and now they are doing much better.
There are products from other company that used to be shit, now they are better and people dont still hate on that.
Also, dont think im a idialist who does not remember the past, I was optimizing for IE6 not all that long ago.
I seem to remember they even tried to make obsolete the Win32 API. Their strongest asset.
I'm not sure what they've done to receive such hatred. They are just a technology company and are trying to sell the product.
Hatred?
I simply decide not to buy into a certain company's products and services because I recall some misdeeds from the past and that's equal to hatred?
As for what they have done, I thought Microsofts history was chronicled enough that it doesn't need repetition, especially not on a website for 'hackers'.
But if you need pointers, you can go visit groklaw.net (if it is still up) to read about SCO and Linux, you can read up on the Stacker case and you can try to figure out why Microsoft ended up in court over IE and a long list of other not so nice things they did in the past.
Stacker: 20 years ago. IE Antitrust: 10 years ago. SCO: 10 years ago.
The last ruling in the SCO case was a mere 4 years ago.
I mean no disrespect, but what's the bad stuff being done my Microsoft today?
Abusing their patent portfolio directly, ditto through proxies, continued attempts to subvert open standards, bribery to use Microsoft software in various third world countries (and in Romania too, and Germany for that matter) and many others besides but those alone would be enough to not make me go back to using their development platform.
http://yuhongbao.blogspot.ca/2014/08/my-wishlist-for-satya.h...
It also includes things MS has done in the past that is not too late to fix.
Locking down computers using UEFI Secure Boot and taking control away from the owners of the machine.
Sabotaging the office document standard process at ISO.
Corruption in cases where governments explored switching to alternative operating systems.
Working against software patent reforms.
All these happened within last 5 years (and continue to happen).
Was that a scummy trick? Or just a dumb move?
If you reword things enough, nothing makes sense. For example:
"I don't see why Stalin receives such hatred. He was just a politician, and tried to stay in power so he could keep following his vision."
But since you brought it up: who knows? How can anyone measure how many people were put out of business and killed themselves because of the ruthless tactics of huge corporations? How many people have wasted how many hours paying for their inferior products, or trying to make them work, and to how many human lifespans does that add up? It's impossible to claim any company "killed X people" that way, but to think the net effect is somehow clean and unbloody is also naive. To put it crassly, some people didn't take to the boardrooms because that is more humane, but because it's more effective, because robbing and killing people is inefficient. Doesn't it make it as bad as Stalin, but since Stalin isn't the baseline for how bad something has to be to be unacceptable, that is irrelevant.
Also, imagine a world where Linus Torvalds had done something else, and a bunch of other factors had worked out slightly differently; as far as open source goes, Microsoft DID try to kill it, they spread as much FUD as they could, they handed out their products to schools and universities for fear of them breaking free, and only now when they still lost they are starting to play nice. So as far as software and software freedom is concerned, Microsoft did kill plenty.
And now imagine repelling the Conquistadores; not because they reconsidered, but because even giving it their best shot, they could not kill enough to totally submit everyone like they originally planned, and had to regroup or be wiped out themselves. And now I am supposed to be grateful and let bygones be bygones? No. Others can do that, but I can't respect them for it, at best despite of it. And you know what, I don't like Apple either. So I'm the position of loving computers and programming, but none of the big players, anymore. And I don't have to chose a side, I can find them all lacking. Because they are not to be compared to each other, but to the behaviour of intelligent humans with dignity, and the vision of an actual information age that empowers and liberates people, instead of just seeking to capture them, so they can be fed any old uninspired BS that is made shiny and big with all the capital leeched off the masses. This doesn't change in a few years or decades, or without fines or even prison sentences, for that matter. I'm not buying it for one second.
I wish Microsoft the very best but I want no part of it and I'm totally free in making that decision based on their past behavior. Microsoft has had their chance with me, I probably developed as much or more code for the windows platform as I did for other platforms but right now I would consider myself pretty silly if I switched back to MS just because they may have changed their ways and deserve another chance. Those are not lightly made decisions, there is a huge amount of time and effort invested and I already switched once because of their behavior.
That said there is enough going on in the present that makes me wonder just how much they have really changed, they're still dragging their heels post judgement in several court cases where they have been ordered to start cooperating and have pulled a substantial number of annoying tricks in the recent past.
Never mind the 'microsoft tax' (which I paid on this machine even though it never ran MS software for even a single cycle) and so on. So yes, it makes perfect sense.
There's no way they decided to release the source and have it ready within 9 months.
I wish more people were open to admit things like that. It would greatly reduce the time I've spent the last few months arguing over products and technologies with people who keep the fact that they don't hate the product's quality directly but indirectly, given that it was made by a company they don't support anymore.
They're just trying some desperate measures to stay relevant. You already know MS is institutionally evil.
You must really, really dislike Microsoft.
> I'll never switch back to MS for what they've done in the past...
I know people have their pet peeves, but IMO, opinions are better based on empiricism and data are than in infinitely repeated anecdotes:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=269498
(Spoiler: it follows Betteridge's law. Disclaimer: it was published in 2001, so it does not account for any shenanigans post-2000.)
The Scotts (Hanselman/Guthrie), Miguel De Icaza and so many others have worked tirelessly on this, and we (.Net Developers) owe them a ton of gratitude for helping to make sure this ecosystem doesn't wither on the vine.
Also MS has always come across as very opportunistic, giving the impression they will drop support for this if it serves them better.
Unity has really driven home the popularity of Mono as a cross-platform code platform -- there are tons of people using it who wouldn't necessarily consider themselves .NET programmers. (yes, I realize there's a mix of library, language, and APIs in that soup).
But Mono merging with real .NET crossplatform support suddenly makes it a viable api for all sorts of non-microsoft use.
Back in the day, I remember how badly I wanted the dataset controls from .NET -- they have all this nice built-in functionality manage partial datasets from MSSQL to client memory and then sync multi-edits back to the database again (round trip). It's possibly the best round-trip data controls I've ever found in a library and it's mostly unheard of outside .NET circles. It makes the libraries that jQuery and Rails use
We have a lot to learn from each other -- I'm glad that MS has taken this step forward to embrace cross-platform again in such an open way.
Many languages can use the Eclipse, IntelliJ or Netbeans platform. The JVM provides a true multi-platform target as a first class idea. MS might be trying to do this, but they are really behind. I wonder if the world's most past.
"There is a new FREE SKU for Visual Studio for open source developers and students called Visual Studio Community. It supports extensions and lots more all in one download. This is not Express. This is basically Pro."
Now I admit this is the early days of their open source push. That's fine. But until they make VS Pro free, across the board, I doubt non-MS shops will really pickup the platform. There isn't much of a win without VS. Heck, most MS devs are so VS centric that you'll probably get nothing but confused looks if you did use an alternative IDE and said that during an interview.
From the actual site for VS Community [0]:
> Q: Who can use Visual Studio Community? A: Here’s how individual developers can use Visual Studio Community: Any individual developer can use Visual Studio Community to create their own free or paid apps.
Sounds to me like you do fit in that category for this edition of VS. That being said, .NET development definitely does still seem very VS centric, but things seem to be changing. The experience of using sublime text + omnisharp[1] doesn't look too bad.
[0]: http://www.visualstudio.com/en-us/products/visual-studio-com... [1]: http://www.omnisharp.net/
I don't think they need to. They might if they have some particular need in it, but there are way more interesting things to learn if you are interested in something new, like Rust of example.
While C++ has a place in the .NET ecosystem, there is a reason that C++ and .NET are different beasts and still exist side by side as different universes. CoD and Photoshop are C++, they would probably benefit from being Rust applications.
While in the past you would be well prepared if you knew (say), Haskell, C and Python, a good lineup in the future could be e.g. F# and Rust instead.
Is C++ broken? I'd say with the C++11 and C++14 changes, it's getting less and less "broken" from the complaints usually levied at it.
- he's made it (if Mono is everywhere and now blessed by Microsoft)
- he's ruined (if Microsoft's original Windows-only .net runtime is now everywhere, and there's no need for Mono)
EDIT: apparently it's both - https://twitter.com/shanselman/status/532558786486370304
http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSour...
or
http://webcache.googleusercontent.com/search?q=cache:http://...
If you want a high-level lang runtime with good IDE support, you can just use .NET now. You know, unless you want Ask toolbar.
Either way, I meant that even before this announcement, Mono was a choice (I use it at fairly high-scale server apps) in many cases. It wasn't C# and Windows or Java for anything else.
Having an official linux/mac os ASP.NET will be huge, even if the functinoal difference is minor compared to Mono. Just knowing it will work tomorrow, and after the next major release is huge.
Yesterday I would rather have chosen Node.js than a .NET solution for a small service on Linux, simply because it's safer. Tomorrow I'll be back to rather having pineapples shoved up my nose than write JS.
Using Node/Grunt/Bower to build a straightforward run end site (just to compile static outputs) required npm installing over 13 thousand files. Now imagine on a build server, starting clean, each time? Yeah, it takes a very long time just to download that stuff or do anything with it. Insane.
And at the end of it all, it's just JavaScript on the server, like ASP did in the 90s. With a cumbersome async API. OK.
I love yeoman, great scaffolding tool, but it depends on so many packages that sometimes it simply doesn't work because some package it depends on did something silly. So once you have a working set up, don't update it if you absolutely must.
That shouldn't be the case in 2014.
What would it take for you to say "gosh, now Microsoft has regard for open source!" ?
If the answer is "nothing, I'd never say that ever" then you don't have an opinion, you have a fixed religious belief.
And how does your threshold for Microsoft differ from the same for Apple. Google, Facebook et al?
Major projects open-sourced on GitHub under MIT licence? Check. Runs Linux, java and PHP in the Azure data centres? check.
Microsoft is a company, like many others. Some divisions do things that are friendly and benefit me, sometimes, because they want to sell things. That's realistic.
I'm well aware that onions differ, which is why I ask about people’s reasons for holding those opinions, so that I can understand them. Of course, it's equally likely that people will resort to bluster and accusations instead of answers when they really don't have reasons, rather than examine themselves.
For instance, one of the movers here is Scott Guthrie, who joined MS in 1997: 17 years ago.
http://en.wikipedia.org/wiki/Scott_Guthrie
And let's not forget thsi from Hanselman: "I've been here pushing open source and the open web for over 5 years and things are VERY different." http://www.hanselman.com/blog/MicrosoftKilledMyPappy.aspx
Market forces and realities impact Microsoft's decisions far more than culture does. The reality of the Microsoft stack right now is that very few people are choosing it as a greenfield option, and those already invested in it are looking at alternatives.
Just a few weeks ago I wrote about a new project I was initiating, choosing Java as the platform. Understand that I've been a Microsoft stack developer for many years, but a variety of inertia, platform support, ease of getting setup with the development tools, and trust in the platform reasons made Java the better choice.
But this announcement changes the equation to some degree, as have Microsoft's various other opening up directives. Microsoft no longer sets the technology agenda, so choices like this are simply a reaction to that new reality. That isn't being cynical, and the changes are very welcome, but Microsoft didn't just punt the old timers and now they see the light.
Also very true, the culture didn't "just" change. It's another reason why anyone hating on MS while ignoring Google, Facebook, Apple et al is living in the past.
C# is a nice language, better than Java for sure. Microsoft has a long way to go yet to win back developers (lots of dirty tricks in the 1990s) but at least they are heading the right direction now.
Yeah, now Microsoft are dead.
The sad thing is: these massive changes are only chipping away at the entrenched opinions.
They've been doing this bit by bit over the past few years, yet I keep seeing this[1] kind of stuff at every turn (find my reply here[2] for a true tidbit of irony).
We can be a very religious lot at times.
[1]: http://compositecode.com/2014/04/09/ive-officially-sent-this... [2]: https://news.ycombinator.com/item?id=7526525
For Microsoft, it's less bad if everyone switches to an uncontrolled platform than if they switch to a platform locked in by a competitor. The embrace/extend/extinguish logic works the other way when Apple are driving it. (They've done fairly well at killing off Flash, and Silverlight never stood a chance in this environment)
I see what you did there.
Why would this signal the death of PC? If anything this is most closely related to the death of Windows Server, since a ton of application development is done via the web.
Mainframes have been dead since the early 80's. Yet IBM maintained being relatively strong until only recently, surviving 30 years on a "Dead" platform.
Just like Apple.
Apple only became open source friend after being acquired by NeXT (this is actually what happened inside).
The old Apple from the Mac OS 1 - 9 days was anything but open.
Some people just label it as open source due to LLVM, Webkit and everything else posted at https://opensource.apple.com/
While forgetting that is a tiny part of the whole eco-system.
If anything, Microsoft was hurt to get on this bandwagon in the first place. I guess they had to, too bad that they followed the Windows/iOS model, instead of following the Android one. If they would have released Windows Phone as an open-source platform, maybe they would've had a chance.
But I digress - there's a lot of opportunity to improve desktop operating systems. Too bad that Microsoft decided to release a desktop / tablet hybrid. What a dumb idea that was.
> For Microsoft, it's less bad if everyone switches to an uncontrolled platform than if they switch to a platform locked in by a competitor.
Exactly, these companies want openness only as long as they are the underdogs. Check out what happens with Google - broken IMAP in Gmail, broken CalDav in Calendar, dropped Exchange support, dropped XMMP support in Hangouts, PNaCL as their own version of ActiveX, Drive still does not have a Linux client, etc...
> [Apple has] done fairly well at killing off Flash, and Silverlight never stood a chance in this environment
Well, I'm actually glad that they did that, because it encouraged open standards to emerge. It would have never happened if Flash survived the mobile world. No, my pet peeve with Apple is that their App Store policy prevents Firefox from happening on iOS. And that's not what I consider a platform I can build on or an operating system I can use.
C# will port over just fine. But the .Net libraries? System.Windows has little to nothing in it, and right now using things like System.IO.* on Linux and Mac is just asking for trouble.
What are they going to do, hack in System.IO.* Linux support after the fact? Or just add Linux.IO.* which is even more of a hack. In either case you're going to get very messy very fast.
The .Net libraries absolutely could have been designed with cross platform in mind, for example if they put the IO libraries in System.Windows.* and several of the other Windows-specific APIs.
As it stands the .Net framework/libraries are very Windows locked. So much so you'd almost have to scrap them and start over to make it more platform agnostic.
Because in that case what's the point? Why not just use Java.
Literally? Well it is visually displayed under it and to the right :P
I haven't done much .NET on UNIX but if I was doing so, I'd probably want something a bit more UNIX-friendly than System.Console, though I know it does have the ability to deal with different streams.
"ASP.NET 5 will include a web server for Mac and Linux called kestrel built on libuv."
Mono plans on contributing to the effort our cross platform changes to Mono, to make .NET work great on Unix.
Details here: http://tirania.org/blog/archive/2014/Nov-12.html
They are open-sourcing the server side code. I think this means your ASP.Net apps can run on Windows, Linux, Mac OSX all from the same open source code base. No worry about Mono incompatibilities and bugs.
I didn't allude to that.
Microsoft doesn't need to provide compatibility for the Windows specific bits, as those bits are not part of the Core. And a platform like .NET has enough value in open-sourcing just the Core (i.e. whatever goes in the ECMA standard). For example it's a perfectly acceptable strategy to use GTK# on Linux, WinForms on Windows, MonoMac on OS X and Xamarin.Whatever on iOS / Android.
On System.IO, indeed there are differences between Winsock and Linux's epoll or BSD's kqueue (i.e. notify on completion versus notify on ready). There are differences between the 2 models, but I don't see that as a problem for System.IO and if you think it is a problem I'd like to read an explanation as to why.
Personally I'm very excited about this announcement. I avoided .NET for years and preferred to settle for the JVM because I do not like building on top of proprietary things. If they are really open-sourcing the .NET runtime, whilst uniting their efforts with Xamarin, that's really good news. Now hopefully the ecosystem around .NET will follow, as .NET needs an open-source oriented ecosystem and needs one badly.
System.IO works very well on Linux/Mac right now. It was one of the first things implemented by the Mono team.
Having ported numerous .NET applications, all of which do fair heavily file I/O (the most common use case for System.IO), the main sticking point has been code that deals with filenames and paths. As in "/home/billy" vs "c:\Users\Billy". A hour or so of cleaning up your code and making use of Path.DirectorySeparatorChar and IsRooted is all I've needed to do.
"As it stands the .Net framework/libraries are very Windows locked"
This shows a lack of understanding of the .Net framework. Yes, if you used crazy Microsoft specific WCF libraries for networking protocols instead of industry standard stuff, or used WPF for graphics, that going to be a problem. But there are literally thousands of classes providing a fairly comprehensive set of data structures, network protocols, etc that are completely untied to Windows or Microsoft. If you are using something in System.whatever you are pretty OK.
P.s., Sockets aren't in System.IO, they are in System.Net
The CreationTime on DirectoryInfo would have to be faked, and it's not entierly clear if FileSecurity would map cleanly to posix acls, but nothing sticks out as being fundamentally incompatible with linux at least.
The new Microsoft under Satya Nadella has totally changed the direction of Microsoft in just a few months. They had one of the best and rock solid development platforms and research division, and loyal customers. The new Azure cloud (Online + On Premise) along with the opening of .Net will change the playing field.
I'm sure this is a great new for us developers. The change to work on one of the best runtimes, on a platform of our choice and on one of the best programming environments.
Great job Microsoft!
Let's say, for the sake of argument, that this announcement was made under Ballmer. How many of you would trust this announcement/take it at face value? Even going by this thread, there is a deep distrust of Microsoft's moves, and that is despite all the positive press that Satya has received for creating a more "open" Microsoft.
IMO, the biggest change that Satya's moves have resulted in is a change in the "perception" of Microsoft's intentions. The non-Microsoft community trusts his intentions, and by association his actions, more than they did Ballmer's. I don't blame this lack of trust, heck I subscribe to it. But attributing all of these decisions to just Satya shows a lack of appreciation for how decisions of this magnitude are made at a company like Microsoft.
While you might be right about having a new leader and creating change, but this is not something that happened in the last few months. This has been building up for years. I think it started with IronPython and IronRuby, then other things started popping up too.
ASP.NET vnext has been on github for a while now.
You're right though about this all being really great news.
Thus their fate today.
The difference, this time, seems to be high-level policy and a complete change of direction of the entire developer division.
This is coming after a decade of Microsoft losing ground on the server side to Linux and on the consumer side to Apple. If anything, it shows the positive effects of keeping a large firm out of a monopolistic position.
Huge corporations have a huge number of things brewing at any given time, most of which don't make it to market. Executive decisions are a big reason why or why not. And Ballmer was repeatedly and emphatically on record that MS software should revolve around Windows.
In other news:
* Visual Studio 2015 and ASP.NET 5 will support gulp, grunt, bower and npm for front end developers.
* OmniSharp is a family of Open Source projects, each with one goal - To enable great .NET development in YOUR editor of choice - http://www.omnisharp.net/.
Holy Gates! It's like they're listening or something. Can't wait.
Someone should remind MS that we've been burned before by "open source" that turned out to be "open for what fits MS, not what fits you".
All that said, I'm happy to see this under MIT!
Well that should make a lot of people around here happy.
Joking aside, there are a lot of surprises coming out of MS, this is all quite nice.
We have a serious problem with generations of so called software engineers growing up with the perception that this kind of code flatulence is ok to be released to the world.
We need more programmers with real knowledge to solve the problems the world has today. These really good guys feel offended by such bloated systems and like minimal, efficient solutions. MS has lost the ability to attract these elite programmers forever and it is today a propagator of an anti-concept of software and software development.
Already too many people are not seeing the obvious. They believe MS produces acceptable operating systems, while anybody with real knowledge can only laugh about these caricatures of computing systems - this is doing so much harm to the whole IT world and therefor to the real world.
Bloat, bloat, bloat. Incredible. We must actively prepare to not let this illness float into the world of elegant, slick and efficient open source products. This is a dangerous bloat attack against the world of free thinking - be prepared to fight the invasion of miriads of dumb zombies! Neanderthalers are still out there, many of them, to fight the evolution of homo sapiens sapiens.
Please tell us which slick and efficient open source products do you use.
I'd suggest if you want to criticize this release, you do so on a specific basis. You're generalizing not just about bloat (which is a relatively meaningless term) but also Microsoft itself. If you feel the .NET framework is bloated, then be specific. What does MS's operating systems have to do with the release of the .NET CLR and frameworks? These are two completely different pieces of work.
C# has been available for Linux for years.
I would argue that C++ is also a brilliant language, and is just improving and improving.
But anyway, just another platform to write another language on. More employment opportunities for all of us.
I know ... I'm surprised they didn't add a "Beware of Jaguar" tab on which to place that option.
As for java going to the graveyard -- don't hold your breath. Not that I mind - I actually enjoy coding in Java, given the tools & libraries that are available. Heck, I really don't even mind the language. I'd appreciate better handling of value types, and continued improvement of the GC (both to make it more cache friendly and to provide better control of pause time vs. performance), but really, I find it comfortable and productive.
I've never heard a Ruby or PHP developer list Azure as a potential deploy target. That is a real problem for Microsoft, even though Azure can do a lot of the same things AWS or Google's cloud does.
Smart move Microsoft.
I am, of course, happy to see it. But, let's not get too excited about what good Open Source citizens Microsoft have become. Let's let their actions going forward determine that.
Can you expect anything more, really, in the end? It's why we have to always be vigilant against any company taking a stranglehold on any technology. My biggest question in nearly any technology choice these days is "to what extent does this lock me in?". Because the only thing that really keeps these companies working in your favor is the threat that you can, and will, leave if they don't.
Otherwise mono seemed to run pretty much everything i threw at it. Can someone with .NET experience clarify for me what this will enable that mono doesn't (yet)?
In other words, if .net will continue to be riddled with windows only API's I'm not really interested.
The article seemed to mostly focus on the server side of things, but I'm not really sure if they can pull many devs over to writing application servers on .net. It will be hard competing against Java there.
WPF is part of a trend I believe to see, going away from strictly consistent UI styles:
QT used to emphasize simple widgets that you could theme consistently. With QT quick the emphasis is on individual per-app styles themed with css (but you also have the old widgets). Very similar situation in GTK3, where cross-desktop themeing is deemphasized (they removed support for changing theme colors, hid the theme changer in gnome-tweak-tools, and some developers advocated removing themeing altogether). At the same time, individual GNOME3 apps experiment much more with nonstandard widgets and CSS than before.
Windows 8 "Metro" apps are similar. With the simple, clean design language, I thought they would be really design-by-intent. A la "I want a list here, and I want to link it to a detail view. My elements have these properties. Build me a CRUD interface and spice it up with these colors." and it would generate a Metro UI. But instead, after playing with Visual Studio, I find it's almost the opposite: "Place a rectangle at these coordinates, a label there. When the user clicks here, run that code." There is very little in the development experience to encourage consistent UIs, and you have to look up stuff like recommended font sizes manually on MSDN. Naturally, it makes it impossible to upgrade the UI style over all apps in a later Windows version.
Same in Android. Try to make an app look up-to-date, even on currently unreleased OS versions is impossible. UI code is way to low-level, considering a huge fraction of apps are just fancy list-views.
I could go on for a while. The point is that (unfortunately) UI consistency is not a priority nowadays (maybe except on OSX), at least when it comes to tooling (the efforts of many developers to still make consistent UX/UI are very laudable). And compared with the competitors, you could write at least as nice apps in WPF.
A few months ago, we decided to write a big new software component at $work, basically a service layer that is going to accumulate lots of business logic. We discussed several programming languages, and thought that a statically typed language might be a good fit (we mostly did perl and python so far). C# was dismissed pretty quickly, because .Net was closed source, and Mono had the reputation of being a bit second rate (possibly not well-founded, but also hard to debunk for somebody not in the community).
I mentioned that Roslyn was also open source, but it was hard to convince anybody when the "main" implementation was still closed source (and we're very much an open + linux shop).
If this had come a year earlier, we might have picked C#. Maybe there'll be another project here in a few years...
Why does it matter if it's open or closed-source? It's not like you can realistically invest time to dig in the source code and modify it, in the rare case that you found a problem. C# had huge amounts of money invested on it, probably more than your entire project you were planning.
Except that exactly this has happened with lots of libraries that we use, and sometimes also language implementations.
Compilers and interpreters aren't any more scary than other projects, really.
This does bump F# up quite a bit in my estimation, though; I never loved that Mono was a reimplementation of a proprietary platform.
That's incredible!
It can save time in the beginning and you will prototype early.
Easy to use and easy to access.
The revolution in competition for indie game development platforms is here. I don't know why Crytek is doing, but Unreal Engine is very usable and amazing technology.
http://blog.interfacevision.com/design/design-visual-progarm...
Also Unreal Engine will be fixed soon ;) - Xamarin is working on C# scripting for it.
2. Effortless porting. See 1.
2. Stock assets delivered with the engine - that's pretty valuable if you're indie.
2. Being first to indie market: community and asset store.
Competition is good. Microsoft still have megatons of work to do to catch up Java (mindshare or tooling wise).
ElasticSearch, Hadoop, Cassandra, HBase, HDFS (mixed with C).
Newer infrastructure for big-data are either Java, Scala, Clojure (one or two tools).
Some of the startups also use Java (not all). I rarely see C#. So yes, C# is not catching up yet.
Sorry, Eclipse + Ecosystems (that include plugins/integrations and whatnot) = beats VS any day (with or without pants). And if you have money, IntelliJ is right around the corner circling VS.
I think people don't realize that comparing the Java and .NET requires dragging the community, the platform, the tools, the plugins, and everything else in-between.
I granted in Windows/Desktop .NET is the king. Everywhere else it's the other way around by a long margin.
If by "enterprise" you meant WalMart bought ten thousands license of Windows 7 OS for their workstation then sure...
But let me offer a different point of view: SAP, IBM, Tibco, Oracle, Salesforce (not too big yet but they are entrenched), NetSuite (same level with Salesforce), Workday. Mostly Java...
Deploying .NET to linux is pretty huge.
I just hope they simply let it die at last. Of course, that's a subjective opinion, but Java is so ugly, that it's enough to keep me away from getting more into Android development.
Visual Studio is awesome, specially debugging when it is in Symbol server debugging.
Though i hate the thing 'Not Responding' and your OS is freeze. When your solution growing with 50+ project, it took 4-5min to open and by any chance if you click the solution it will hang.
So, Microsoft is finally adapting. But what are they actually doing? Why did Microsoft finally decided to make .Net cross-platform? What's in it for them?
Look at what's in this shiny new package: They've open-sourced just the core runtime. They are not open-sourcing Visual Studio. Or WPF. Or SQL Server. Or Active Directory. Or Office.
There's one thing the Linux ecosystem is pretty good at: Scaling, both up and down. There are technical reasons for that, but none could possibly be an issue for a software powerhouse the size of Microsoft. There are also commercial reasons for that, most important being: You just can't beat free.
So that's what Microsoft is finally moving against -- Dear startup founder who is afraid that licensing costs will eat him/her alive while his/her "Growth Hacking" strategy is working, dear embedded programmer whose tiny IoT device that just can't cope with the whole Windows mumbo-jumbo, welcome to the Microsoft platform -- You can now safely run your C# on these free platforms as well.
So, Microsoft is finally back in the game. They even seem to be playing nice. But the question in everyone's mind is: For how long?
I think a better question might be: what next? (Disclaimer: optimistic MS employee)
Not only that but Java/the JVM drives the bottom line of a lot of places where it matters (mindshare, money).
That would take more than a few non public meetings betweenn G and MS I guess but possibly better than having to tiptoe around Oracle in the long run?
Really other than the C# language itself, there's not much to recommend the .NET core stuff over the ART runtime (which is in the process of replacing Dalvik). .NET has much broader library support, but that has to be balanced against the need to ship a lean(ish) runtime (c.f. the installed size of a Windows Phone image vs. Android!).
And if Google really wanted to play games with source language (which they don't seem to), there is no shortage of very decent JVM-targetting environments either.
This feels huge to me as someone that has always been on *nix variants but that has been told the .Net environment is amazing as long as you're willing to pay/work on Windows. I still probably won't switch over to C# or F# any time soon but it's good to know I could actually work on a WinMo app if needed.
It'd be nice to be able to use some of the fruits of their labor without having a steep entry fee to evaluate it.
Thanks MS, this is a good move.
Still this is great news and kudos to Microsoft for taking this bold step in the right direction.
I've always missed the power of visual studio when programming for open source platforms. This can change things a lot.
This Community Edition is extremely similar to the Express Edition, except with some limitations removed (e.g. extensions enabled) and some new limitations added (5x team members max, which the Express Edition doesn't have: no limit).
The Express Edition can be used to produce and publish commerical software. It says so right on their home page [0].
[0] http://www.visualstudio.com/en-us/products/visual-studio-exp...
Extensions enabled on the community edition is great news for people who can integrate awesome tools like resharper
http://jonathanmarkwell.com/2013/08/23/me-and-steve-ballmer-...
The move is designed to attract iOS and Android Devs to .NET.
But let's see:
As an iOS developer, I've invested years in learning Objective-C and Cocoa, UIKit, etc. Now I'm starting with Swift. I'm sure a lot of iOS devs feel this way. Besides, if I can't use it from OSX, then I'm out.
Why should I forget everything and learn C#/.NET ? If I want a write-once-run-everywhere thing, then I could go for one of the miriad Javascript or HTML5 cross-platform frameworks or C++ with Qt, JUCE or the likes.
Same thought pattern applies for Android/Java - why would a seasoned Android/Java developer want to learn a whole new framework and programming language ?
Is C#/.NET so much better than Java/Android or ObjC/Swift that it mandates switching to it ?
They're opening the core, and large portions of the web server stack. This points to it being a play for web development, not native mobile.
There are some additional integrations with Xamarin - but Xamarin isn't owned by MS nor is it the key highlight of today's announcements.
But that is even more puzzling. The backend space is so crowded with native, scripting and exotic languages, that I really don't see how they can attract hardcore c/c++/go/node.js/python/ruby/perl/php/erlang/haskell/lisp or Java crowds to .NET.
Maybe it's exciting for existing .net developers to be able to deploy their backend apps on linux servers.
C# and .NET let you dev on OSX, Linux and Windows, then deploy to OSX, iOS, Windows, Windows Store, Windows Phone, Linux and Android. Your only other real option for that kind of portability is C / C++, but. Well, you know, then you're working in C / C++.
That leads to further evangelism at conferences, more talk about how C# is great and the platform is excellent, etc. I think they hope to persuade entire dev shops to switch over, rather than single devs, in a very long-term sort of way -- even if it's just a small percentage that change, the press is potentially worth it. MS has an image problem, and this would help mobilize their core to speak to more of the good parts.
F# really is so much better, too. And C# is pretty great if you haven't embraced the holy lambda yet.
You can see the comments that the platform dev put, which helps you deal with their assumptions about edge cases that are not documented. You can also see how they develop for C# internally to get ideas how to make your app better too.
"Microsoft Announces Windows 2000 Certification For Microsoft Certified Systems Engineers"
"Microsoft and Samsung Reveal Windows Powered Pocket PC For GSM/GPRS Networks"
"Microsoft Office 97 Family of Applications Honored With Industry Awards"
"Microsoft Invests in General Magic"
"Microsoft Internet Explorer 3.0 Beta Download Demand Overwhelming"
Ignoring the time machine aspects, I wonder what made their algorithm come up with these stories. They mention "Microsoft" and "Net", but that is about it.
.. in 2003, four years before the iPhone launch. I wonder how that one got messed up? Carrier brokenware? Inadequate hardware?
I would be pretty shocked if MS just suddenly dropped their won linux/mac implementation. Xamarin and the mono team have been working on this for a very long time. MS is just bringing them further into the "legit" fold
AFAIK, it will be MIT licence.
Edit: Yep, MIT. It's not like it's secret: https://github.com/dotnet/corefx
Source: http://blogs.msdn.com/b/dotnet/archive/2014/11/12/announcing...
> and expanding .NET to run on the Linux and Mac OS platforms.
http://news.microsoft.com/2014/11/12/microsoft-takes-net-ope...
(source: http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSour... )
Microsoft will (in partnership with Mono the project) ensure that .NET core and server stacks run on Linux and OS X.
They've just demonstrated deploying an ASP.NET MVC5 application on Linux, running inside a (Linux) Docker container and being remotely debugged from Visual Studio on Windows. Which seems to indicate that they are already pretty far down that road.
If there are any MS people in this thread: I would pay for Visual Studio for Mac and Linux if I could also use its GUI designers on those platforms. If I could write a GUI front-end in C# and design it with VS and ship it for Windows, Mac, Linux, and possibly others, then I'd definitely pay money for that.
Right now we've got Qt, Java, and possibly HTML5+node-webkit for that, and none of those are anywhere near as good as MS's GUI tooling and IDE.
Link: http://www.hanselman.com/blog/AnnouncingNET2015NETasOpenSour...
Miguel
Or do you mean an application from Microsoft? Because I believe Microsoft has actually been using Mono (via Xamarin) to publish applications on iOS.
I couldn't care less about binary compatibility. As a developer, I'd rather have 100% (or 99.99%) source code compatibility. I don't mind setting up different downloads or running different builds, as long as I can do it from a single codebase that doesn't have thousands of #ifdef WINDOWS equivalents.
VS isn't built (entirely) on .NET but uses lots of C/C++ underneath. So it shouldn't be confused with .NET itself running on these OS.
Even as a developer, cross-platform binary compatibility doesn't enter my top 10 list of important things for a programming language. Java is paying a pretty hefty price in language features (like type erasure) because things originally compiled for Java 1.2 still has to work on the Java 8 runtime. Is it really worth it?
http://blogs.msdn.com/b/somasegar/archive/2014/11/12/opening...
Feels good :)
Even if you are a command line ninja, amazing autocompletion, magical debugging with inspection are pretty wonderful.
It also has really good plugins for many languages, besides Java, like Scala, Python, Ruby, Javascript, PHP, Clojure and Groovy.
My colleagues that are doing Ruby development are saying that it's the best IDE for Ruby. Whereas myself, as a Scala developer, I'm saying that it's the best IDE for Scala - the Scala plugin for example is still not as smart as the Java functionality, but has everything you'd expect out of an IDE, like amazing autocompletion and magical debugging with inspection - personally I feel that IntelliJ IDEA for Scala is better than Visual Studio for C# without Resharper.
Its only problem is that there's no support for C#. This is because people doing C# are doing it on Windows with Visual Studio, so there wasn't demand. But say that demand increases for cross-platform stuff due to these moves by Microsoft, IntelliJ IDEA will probably gain C# support and if IntelliJ the company is the one that does it, then it's going to be darn good.
So don't get me wrong, but for cross-platform stuff alternatives already exist and even if Microsoft releases Visual Studio cross-platform, problem is that it will have serious competition, plus they'll have to poor serious resources into it and frankly I'm not seeing it happening - IntelliJ IDEA is built in Java and runs on the JVM, hate it or love it, for IntelliJ it is easy to port it to other platforms. Visual Studio on the other hand, well, it probably has very Windows-specific guts. So a cross-platform port probably won't happen.
But what I'm seeing happening is a plugin for IntelliJ IDEA or Eclipse (hopefully IDEA, since it's my favorite). And from what I understood there are things in project Roslyn that IDE authors could use to jump start the nice stuff, like completion or refactoring support.
You didn't say what Resharper does, and why other IDE's need it to be called modern. Is this an advert for Resharper?
> like Scala, Python, Ruby, Javascript, PHP, Clojure and Groovy
You listed one middling language among 6 top languages. Is this another advert, trying to promote a language by associating it with the oft used ones?
It's clear what he meant for everyone who hasn't been living under the rock for the last 10 years. Don't blame him if you are clueless.
> You listed one middling language among 6 top languages. Is this another advert, trying to promote a language by associating it with the oft used ones?
Heh? It's a list of some languages supported by that IDE.
Did you have a bad day, or are you just confused?
Perhaps he meant "automated code refactoring" but used a brand name instead. I've never knowingly used Resharper whenever I've used IDEA community edn, but perhaps it's been running anonymously beneath the surface. That's why I asked what it was. His whole comment read like an advert for brands like IDEA, Resharper, and Groovy so that's why I questioned it.
Looks like it's time to finally learn F#
Btw, if you copy the original link into the Google search field, you get a search result with the page, and then you can just view the cached version by clicking on the small green arrow at the right side of the URL.
I wouldn't believe them this time either.
IMO, it never really went away. It's still huge in enterprise.
We now get all these bug fixes for all of our products across Android, Mac, iOS, PlayStation, Xbox and every other embedded system we support.
Some details:
The next decade will be interesting.
Edit: It probably won't be for me but just saying who knows, some developers might prefer C# over Java on Linux and Mac. Too bad Microsoft is 13 years to late for me on this. They had my interest when I was beta testing Visual Studio .NET 2002 but by 2005 when I saw how far Java had come and got a taste of the power and Cadillac nature of Eclipse; it would be tough to turn back now.
Developers can get started with Visual Studio Community 2013 here.
<<link is not working>>
http://www.visualstudio.com/en-us/products/visual-studio-com...I think they meant here? http://www.visualstudio.com/news/vs2013-community-vs
It was a great platform though. I was impressed by the it when I first went to Teched in year 2002.
I don't see people using IIS switching to linux either... I know I wouldn't.
I wanted some more specifics regarding licenses and found this page helpful: http://www.dotnetfoundation.org/projects
Hopefully one day they'll support the entire Java runtime so that I can deploy Java apps to the JRE or .NET.
Google Cache: http://webcache.googleusercontent.com/search?q=cache:http://...
http://techcrunch.com/2014/11/12/microsoft-takes-net-open-so...
http://techcrunch.com/2014/11/12/microsoft-takes-net-open-so...
Microsoft Corporation and its affiliates (“Microsoft”) promise not to assert any .NET Patents against you for making, using, selling, offering for sale, importing, or distributing Covered Code, as part of either a .NET Runtime or as part of any application designed to run on a .NET Runtime.
If you file, maintain, or voluntarily participate in any claim in a lawsuit alleging direct or contributory patent infringement by any Covered Code, or inducement of patent infringement by any Covered Code, then your rights under this promise will automatically terminate.
This promise is not an assurance that (i) any .NET Patents are valid or enforceable, or (ii) Covered Code does not infringe patents or other intellectual property rights of any third party. No rights except those expressly stated in this promise are granted, waived, or received by Microsoft, whether by implication, exhaustion, estoppel, or otherwise. This is a personal promise directly from Microsoft to you, and you agree as a condition of benefiting from it that no Microsoft rights are received from suppliers, distributors, or otherwise from any other person in connection with this promise.
From https://github.com/dotnet/corefx/blob/master/PATENTS.TXTMS still doesn't get free software, and probably never will.
Edit: My bad. "As part of a .NET runtime" means you can extend it. But I'd be no less nervous about using it because it is not a license, merely a 'promise' with questionable legal weight.
Also I am seeing that last version of https://code.google.com/p/qt4dotnet/ is 4 years old?
There are a number of Gui toolkits to choose from, see e.g. http://www.mono-project.com/docs/gui/gui-toolkits/
All should work with microsofts framework just like they do with mono.
I definitely won't be running ReSharper in VS 2015.
My experience has been that .NET interop with C++ code bases using C++/CLI was much smoother than with PInvoke. It would be if that were cross-platform too.
Since we are here, could someone please explain me how is it that it takes so much space?
Also its great to have an engineer at the helm of microsoft again.
ASP.NET + related stuff: https://github.com/aspnet
so that means I can write GUI-based desktop apps for Linux in C#, right?
cool :D
And the hanselman blog won't load for me.
For Microsoft though, doesn't this mean (ironically) loss of business, because many people will no longer have a reason to run Windows?
Great news, but this platform should be born as Open Source since the beginning. Anyway, before late than never.
And, moonshot, but — giving IronRuby/IronPython as much prominence as PowerShell.
I want both to be available, though.
As nice as C#/F# is, the real fun comes from the powerful IDE. And I just don't do windows anymore, except for occasional gaming (and this only until I finally buy the new retina iMac and throw the last PC at home away).
I was at the 2000 PDC when they announced C#. We are now just shy of 2015. My 15 is more accurate than your 12.
I was actively looking for a cross-platform replacement for Perl at the time and while C#/.NET was exciting it was also a huge disappointment because it was yet another "runs on Windows only" Microsoft technology.
I don't see how you can tell me that I am wrong when I was sitting there with the CDs in MY hand 14.5 years ago actively disappointed because .NET was NOT cross platform like Perl and Java.
I'm done arguing this. This is stupid.
Now that Microsoft has proper competition from Apple and Google it has to start playing nicer.
It would have been much more benevolent of them if they were still the monopoly power of 20 years ago.
Yay for competition.
And microsoft never had a monopoly on mobile (smartphones + dumbphones)
So, what exactly has been changed the last 20 years? In my country (Belgium and my work also sells computers / laptops), practicly all laptops / notebooks / desktops are Windows (we have a sister company which is a computer store)...
I'm coincidentally in Belgium too :) Any chance you work for CoolBlue then?
All, right, why would you say "freaking out" specifically? MS has a habit of adopting good ideas from elsewhere, and I don't think containerisation is any exception. Maybe they see not supporting it as a strategic weakness, but shoring up strategic weaknesses is business as usual for any large company, not "freaking out". Throwing chairs is freaking out.
We know that .Net is rolling out containerisation features in 2015, including but not limited to docker integration. Going all in on any tech is an odd way to "freak out about it".
good work MS!
"To further support cross-platform mobile development with .NET, as part of their strategic partnership, Microsoft and Xamarin announced a new streamlined experience for installing Xamarin from Visual Studio, as well as announced the addition of Visual Studio support to its free offering Xamarin Starter Edition — available later in the year."
http://news.microsoft.com/2014/11/12/microsoft-takes-net-ope...
He didn't gave even one argument. Just spilled some venom.
Mono's SIMD is one example: http://tirania.org/blog/archive/2008/Nov-03.html
Please say yes.
This will allow Jetbrains to create a good Intelli(j|n) IDE for C#. :D
Stay closed source? People bitch.
Open source the software? People bitch.
Can't win.
It does appear that he has a completely different vision of what Microsoft will be in the future compared to what Ballmer had.
Microsoft has being at the locus of so much bad behaviour in the tech sector that I really have to wonder. Even if Stallman started running the company, how much could it change?
'...show me the code.'Thankyou Microsoft.
"Available Wednesday, Visual Studio Community 2013 is a free, fully featured edition of Visual Studio including full extensibility."
So, it sounds like this will replace the Express edition and let you install extensions like you can in the Pro version.
"Visual Studio 2015 and .NET 2015: build for any device - Built from the ground up with support for iOS, Android and Windows, Visual Studio 2015 Preview makes it easier for developers to build applications and services for any device, on any platform."
It almost sounds like you're going to be able to run VS2015 on different platforms, but I doubt it. Maybe you'll run the web version of VS2015 to develop from Mac/Linux?
"To further support cross-platform mobile development with .NET, as part of their strategic partnership, Microsoft and Xamarin announced a new streamlined experience for installing Xamarin from Visual Studio, as well as announced the addition of Visual Studio support to its free offering Xamarin Starter Edition — available later in the year. "
This is very interesting - .NET is going fully cross platform but they haven't bought Xamarin...are they planning on competing while keeping their frenemies close or something else?
My money is on the App Creation naively in VS 2015 - via Xamarin or similar plugins - instead of having to rely on tools like Eclipse or IdeaU.
I think I'd lose my mind if I could develop apps in Visual Studio and C# instead of having to use Java and pay $1000/year for Xamarin.
It could just mean a move away from Xamarin as a core development tool into producing things which support development on these platforms.
What will likely happen is Microsoft will :
* open source the core libs
* open source the JIT
* make sure it works on all platforms
* open source the ASP.NET and port it to Linux/Mac so they can separate Azure from being a Windows only cloud service
Xamarin then packages these in to Mono and Xamarin.iOS/Android providing a layer on top of MS core stuff. Microsoft will then be able to sell .NET as a truly cross-platform solution and make VS/Azure more popular where it's probably losing to other OSS ATM.
Xamarin is working with a great many companies who would think twice about working with Microsoft directly. This way Microsoft can shove money to Xamarin to forward the ecosystem without scaring anyone.
I don't think they'd have any issue purchasing Xamarin and importing/re-branding.
Nokia sells to consumers, so there wasn't the problem (as his theory suggests) of corporate clients not wanting to have business with MS.
Not saying that his theory is correct, just that it's different case to Nokia.
> Oracle and IBM announced in October 2010 that we will collaborate in the OpenJDK Community to develop the leading open-source Java SE implementation, and make the OpenJDK Community the primary location for open-source Java SE development. Oracle and IBM will support the OpenJDK development roadmap that was proposed before JavaOne 2010, which accelerates the availability of Java SE across the open-source community.
"Today we’re excited to take the partnership to the next level, by announcing:
1. Support for Visual Studio 2015 – Today, we released support for the Visual Studio 2015 Preview release, which includes Xamarin templates that make it easier to discover and download Xamarin from within the IDE.
2. Free Xamarin Starter Edition for Visual Studio Users – Today, Microsoft announced a new, free edition to Visual Studio—Visual Studio Community. Visual Studio Community contains support for extensions, which means it will be Xamarin compatible with from day one. We want to help make Visual Studio Community a tool for anyone to create native apps for iOS and Android, so we are announcing our plans to enable our freely available Xamarin Starter Edition to work with Visual Studio Community. We are also doubling the size limit on apps that can be created with Xamarin Starter Edition, so that you can build even more capable apps for free. This will be available in the coming weeks.
3. Special offers for MSDN Subscribers – We’ve worked with Microsoft to create a 20% discount for Visual Studio Premium and Ultimate MSDN subscribers to purchase Xamarin Business or Enterprise Editions, or world-class mobile development training with Xamarin University, available up to 60 days after the Visual Studio Purchase."
It does not sound like you can run VS on different devices.
Quite a powerful combo at that point!
this pretty much highlights the whole movement at Microsoft +Xamarin: (and directly answers most of the questions in this thread) Microsoft intends to make Xamarin's job a lot easier and realign its developer-oriented strategy in the same direction
Scott Hanselman outlines it concisely here (http://www.hanselman.com/blog/MicrosoftKilledMyPappy.aspx):
Delivering on its promise to support cross-platform development, Microsoft is providing the full .NET server stack in open source, including ASP.NET, the .NET compiler, the .NET Core Runtime, Framework and Libraries, enabling developers to build with .NET across Windows, Mac or Linux. Through this implementation, Microsoft will work closely with the open source community, taking contributions for future improvements to .NET and will work through the .NET Foundation.
“A strong, open source, cross-platform CLR opens significant new options for building large server-based systems,” said Brian McCallister, chief technology officer, Groupon. “This significantly expands the choices developers have when finding the right tool to solve their problem. I’m very excited to have access to the quality virtual machine and tooling of the CLR without having to completely rework our production infrastructure in order to run it!” ____
this will be of great interest to those already using the CLR as it gives more incentive to those developers / dev shops
Then we have to look at its memory usage, GC pauses, locking issues.
It is much easier to say than to port correctly a large, very complex code-base to an alien platform. (Mono has been written from scratch, if I recall correctly).
.NET going open source is Microsoft admitting that, despite its best efforts, developers still want to know whats going on behind the curtain, whether the mirror really works, and just what kind of smoke is being blown up their ass in the effort to capture their minds and bind them to the brand.
http://en.wikipedia.org/wiki/Shared_Source_Common_Language_I...
This was the CLI
https://joinup.ec.europa.eu/elibrary/case/complex-singularit...
True to form, the links to github are broken.
Recently, there was a bug that makes the IOS OWS client replace its standard icons with emoji. It's been over 90 days and the bug is still not fixed.
There have recently been a lot of bold decisions at Microsoft. If anything can turn around a dying company it's this kind of approach.
MS is doing well but there have been a number of shifts in the landscape MS has yet to successfully navigate.
C# is one of the best languages out there for generic enterprise work and app development, and there's a magnigicent next gen language in F# thrown in, and a great web framework.
I also love Haskell, but let's be honest - it won't get me hired, or at least not here in Bulgaria.
C# is the "toy lang"? How old are you exactly?
As if the market demands and hirability is all that matters (and that said in a forum of hackers and entrepreneurs! Lots of which have actually businesses run on Haskell, Clojure, LISP and other "toy" languages)...
Nor is google or Oracle. So who is? To put this in perspective you need to look at the alternatives. Getting a free (as in speech) source CLR/BCL/JIT/Compiler and a free (as in beer) IDE is pretty sweet.
Sure, you can do python or Node.js, but it's not covering all that you can do now with .NET. Only java/jvm really competes on "everything except high perf" (from enterprise to mobile to cloud etc.).
And in the java universe you may end up with Ask toolbar, Eclipse and tears on your keyboard.
Linus Torvalds, RMS, Guido van Rossum, and a very long list of other open source contributors who were writing open source code before it was 'hip' or good PR.
I meant, when it comes to choosing a platform/language/IDE for enterprise dev or mobile/cloud dev, there are lots of options but most of the "big" ones also come from megacorps (Oracle, Google...)
What scared people most about .NET is usually the closed nature (will they continue to develop it? will they charge more tomorrow?) and the fact that it only runs on windows which makes it more expensive. When it's open sourced and available for other platforms, it's no worse than the alternatives in that respect.
I don't believe MS would sue some random ISV but let's assume Google today forks Mono - will this be safe for them to use ?
Too often users aren't allowed to install programs. A simple program that can run on anything since XP is a good solution around Microsoft's sandbox strategy and DLL hell and install programs are big problems.
With wine you can even run your simple EXE on Linux and Mac. Native x86 means you run faster than these virtual machine based solutions.