News for hackers. Stuff that matters.
Re:Rust will likely not support tail call optimization by derefr on Wednesday April 10, 2013 @10:05PM (#5529504)
> A debugging switch that, when enabled, turns a valid program into an invalid one is madness.

You mean like gcc's -Werror? Or enabling asserts? Both of those seem useful to me.

Re:Rust will likely not support tail call optimization by PommeDeTerre on Thursday April 11, 2013 @08:25AM (#5531432)
-Werror isn't a "debugging switch". It should be enabled at all times, for development builds and production builds.

If compilation warnings are given, then the responsible thing to do is to assume the program is invalid, at least in certain situations. Fix the code, avoid the warnings completely, and that's that.

There are remarkably few cases where compilation warnings can or should be ignored.

Re:Rust will likely not support tail call optimization by Locke1689 on Wednesday April 10, 2013 @10:19PM (#5529571)
Since the compiler didn't succeed at compilation, no program was generated at all. Removing asserts is really compiling a different program.