HackerTrans
TopNewTrendsCommentsPastAskShowJobs

algorithmsRcool

no profile record

Submissions

Deterministic Implementation of a .NET Runtime

github.com
3 points·by algorithmsRcool·mese scorso·0 comments

Chibil: A C compiler targeting .NET IL

github.com
45 points·by algorithmsRcool·mese scorso·5 comments

RE#: how we built the fastest regex engine in F#

iev.ee
6 points·by algorithmsRcool·5 mesi fa·0 comments

comments

algorithmsRcool
·13 giorni fa·discuss
It is still a thing, just not a very common one since the debugger in VS has become more ergonomic and powerful. But windbg is still the king here, for the most advanced analysis of both managed and unmanaged code and it isn't even close to be honest once you learn the arcane commands and incatations
algorithmsRcool
·2 mesi fa·discuss
But why not do it right the first time. This is an obvious performance pitfall for people that want to adopt this feature. It is bizarre to me after the last decade has been dedicated to performance improvments.
algorithmsRcool
·2 mesi fa·discuss
Allowing hallucinated content or citations into your work is an act of carelessness and disregard for the time of people that are going to read your paper and it should be policed as such.

And flatly, if a person can't be bothered to check their damn work before uploading it, why should anyone else invest their time in reading it seriously?
algorithmsRcool
·2 mesi fa·discuss
Not my project, but I feel mention of IronScheme is appropriate. Leppie has been maintaining it for many years now.

[0] https://github.com/IronScheme/IronScheme
algorithmsRcool
·3 mesi fa·discuss
I was just about to select Jint for an internal project, this might be fun to try out and see how it performs`
algorithmsRcool
·3 mesi fa·discuss
Why on earth did they decide boxing by default was a sensible design decision...

We have been pushing toward higher performance for years and this is a performance pitfall for unions would are often thought of as being lighter weight than inheritance hierarchies.

F# just stores a field-per-case, with the optimization that cases with the same type are unified which is still type safe.
algorithmsRcool
·3 mesi fa·discuss
Well off the top of my head...

Active patterns, computation expressions, structural typing, statically resolved type parameters, explicit inlining, function composition, structural equality, custom operators and much richer generators.
algorithmsRcool
·5 mesi fa·discuss
I understand this is an attack, but I find myself mildly concerned that the model is "aware" enough to behave differently in the assumed context of a alignment test. Isn't this an inherent thread of dishonesty?
algorithmsRcool
·5 mesi fa·discuss
No. He is a Microsoft Technical Fellow and still a core contributor to the TypeScript compiler.
algorithmsRcool
·5 mesi fa·discuss
I am very familiar with it! My current project at work is taking an Orleans based payment processing system to production
algorithmsRcool
·5 mesi fa·discuss
I get excited every time I see a paper from Bradish. I've learned so much about high performance software from studying systems that he has worked on. (not to diminish his many co-authors and contributors)

Some of his other projects:

[0] https://github.com/microsoft/garnet [1] https://github.com/microsoft/FASTER [2] https://github.com/microsoft/Trill
algorithmsRcool
·7 mesi fa·discuss
The Tree of Life is singular to me as a piece of cinema, americana and a meditation on the beauty of life and especially childhood.

When I saw it the first time, I was so awestruck by the breathtaking cinematography and the incredible music, but even more so by the vision of it all. I had simply never seen anything like it.

I saw it another 4 times before it left theaters.
algorithmsRcool
·7 mesi fa·discuss
It could be done, but what would be the virtue of it? Most programming languages are not self-hoisted for a reason.
algorithmsRcool
·8 mesi fa·discuss
> Like if you build an Excel formula, the mandatory async/await approach just doesn't work. It's not an asynchronous operation and runs into a UI context where you deadlock if you wait.

Last time I did excel interop it was COM based and there wasn't any async part of it. I'm curious if you were using COM interop also? Also, async/await was explicitly designed to work in UI contexts like Winforms and WPF where there is only a single UI thread...?

> It took like 15 years before they added a json serializer to the standard library..

That isn't really true. DataContractJsonSerializer [0] landed in .NET 3.5 which was in 2007. Admittedly, it kinda sucked but it was there and was usable. And also JSON.Net was around by that point and was/is excellent.

> ...and don't even think about support for any new major image format (webp, heic).

Image support on windows was historically provided by WIC [1] and does support the formats you talked about. But you are correct that native .NET support for many image formats is non-existent.

> And because they broke backward compatibility on so many libraries, it's a non trivial effort to convert a complex code base to core.

This is very true, and I felt it firsthand. My employer still has a codebase on .NET Framework (compiled against 4.5.2 but deployed against 4.8). It is WCF based and the jump to Core was a massive break. But in the end, I think the break was a good decision. There were just too many design mistakes, bad assumptions and underlying system changes to keep compat across the big leap to a modern multi-platform framework. .NET today is faster, more flexible and has more capabilities than .NET Framework ever did. Even if it did take a long time to get here.

And besides, even if new features are not coming to .NET Framework anymore, Microsoft has support .NET 3.5.1 until 2029! [2] Isn't 22 years of support enough? (.NET 4.8's EOL hasn't even been announced yet!)

[0] https://learn.microsoft.com/en-us/dotnet/api/system.runtime.... [1] https://learn.microsoft.com/en-us/windows/win32/wic/native-w... [2] https://learn.microsoft.com/en-us/lifecycle/products/microso...
algorithmsRcool
·9 mesi fa·discuss
My favorite part about the FOGBANK story is that once they figured out how to manufacture it again, the new version of the material was more chemically pure than the old version, but this actually made the material LESS effective, so they had to add spcific impruities back into it to make it work correctly.

[0] https://www.twz.com/32867/fogbank-is-mysterious-material-use...
algorithmsRcool
·9 mesi fa·discuss
Isn't Span<T> the exact same concept?
algorithmsRcool
·anno scorso·discuss
I am actually shocked that Anders chose Go over C# for this port.