News for hackers. Stuff that matters.
Re:Announcing Rust 1.0 by lmm on Friday May 15, 2015 @04:50PM (#9553608)
Why is that exciting? You've been able to do that almost line-for-line in Python for at least 8 years, if you're not bothered about the "safety guarantees and what not".
Re:Announcing Rust 1.0 by azdle on Friday May 15, 2015 @05:34PM (#9553822)
Admittedly, I've never tried using GTK from python and that seems like it does take care of a lot of the "easy" that I'm liking here. However, it's really the combination of everything that rust offers while still letting you make short programs like this.

I really don't mean the downplay all the safety stuff, that is the main reason that I'm interested in rust. I just don't feel like the fact that you can do things so easily in rust gets enough attention.

My biggest "Oh my god, that was awesome!" moment was when I first built the project and Cargo just took care of the whole dependency tree and I never even had to think about it. I've never had that in a low level language before. I've actually been stepping out of a lot of the C that I've been doing into doing more with JS just because NPM makes it so damn easy to whip something up. I'm hopeful that rust will let me come back to a much lower level where a 10MB binary is really large.

Re:Announcing Rust 1.0 by pornel on Friday May 15, 2015 @06:49PM (#9554149)
Rust is not a replacement for Python, but a replacement for C.

It's exciting that you can have power, portability and speed competitive with C, but with syntax and safety so good that you're comparing them to Python :)

Re:Announcing Rust 1.0 by dragonwriter on Friday May 15, 2015 @07:02PM (#9554205)
> Rust is not a replacement for Python, but a replacement for C.

I think its a mistake to view any language as simply a 1:1 replacement for an existing language. Newer languages can have the greatest strength in an area currently dominated by one older language (say, Rust with C), and still be better for some applications where another older language would generally be preferred to the first (say, Rust being better than Python at some things where Python would generally be preferred over C.)

Re:Announcing Rust 1.0 by nwmcsween on Sunday May 17, 2015 @12:55PM (#9560705)
Rust is a replacement for C++ not C
Re:Announcing Rust 1.0 by e12e on Friday May 15, 2015 @09:45PM (#9554692)
Python is great for prototyping - perhaps especially GUI. But it's not so great for distributing an app.
Re:Announcing Rust 1.0 by lmm on Saturday May 16, 2015 @03:54PM (#9557386)
Huhwhat? You distribute it like any other - look at the original bittorrent client, or the HP printer tools.
Re:Announcing Rust 1.0 by copsarebastards on Friday May 15, 2015 @05:47PM (#9553880)
Why are you not bothered about the "safety guarantees and what not"? Note that "what not" includes a lot of performance and portability which Python will likely never have, but Rust might.