Hacker Newsnew | past | comments | ask | show | jobs | submit | sebastienros's commentslogin

You create one binary per OS.


You can't even imagine. A goal has been set by the management to get specific results on some benchmarks, by improving the framework. We have weekly meetings to follow up on improvements and next tasks to keep track on these goals. And these meetings involve super qualified engineers and also brilliant open source contributors. I can t describe the level of technicity at each of these meetings. The impact on the framework is tremendous, you can follow it as our charts are public. And the goals are already reached, which is not yet reflected on TechEmpower as we only submit release bits. This is good for PR, but as much for also for any developper using dotnet.


I wrote this article 6 years ago and it got quite a bit of traction here on HN and Reddit: https://blog.jonathanoliver.com/why-i-left-dot-net/

Virtually every single item on my list is now completely irrelevant.

Although I'm not a daily developer using .NET anymore, I am astounded that such a turnaround was even possible. My hat is off to you and the teams you work with. Also, for the record C# is still a phenomenal language in my book.


Link to those charts please? :)



TechEmpower's Plaintext scenario is currently limited at 7M RPS due to network limits, though it uses a 10Gb NIC. Knowing that the Plaintext scenario is a very simple HTTP request (standard headers) that returns "Hello World!", how close to network saturation are you with 5M in this case with only "2 Gigabit Ethernet cards"?


You can usually cut the cold start performance in half by enabling Tiered Compilation. It's just one parameter in your project file, or via an environment variable.

Disclaimer: I work on performance in the ASP.NET team.


I should say (since i've got your attention) that i'm almost 100% sure that all of your customers would be more than willing to sacrifice a startup time for a well-coordinated callback when everything is warmed up, as a toggleable option of course.

To explain this a bit better, i'd definitely be happy even waiting 10+ minutes for all of my controllers/hub methods to be instant response. I could then subscribe to an event when it is ready and let haproxy/nginx or whatever else know that the server is "good to go". This way, the server goes into the pool, and everyone is happy. I remember seeing that the Bing guys did something like this, but again it was majorly hacky.

Thanks for all the great work you're doing on C#/.NET Core in general by the way.


Tiered Compilation is tweaked in a way that it provides a very good balance between startup time and throughput, which is what a majority of users would need. If you want to privilege throughput and don't care about startup time, then you should try COMPlus_ReadyToRun=0 as an environment variable. This will force to use non-crossgened code so the JIT can better optimize your code.


How about using native compilation?


Said that in the post above :) however it doesnt seem to impact HTTP requests or requests to a signalr hub for the first time after boot.

We've had tiered compilation enabled since it came out as an option, but the first requests are still dog slow


What are you disclaiming?



None of those definitions mean "disclosure," which is certainly what was meant.


Because features!


To answer this, the nice thing with Roslyn that is not explain in this blog is that it's also an API that you can extend with plugins. You project can contains them and they will have access to the AST at compile time, altering the compiled logic.

So in your example you could create one to detect your attribute and inject custom logic instead. You can unleash the full power of AOP at the compilation level.


I'll probably try that, but I'm worried about maintainability of such solutions.


Based on the current price it makes roughly 25K bitcoins, and using the current BUY backlog on MtGox, selling them would push the price back to $550. However such a volume will certainly create a panic wave and it could go below that.

If they are clever, they won't put everything on the market like this.


Why would the feds care about crashing BTC? If anything, it seems like it might be a desirable outcome for them.


Because they want the money. Same reason they auction off the cars of suspected drug dealers, instead of just handing them out at random.


You mean those police auctions that advertise how cheap you can get cars?

Selling at the immediate price they can get in a very volatile vehicle is not 'handing them out at random'.


Cars at auctions are typically pretty damn cheap. That happens because there is risk for the buyer when buying a car at auction.

If cars at police auctions were unnaturally cheap, everyone would be making a killing with arbitrage. (To be clear, many people do, but as more people get in on that, prices at police auctions go up... the balance that is struck gets you relatively close to the legitimate value of a car at a police auction).

Trust me, they love that money. They use it to buy fun new toys for themselves. That's when the property itself isn't their new toy: http://www.clumsycrooks.com/media/files18/pictures/drug_deal...


I work at Microsoft full time on http://orchardproject.net, a CMS based on ASP.NET MVC, Autofac and Nhibernate. I've been doing that for almost 4 years and many would agree it's kind of a dream job as there are absolutely no constraints from MS to drive the project one way or the other. It's also worth mentioning that our team is much involved in OSS: SignalR, Entity Framework, ASP.NET MVC, Nuget, ... So it's a really bold bet on OSS in general.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: