Earlier quoted context omitted.
I wish. One of the projects I am currently working on, a greenfield application, requires WindowsForms for reasons I cannot expose here.
Doesn't sound very greenfield if you're already forced to use an aging legacy technology.
CoreCLR is now open source
41–50 of 347 posts
Re: CoreCLR is now open source
#42Earlier quoted context omitted.
From their GetHashCode(): // We want to ensure we can change our hash function daily. // This is perfectly fine as long as you don't persist the // value from GetHashCode to disk or count on String A // hashing before string B. Those are bugs in your code. hash1 ^= ThisAssembly.DailyBuildNumber; I'd love to hear the story behind this one :D
I don't know the story, but the logic behind it is simple: If you want to guarantee no one depends on GetHashCode staying static between runs of an application, change it all the time.
Re: CoreCLR is now open source
#43Next step, WinForms
I think it would be more interesting and useful to have the source for WPF, given that WPF is an actual GUI toolkit implementing its own widgets, whereas WinForms is basically just a wrapper around Win32.
Re: CoreCLR is now open source
#44I am really interested to see what happens once ASP.Net is running on Linux. C# and Visual Studio are fantastic, mature tools and I think a lot of developers would enjoy using them whereas they might be hesitant at the moment due to OS lock-in on the code they are writing.
Could/Does Visual Studio run in Linux?
Re: CoreCLR is now open source
#45Interesting commit: https://github.com/dotnet/coreclr/commit/90ef39bc3c9886e7967... "This change fixes a potential problem in unwinding on Linux"
Today, .NET Core builds and runs on Windows. We will be adding Linux and Mac implementations of platform-specific components over the next few months. We already have some Linux-specific code in .NET Core, but we’re really just getting started on our ports. We wanted to open up the code first, so that we could all enjoy the cross-platform journey from the outset.
Re: CoreCLR is now open source
#46I am really interested to see what happens once ASP.Net is running on Linux. C# and Visual Studio are fantastic, mature tools and I think a lot of developers would enjoy using them whereas they might be hesitant at the moment due to OS lock-in on the code they are writing.
Re: CoreCLR is now open source
#47Earlier quoted context omitted.
I wish. One of the projects I am currently working on, a greenfield application, requires WindowsForms for reasons I cannot expose here.
WinForms is a pretty great UI toolkit. It's easy to use, fast, and requires very little system resources.
Re: CoreCLR is now open source
#48Re: CoreCLR is now open source
#49Quick link to what I think is the most interesting class in the CLR: https://github.com/dotnet/coreclr/blob/master/src/mscorlib/s...
From their GetHashCode(): // We want to ensure we can change our hash function daily. // This is perfectly fine as long as you don't persist the // value from GetHashCode to disk or count on String A // hashing before string B. Those are bugs in your code. hash1 ^= ThisAssembly.DailyBuildNumber; I'd love to hear the story behind this one :D
The idea is that the hash is good enough for normal list, but it's not a cryptographic hash and it's easy to find collisions. Then you can make a lot of requests with strings that has the same hash value. Now the hash operations are O(N) instead of O(~1) and everything is slower.
Using an unpredictable hash calculation makes this attack more difficult.
Re: CoreCLR is now open source
#50Earlier quoted context omitted.
I wish. One of the projects I am currently working on, a greenfield application, requires WindowsForms for reasons I cannot expose here.
WinForms is a pretty great UI toolkit. It's easy to use, fast, and requires very little system resources.