26 points · by yulaow · 13y ago · 37 comments
So in the last months i was exploring for my first time .NET using c# and, wow, it's an amazing platform! Then I started to look for a job in a startup in which I could learn it better and with more motivation but... it seems no one is using it. I also looked for some startup based on mobile platforms thinking that, thanks to mono, someone is starting to use xamarin products to target the three main mobile os (android, ios, wp) and share some code. But it seems also in the startup world they prefer to have a team for each language/os rather that using that solution.
So, after a month of research i am curious to get the real reason behind it. It's because no one like Microsoft 'cause it seems no cool? License costs? Support? Community?
I would like to hear your opinions
edit: I forgot to say that, in contrast, in the corporate world, i found a lot of jobs in which .NET is used. Almost as many jobs as those who require java knowledge.
Second, .NET is generally seen as a heavyweight technology that slows development (the MySpace guys are still flogging that dead horse). Anyone who experienced multi-megabyte pagestate data with ASP.NET is probably going to be extremely gun-shy, especially since everyone these days starts out trying to build "web-scale" apps before they get their first ten customers. But Stack Overflow proves that you can build huge, responsive, hyper-trafficked sites on MVC.
Having said that, C# is an absolute beaut of a language; the library support infrastructure is top-notch; NuGet has filled most though not all of the roles performed by Maven, &c.; the MVC* frameworks are a joy to work with; and MSFT initiatives like SignalR are fantastic. As long as your pet technologies haven't been EOL'd by Server & Tools (cough Silverlight cough), then there's no technical reason not to use MSFT. (For me, there's definitely a productivity value -- whenever I have to drop back to pure Java from Scala or C# I feel like I'm trying to run through waist-deep mud.)
The licensing costs are still a significant problem for any startup (especially since MSFT is crippling lower-priced versions of SQL Server these days), but if you're a startup the BizSpark program goes a long way to ameliorating costs for a few years. Perhaps more serious is the fact that many of the key infrastructure projects such as NoSQL data stores treat their Windows forks and .NET bindings as second-class citizens at best, and running them on Windows always feels a bit ... precarious to me.
The ecosystem for Mono is also not there, meaning that most solutions focus on favoring other frameworks like Python's Django, Ruby on Rails, etc. People prefer to invest more time in open source frameworks and platforms, specially in the startup world.
In other words, it is easier to create startups in frameworks that have a rich community and focus on open source. It is not easy (not impossible though) to create a startup based on a technology that is limited to one platform, specially when that platform is expensive to operate.
That's because, frankly, platform lock-in is killing Microsoft's chances now that they're the distant third-place touch app ecosystem, for the same reason it helped them as the strong first-place desktop OS. App makers will target the top platform or two, and only those, as long as it's much extra work to go broader. Solid, free-as-in-beer tools to target WP, iOS, and Android all at once make it less work to support WP so more devs will do it.
Having built or acquired the tech to run .NET off Windows, maybe they should release some more of their ecosystem to make it viable for more startups to use .NET. Someone small using some free compilers/libraries and MySQL may eventually be a prospect to buy VS and SQL Server. (And whether they ever sell these startups anything or not, folks releasing .NET libraries make the ecosystem more attractive.)
Who knows; they decided Azure should support Linux and Office should be on every platform, so anything's possible. Times have changed and maybe the argument for closing off ("fully integrating") their dev ecosystem is weaker now.
And there's the thing right there - I don't think Microsoft really cares much about startups - after all, the success rate is fairly low for startups and it probably doesn't seem worth it to them to "invest" in businesses that are, more often than not, going to fail. Putting their marketing budget behind large corporations and governments is far more lucrative for them.
Anyone with truly high value apps, like Facebook, will port to as many platforms as have an audience.
What Microsoft could do is to stop the self-injury by making Windows work equally completely and compatibly everywhere and having the .NET runtime work with a Modern/Metro UI library and loosening up the Modern/Metro sandbox enough to be compatible with legacy .NET apps.
The CLR should have been the key to compatibility and having lots of apps everywhere. How can a Windows device not have a gazillion apps?
So maybe the idea of buying them is not so strange.
I suspect there are very few people who have extensive experience on both sides of the fence and would choose the Microsoft route for their own startup/company. It tends to be almost exclusively people who lack experience with open source alternatives.
Visual Studio is an amazing IDE and C# is a top notch language. The price you pay for that is worth it and shouldn't be an issue for a profitable startup (which you should be by the time you graduate the BizSpark program). Like others have said, the bigger issue is that it ties you down to all the other Microsoft licenses such as Windows server.
I know of other startups that are using C# and .NET and run a mix of Windows and Linux(Mono) servers. This has forced some decisions for them though, such as rolling some of their own frameworks/tools that work nicely with Mono.
Most startups today are well connected with some community or other and to them .NET is mostly invisible. On the other hand if a person from an enterprise builds a startup and if they have a .NET background that is when they try to get into bizspark.
Personally I avoid .NET like the plague, after learning it first of course (not for servers, I don't do server side stuff) because of its horrible windows dependancy, and mono is NOT a adequate substitute.
I would to see Xamarin push for .Net on the server more, than just Mobile and Mac. Maybe that is something we should do, as our product is full .Net in the server space.
It's not .NET technology that sucked in the years between when I was doing that and when Android was released. It was the failure to capitalize on .NET in mobile.
WP8 still isn't as architecturally elegant as Android. Android's userland is all based on instances of the Dalvik VM. The CLR does not play that kind of central role in WP8.
Dalvik was designed for small battery powered devices from the beginning. In early versions of Android the advantage it held over Java VMs is that Dalvik bytecode is (claimed to be) half as big and twice as fast to interpret compared to Java bytecode.
A useful comparison would have to, at least, take into account battery efficiency, if not space efficiency, how much you can get away without using native code, etc.
Then there are issues of how the VM is used. The CLR in Windows Phone is, AFAIK, not used for a middleware layer the way it is in Android. That is, a lot of the Android APIs are implemented in Java and run in a Dalvik VM instance.
A programmer in his/her early 20s back in 2007 might have cut their teeth on PHP, while the same age programmer today may have hacked on Android or iOS. Both are familiar with using Macs or Linux and open source tools that work with both.
I spent years only writing .NET and the tooling is pretty incredible. But when I switched to open source the first thing I noticed was how quickly I went from being the youngest guy in the room to being one of the oldest.
The main problem I have have with it is the clunkiness of the tools. Windows itself is pretty poor as a server OS and dev environment(IMHO), it's unnecessarily heavy, has too many useless features, is difficult to automate, and more. Powershell is ok but not really as simple/powerful/portable as bash. SQL server I guess is ok as a db engine but using it is clunky(again feature bloat really hobbles it). I find getting an environment set up with vagrant, capistrano etc. with windows much more complex than it needs to be.
Also one of the really noticeable differences is the overall quality of the community. It's much harder to find good answers to problems when using .net/Windows than with other environments and platforms in my experience. In general I find .net devs more interested in maintaining the status quo than exploring new ideas and tech(massive generalisation but I'm sure I can't be the only one to notice this). Also nearly every tutorial about modern web tech is written for *nix environments as the general community support and interest in .net/Windows seems to be non-existent.
An observation that I've noticed lately when attending tech events and conferences is that Windows just isn't even on the radar. It's not that people actively dislike it or openly criticise it, it's just not even considered or discussed, it's old tech, it's boring, it's clunky.
It also possibly has something to do with the type of person that decides to branch out to working in a startup - its my opinion that vested .net developers are more oriented towards working in the enterprise than in a startup.
I know a lot of .Net developers that do launch their startup, but they prefer to learn a new framework and platform if it is cheaper to operate. Basically my point is: It is not a type of person that decides to branch out to work in a .net startup, it is about accomplishing a goal without focusing on technology.
or maybe you're just looking in the wrong places like, for example, here in HN? Here is a list of startups using .NET:
On that note - I'm working with PHP's Laravel framework for my next project, and despite the performance tradeoff it's an absolute dream to work with.
I've got a couple of things cooking with Laravel 4 myself but haven't finished anything yet. I'm curious about your impressions.
I built a small system for internal communication (sort of like a an internal twitter/facebook)
I could not say enough good things about Laravel. It really is the future of PHP.
The only issue I've had with it is in deployment - because of composer it's a bit fiddly - I ended up using the PAAS Engine Yard for testing deployment (and I will use them for proper deployment) because it was super easy with them (just more expensive).
Personally, I prefer not using Windows simply because I love using the *nix shell, and I don't see the point in using something like Cygwin when I don't need the MS stack. However, Outlook on MS365 is quite good.
[1] http://www.aaronstannard.com/post/2010/07/03/NET-Culture-Sho... [2] Not Xamarin.
Before losing my sense of place in .NET, I was heavily enjoying alt.net stuff, largely owing to Boo (Python-alike .NET language with fantastic metaprogramming, AST, macros). Rather than take the normal webstack with Boo, I was using CastleProject's MonoRail (Ruby Sinatra alike) + Jayrock (old+excellent JSON omnibus lib) and Spring.NET to build json rest web-services. For me, it was easier investing in my client side and web application skills than it was learning how to dive into the engineered WebForms and ASP.NET and prototype-era ASP.NET MVC work to make them exhibit the behaviors I wanted. It was a great environment to code in, I liked the toolchain I'd come to use, but it was far afield the large .NET world and I had only scattered groups of practitioners (in these various techs I'd elected in) to work with & no overarching place to for myself as a developer of this Boo+MonoRail+Jayrock+Spring.NET thing I liked doing and thought fine.
I tend to believe ASP.NET MVC is probably in great shape by now and serves getting shit up very quickly. At the same time, I think culturally MS- alike jQuery, RoR, and let's throw in Apple- remains monocultural, with people invested heavily in fixed technologies that already define a huge amount of the experience and whose use won't port "out," (monoglot) and there's not a creative community base that celebrates those striving & seeking less beaten paths, the polymaths. The intellectual level of engagement is, in short, pretty shit, and the community is at end to help the far-ranging. Too many end-developers (end-users of dev kind), not enough well-motivated, working-for-it journeymen, and mastercraftsmen far removed and few between, with too few to sound out the practice with broadly and not situated for helping the weirder polymaths below experimenting with weird shit. Tall organization, huge fat base with low minimum bars to entry, and monocultural to boot: death.
Or rather, undeath: sustained, undying yet no longer alive quite either.