News for hackers. Stuff that matters.
Re:Zcoin implementation bug enabled attacker to create over ... by hvidgaard on Tuesday March 07, 2017 @02:27AM (#13808848)
Properly unmanaged code will probably always be faster than managed code. But the point still stands. Code in a managed language, identify the hot spots and inject highly performant unmanaged code there. There is no need to go full C++ for 99.999% of all projects.
Re:Zcoin implementation bug enabled attacker to create over ... by igouy on Tuesday March 07, 2017 @11:45AM (#13811860)
Like this?

http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...

How should /unsafe be set with .Net CORE csproj ?

Re:Zcoin implementation bug enabled attacker to create over ... by igouy on Wednesday March 08, 2017 @01:25PM (#13822327)
I only knew the command line option which no longer worked. Once I found the project.json

    "buildOptions": {
        "allowUnsafe": true
    }
I was able to fake something for dotnet migrate and find the needed setting:

    <Project Sdk="Microsoft.NET.Sdk">
        <PropertyGroup>
            <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
        </PropertyGroup>
    </Project>