Live data from Hacker News

Rust 0.5 released

mail.mozilla.org

51–54 of 54 posts

Re: Rust 0.5 released

#51
post #3

Yay, item macros. Means top-level elements can now dynamically created. Also another big change is "auto-move" where you don't have to write move everywhere. Also the repl is nice. I think having this and having Rust bootstrapped give it a leg up on Go.

I was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ?

Sorry, I'm afraid I'm confessing my affair with Emacs but I swore I'd leave her behind...

Re: Rust 0.5 released

#52

Earlier quoted context omitted.

I wonder whether anyone here knows how it is meant to work. All my inputs fail with the following message: > rust: task failed at 'no mode for lval', /home/tyl/files/cloud/rust/rust-0.5/src/librustc/middle/liveness.rs:1573

Just fixed this. I'll see if we can push out a Rust 0.5.1.

Yay! Thanks ☺

This can, incidentally, be a great start for a tool like Why the Lucky Stiff's "Try Ruby in Your Browser" [1].

s/Ruby/Rust/

  [1]: http://tryruby.org

Re: Rust 0.5 released

#53
post #51
post #3

Yay, item macros. Means top-level elements can now dynamically created. Also another big change is "auto-move" where you don't have to write move everywhere. Also the repl is nice. I think having this and having Rust bootstrapped give it a leg up on Go.

I was not aware Rust had macros. Does that mean one can write lispy things like the "with-*" macros ? Sorry, I'm afraid I'm confessing my affair with Emacs but I swore I'd leave her behind...

Rust's macros are generally Scheme-like (macro-by-example), although it's not exactly the same since Rust obviously doesn't use S-expressions. See http://static.rust-lang.org/doc/0.5/tutorial-macros.html for a little more info on Rust's macros system.

Re: Rust 0.5 released

#54

Earlier quoted context omitted.

Just fixed this. I'll see if we can push out a Rust 0.5.1.

Yay! Thanks ☺ This can, incidentally, be a great start for a tool like Why the Lucky Stiff's "Try Ruby in Your Browser" [1]. s/Ruby/Rust/ [1]: http://tryruby.org

Incidentally to your incidentalism, I'm looking forward to the day when we can run Rust directly in a browser via Emscripten:

https://github.com/mozilla/rust/issues/2235

Post reply on HN