News for hackers. Stuff that matters.
Re:Rust 1.17 by pjmlp on Thursday April 27, 2017 @03:27PM (#14214039)
C was already quite poor in 1993 when I got to compare it with Turbo Pascal 6.0 for MS-DOS, my main tool at the time.

With all these years the amount of UB, memory corruption issues and security exploits only got bigger.

We need a major IoT meltdown to get rid of it, unfortunately it won't happen until the industry lets UNIX clones go.

Re:Rust 1.17 by flukus on Thursday April 27, 2017 @08:26PM (#14215986)
> We need a major IoT meltdown to get rid of it, unfortunately it won't happen until the industry lets UNIX clones go.

Rust isn't going to stop IoT makers from leaving ports open and default passwords set.

Re:Rust 1.17 by kbenson on Thursday April 27, 2017 @08:50PM (#14216093)
No, but it may protect (to some degree) those that do use good authentication practices from also being exploited from exploitable libraries.

Bad defaults is a problem with IoT devices, but far from the only problem.

Re:Rust 1.17 by pjmlp on Friday April 28, 2017 @01:36AM (#14217075)
No, but there is a whole class of errors related to UB, memory corruption and data conversions that just by avoiding C will never happen.

You don't even need Rust, Algol 68 would be enough.

Re:Rust 1.17 by mixedCase on Thursday April 27, 2017 @05:00PM (#14214665)
> unfortunately it won't happen until the industry lets UNIX clones go

Redox is a Unix-like system.

Re:Rust 1.17 by pjmlp on Friday April 28, 2017 @01:33AM (#14217063)
UNIX like is not the same as being UNIX.

UNIX is married with C by design, just how browsers are with JavaScript.

Actually you are right in one thing, if Redox offers POSIX support then it needs to sandbox them.

Re:Rust 1.17 by mixedCase on Friday April 28, 2017 @08:59AM (#14218989)
In the context you said "Unix clones", it sounded pretty obvious you were including Linux in there. Linux is a "Unix-like" rather than an Unix.
Re:Rust 1.17 by pjmlp on Friday April 28, 2017 @10:47AM (#14219776)
I was including Linux there, as it follows a standard UNIX architecture.

There is a big difference in having POSIX support and being a UNIX.

Windows, IBM i, IBM z/OS, Unysis MCA ClearPath, Green Hills INTEGRITY OS, Genode and many other OSes have POSIX support, yet their architectures have nothing to do with UNIX.