News for hackers. Stuff that matters.
Re:Zcoin implementation bug enabled attacker to create over ... by CyberDildonics on Tuesday March 07, 2017 @11:47AM (#13811888)
Hello world in Rust is still 2.5MB if you statically compile all the libraries in since it doesn't strip unused functions. The tools and ecosystem are nowhere near what they are for C++
Re:Zcoin implementation bug enabled attacker to create over ... by aij on Tuesday March 07, 2017 @12:07PM (#13812162)
> Hello world in Rust is still 2.5MB if you statically compile all the libraries in

Still? Since when? Last I checked it was 661kB for Rust vs 829kB for C, and that was quite a while ago.

http://stackoverflow.com/a/29461455/2343847

Re:Zcoin implementation bug enabled attacker to create over ... by CyberDildonics on Wednesday March 08, 2017 @08:59AM (#13820247)
To be clear, you think that 829kB is the size of a statically linked C program that uses printf to print 'hello world'? In visual studio it is 25KB - 40KB. All of musl compiles to under 500KB.
Re:Zcoin implementation bug enabled attacker to create over ... by Shorel on Wednesday March 08, 2017 @04:08PM (#13823811)
What? I have done hello world in C at about 4kB. You may be confusing C with C++.
Re:Zcoin implementation bug enabled attacker to create over ... by steveklabnik on Tuesday March 07, 2017 @11:50AM (#13811947)
If this matters to you, it's not hard to get it down to something much smaller.
Re:Zcoin implementation bug enabled attacker to create over ... by CyberDildonics on Wednesday March 08, 2017 @08:46AM (#13820159)
Of course it matters and I've tried. Using nostdlib wipes out everything, so it becomes all or nothing, which is the problem.