Experimenting with Mozilla's Rust Language
Shlomi Fish
shlomif at shlomifish.org
Sat Jun 8 22:58:28 IDT 2013
Hi all,
during the last few days, I decided to experiment with Mozilla's Rust language:
* http://www.rust-lang.org/
* http://en.wikipedia.org/wiki/Rust_%28programming_language%29
After I started reading the tutorial, I started writing some small programs, one
for solving this golf challenge -
http://golf.shinh.org/p.rb?Reverse+Repeated+Printing and the other to add an
entry for http://rosettacode.org/wiki/Deal_cards_for_FreeCell (nothing that
exercises Rust's multi-tasking capabilities so far). Now, Rust is not only
strongly typed and has several types of integer values (signed/unsigned and
at various bit widths), but it also has several annotations to indicate a kind
of a variable - like &, ~, *, etc. that kept requiring conversions. As a
result, I still found coding in Rust to be very time consuming, because it
took me a lot of time to recover from the compiler errors.
Often, I was not able to find a ready answer using web searches, and had to
resort to asking on #rust on irc.mozilla.org .
Rust is still under development, but is quite usable (though it
may be subject to change).
I plan on reading the rest of the tutorial and on continuing to write sample
programs, but there are other things I'd like to do in the time being.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html
Knuth is not God! Typing “God” into Google and pressing “I’m Feeling Lucky”
will not lead you to his homepage.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Linux-il
mailing list