Isn't .NET a weird choice?
17 14 Jun 2015 11:13 by u/votes
More people might contribute if it were a more popular language for open-source development.
17 14 Jun 2015 11:13 by u/votes
More people might contribute if it were a more popular language for open-source development.
33 comments
19 u/cotidianis 14 Jun 2015 11:53
The next version of .NET is going to be fully open. https://github.com/Microsoft/dotnet
2 u/Geostyx 14 Jun 2015 20:20
Came here to say this. In time, we will be able to use the awesomeness of .NET on cheap Linux server. I'm really excited! I LOVE C# as a language. Microsoft is a different company with Satya Nadella in charge. He is making a big push for OSS at the company.
3 u/cmdrd 15 Jun 2015 01:18
We can already do this using the Mono framework for C# applications, but the open sourcing of .NET will greatly improve functionality.
0 u/rdnetto 19 Jun 2015 15:59
If you're feeling impatient, take a look at D. It's virtually identical to C#, except it has some more powerful features like compile-time function evaluation (CTFE) and templates, and has significantly better cross-platform support. The only issue is that library support is a bit weak, due to its lack of popularity (and vice versa).
1 u/EEE 15 Jun 2015 13:35
Aren't you still stuck with MS SQL Server? Or has Entity Framework support for other DBs improved?
0 u/seeker 18 Jun 2015 21:37
There are options other than EntityFramework. At my work we use the micro-ORM Dapper with MySQL and love it (Dapper that is.... not mysql) https://github.com/StackExchange/dapper-dot-net
10 u/errorstackoverflow 14 Jun 2015 11:19
Might seem like a weird choice, but apparently the ASP.NET framework is very performant. In fact, StackExchange uses it to serve tons of users on relatively few servers.
9 u/robert_musil 14 Jun 2015 12:58
.NET isn't a language, it's a set of languages compiling to a common intermediate language which is run by a virtual machine. C# is the actual language Voat is written in, and it's a decent, practical language. I've used it myself, mostly because of Unity. It's also much faster than Python, which is what Reddit uses.
2 u/Odysses 15 Jun 2015 06:16
The .NET stack is really a great choice for Voat. They just need to work on scaling and optimization at this point.
1 u/Quackmatic 15 Jun 2015 13:30
If anyone's interested, the repository for voat is available here on GitHub. I'm looking at contributing, once I work out what they're auto-generating (seems like a lot of their models are generated).
3 u/codeminer 14 Jun 2015 11:31
You know that's how it was built and a bit ago a few people wanted to change it, and just recently someone suggested it start using Linux and JSP which would save some money on licensing apparently. At the end of the day though it's a fully built platform and although it may seem strange it's built with a stable framework and it works.
3 u/Seasniffer 14 Jun 2015 17:30
The next version of .NET is more modular and can run on Linux.
2 u/Stavon 14 Jun 2015 11:20
It sure is. But this is a project for learning turned into a real thing, you can't change now.
Noe would be easier than anytime in the future, but still not practically possible.
1 u/sparton 14 Jun 2015 11:49
Voat needs to undergo optimizations and not a change in thr underlying trchnologies used. It's already a complete site, but it obviously doesn't perform well when traffic gets high. It's still in the alpha stage. I'm sure it will be a lot more stable in thr next week or so.
1 u/Wobble 14 Jun 2015 11:50
Not sure quite what the current state is, nor have I done much coding in .NET, but it's definitely moving to become open source.
1 u/el_hombre 14 Jun 2015 14:55
I don't see anything wrong with C#, but I have been using it since 1.0 came out so i am biased. Frankly I am excited to see some of the open source stuff coming out of Redmond since Balmer left. The language isn't the issue with the site, it's maturity of the code and basic capacity planning. As for getting more contribution, I actually would love to contribute to the code base.
1 u/lloydjatkinson 14 Jun 2015 14:58
.NET is not a language, it's a runtime that has a standard library. C# is possibly one of, if not the best, modern programming language. Huge parts of .NET are now OSS. Just yesterday I was looking at the internals of how the List<T> type works in their Github repo.
Edit: Also I'm guessing your talking about Voat which uses ASP.NET. Hands down best web framework I've ever used.
1 u/VoatSimulator 14 Jun 2015 17:27
I don't really see why Voat would consider moving to X language/framework. It's written in C# and is unlikely to change as doing so would require a massive amount of effort. Besides, I haven't heard any convincing arguments for why Voat should completely rewrite itself other than licensing issues (which can be overcome).
1 u/a_of_s_t 14 Jun 2015 20:33
StackOverflow uses the .NET stack and C# is a very nice language to use (it is by-far my favorite language even though I don't get to use it at my job). The Windows, IIS, and ASP.NET stack feels weird and a little dirty at first, but you get used to it.
LINQ is also pretty fun (although I'm not sure about the latest developments in C#, do people still use LINQ?)
1 u/Tommstein 15 Jun 2015 07:19
When I decided to join Voat, I opened two tabs: the one to register, and the one to the source code. After taking a glance at the latter for a few seconds, that tab was closed. And moments later I was the opposite of surprised when I saw that the site was shitting the bed. If he actually wants much free help, especially quality help, that was an extremely poor decision.
0 u/anonomale 15 Jun 2015 20:57
I think this is deceptively subjective. .NET was the first framework I had to be productive in (for classes, then for my job) and now I often feel deficient for not better-knowing the more traditional open source frameworks -- which is part of what makes me psyched about .NET going open source, I feel like now I'll actually be able to contribute to community projects. Up to now, I've always felt like I'm not a "real" developer because of my limited knowledge, but opening up the .NET means that my skill set will have some kind of value outside of my job.
0 u/Tommstein 18 Jun 2015 07:10
Not really, unless you plan on hacking on .NET itself.
0 u/Lieutenant_Hawkeye 16 Jun 2015 17:42
Yeah I definitely agree, if this site is going to handle a huge and rapid growth it must have a more modern system, not to mention a system that people in the community can help contribute to. .NET despite it's value on the small scale and likely what the devs are most familiar with just doesn't have the modernity and power to scale the way it's going to need to.