What is fd?

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

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

Mozilla to Release New Version of Rust

There're a lot of updates and new features in new version of programming language
15 April 2019   154

Mozilla released new version of Rust programming language, 1.34. The language focuses on safe memory management, provides automatic memory management and provides the means to achieve high parallelism in the execution of tasks, while avoiding the use of garbage collection and runtime.

Automatic memory management in Rust saves the developer from manipulating pointers and protects against problems arising from low-level work with memory, such as accessing the memory area after it is released, dereferencing null pointers, going out of the buffer boundaries, etc. To distribute the libraries, provide the build and manage the dependencies of the project, the Cargo package manager is developed, which allows you to get the necessary libraries for the program in one click. The library contains the crates.io repository.

These are main updates:

  • Added tools to work with alternative package registries that can coexist with the crates.io public registry in the Cargo package manager.
  • The section [registries] is provided for adding external registries to .cargo/config (located in $HOME or in the package directory), and the option "registry" appeared in Cargo.toml to use an external registry in the description of each dependency.
  • Added full support for using the ? Operator in doctests tests that allow the use of sample code from the documentation as tests. 

Get more info at official website.