"Logging is presently implemented as a language built-in feature, as it makes use of compiler-provided logic for allocating the associated per-module logging-control structures visible to the runtime, and lazily evaluating arguments. In the future, as more of the supporting compiler-provided logic is moved into libraries, logging is likely to move to a component of the core library. "
altho i agree, they could have just made it look consistent no matter how it was implemented
shortening "function" to "fn", not sure why that is so hate-able. commonly used things should be made more terse, no? perhaps you mean there should be no function keyword at all?
>>6,8
They're working on semantics first, that's not the final syntax, you goddamned moron. # denotes a macro. I agree that language-level logging is pretty retarded.
>>17
I don't know, I didn't try.
Probably you can't do that since everything is immutable by default and there's no ++ operator: The main difference with C is that ++ and -- are missing, http://www.rust-lang.org/doc/tutorial/syntax.htm
>>15
For printf-style formatting, it is necessary to find type errors at compile-time. I hope they find a way to put type-safe rest args in the mix and replace both log and #fmt.
Name:
Anonymous2012-01-07 10:59
>>16
This is a work in progress you shit nigger retarded fuck.