What is Rust?

Small intro to a programming language, supported by Mozilla
18 August 2017   310

Rust  is a multi-paradigm compiled general-purpose programming language sponsored by Mozilla Research. It supports:

  • functional programming,
  • actor model,
  • procedural programming.

Object-oriented programming is not supported by the language, but the it supports most OOP concepts with the help of other abstractions, for example, traits.

When developing, Rust developers focused on three tasks:

  1. security 
  2. speed
  3. parallelism 

It is suitable for system programming and is comparable in speed and capabilities with C ++, but it provides more security when working with memory, which is provided by the mechanisms of limitation. Rust is also aimed at achieving an "abstraction with zero cost".
After several years of active development, the first stable version (1.0) was released on May 15, 2015, after which the new versions are published every 6 weeks . For versions of the language released after 1.0, backward compatibility is declared.

Most popular projects, that uses Rust:

  • Mozilla - web browser
  • Dropbox - cloud storage tool
  • Tor - anonymous web browser
  • IOTA - cryptocurrency (according to the Coinmarketcap, it's on the 5th place with the marketcap of $2,662,653,814, on 17th of August).
  • Redox - operating system.

Also, this is a good tutorial - report about basics of Rust.

This tutorial assumes familiarity with basic programming concepts (loops, conditionals, functions) but will require no prior experience with strongly typed languages, Rust, or 
systems programming. You'll learn the key concepts necessary for successful  Rust programming, as well as how to continue exploring the language after LCA.

What is fd?

Small intro to a simple, fast and user-friendly alternative to find, written in Rust
30 October 2017   207

What is fd?

fd is a simple, fast and user-friendly alternative to find.

While it does not seek to mirror all of find's powerful functionality, it provides sensible (opinionated) defaults for 80%of the use cases.

fd demo
fd demo

Features

  • Convenient syntax: fd PATTERN instead of find -iname '*PATTERN*'.
  • Colorized terminal output (similar to ls).
  • It's fast
  • Smart case: the search is case-insensitive by default. It switches to case-sensitive if the pattern contains an uppercase character.
  • Ignores hidden directories and files, by default.
  • Ignores patterns from your .gitignore, by default.
  • Regular expressions.
  • Unicode-awareness.
  • The command name is 50% shorter than find .
  • Parallel command execution with a syntax similar to GNU Parallel.

if you are interested, you can learn more at GitHub.

0