frawk VS rust

Compare frawk vs rust and see what are their differences.

frawk

an efficient awk-like language (by ezrosent)

rust

Empowering everyone to build reliable and efficient software. (by rust-lang)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
frawk rust
23 2289
1,070 79,140
- 2.2%
5.0 10.0
about 1 month ago about 12 hours ago
Rust Rust
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

frawk

Posts with mentions or reviews of frawk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-15.

rust

Posts with mentions or reviews of rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-19.
  • Embedded rust - how to make it rusty?
    2 projects | reddit.com/r/rust | 19 Mar 2023
    You may find the discussion on issue #53639 (Consider deprecation of UB-happy static mut) from about this point onwards to be illuminating. Specifically, the topic of ISRs and synchronisation on embedded systems is discussed, with alternatives, and it's stated that UnsafeCell is so fundamental that any non-zero-cost to it is considered a bug in the compiler:
  • Why is holding std sync locks across awaits not caught by the compiler?
    3 projects | reddit.com/r/rust | 19 Mar 2023
    That's why MutexGuard is not Send. See https://github.com/rust-lang/rust/issues/23465 from 2015.
    3 projects | reddit.com/r/rust | 19 Mar 2023
    There is a tracking issue to implement a lint for this in the compiler: https://github.com/rust-lang/rust/issues/83310
  • Const as an auto trait
    2 projects | reddit.com/r/rust | 16 Mar 2023
    We're already implementing such a Callable trait in https://github.com/rust-lang/rust/pull/107123
  • Was cross-compiling and cross-running tests always this simple?
    7 projects | reddit.com/r/rust | 16 Mar 2023
    Rust's approach is more inline with their philosophy of "taking as long as necessary to do it properly". (eg. linking with LLD is still a work in progress but it will improve LLD for everything LLD-based. rustc_codegen_gcc may not be as much of an independent implementation as gccrs, but the project is getting patches into libgccjit's AOT compilation API to improve it for everyone.)
  • rustc_codegen_gcc: Progress Report #21
    2 projects | reddit.com/r/rust | 15 Mar 2023
    Also, I'm waiting for the cg_clif rustup support to have a better idea of how to do this.
  • One of my first Rust projects - tell me what you think!
    2 projects | reddit.com/r/rust | 15 Mar 2023
    collect_into() is behind unstable feature iter_collect_into. It just calls extend() on the collection if you want the same behaviour on stable.
  • MAGE Got One More Wizard Called Rust
    2 projects | dev.to | 14 Mar 2023
    Rust is a relatively new programming language suitable for various software engineering challenges. People use Rust for low-level system engineering tasks but also to build high-level stuff, like web applications. From the Memgraph perspective, C/C++ is great but required deep knowledge about memory allocation and a lot of time to get the module implemented correctly. On the other hand, Python is excellent for prototyping stuff and shipping new capabilities with lightning speed, but performance is often a considerable bottleneck.
  • Switching from C++ to Rust
    7 projects | news.ycombinator.com | 13 Mar 2023
    A very specific case on admittedly a toy project.

    I was working on a card game simulator and I had a Vec of players. I needed to pull two players from that Vec and the first player would give a card to the second player. In my head I would grab both players via get_mut and then perform my operation. However, get_mut borrows the vec mutable and the compiler complained that I borrowed the Vec mutably two times.

    It took me a bit to understand why the compiler complained, but then it clicked: It couldn't prove that get_mut wasn't returning the same item both times.

    There were a few solutions. One was to borrow the first player, take a card, drop the &mut and then take the second player. At some point in the future I could use https://github.com/rust-lang/rust/issues/104642 to get_many_mut. I ended up with a pretty inefficient version of get_many_mut that fully traversed my iterator to get the two mut references (which works because traversing the iterator guarantees you won't see the same element twice) and it was fine for a collection of a half dozen players.

    Anyway, there's a little example.

    Anyway, it was a small thing but

  • Overhead of Returning Optional Values in Java and Rust
    3 projects | news.ycombinator.com | 13 Mar 2023
    > The language has no special support for them (beyond the try operator)

    In the interest of full and strict accuracy: see the enum’s full definition at https://github.com/rust-lang/rust/blob/d610b0c514b9ccb0dad5d.... There are a few points of specialness about Option that you can’t use elsewhere:

    • #[rustc_diagnostic_item = "Option"]: the compiler knows about Option for the purpose of improving its error messages. I’m not sure how this is used, and am not looking it up now.

    • #[lang = "None"] and #[lang = "Some"]: lang items allow the compiler to hook things up, like knowing the + operator maps to the core::ops::Add trait. https://github.com/search?q=repo%3Arust-lang%2Frust+%28optio... suggests that these lang items are only being used by Clippy, to provide better diagnostics. So if you use your own Option type, you won’t get Clippy lints related to Option.

    • I guess there are also the #[stable] attributes, which can’t be used outside the standard library. When talking about strict accuracy, I guess that counts!

    Anyway: for practical purposes this is just minor diagnostics and documentation stuff, not actual functionality, about which there is nothing special.

    Since you mentioned the try operator, might as well look at the trait implementations on Option too, https://doc.rust-lang.org/std/option/enum.Option.html#trait-.... There are a few things marked “This is a nightly-only experimental API.”, which you can implement yourself if you’re willing to take that stability risk; they’re all linked to try_trait_v2, which is what backs the try operator, `?`. Once it, or its successor, is stabilised, we’ll effectively be back to there being absolutely nothing special about Option, as you’ll be able to implement those traits for your own Option type as well.

What are some alternatives?

When comparing frawk and rust you can also consider the following projects:

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

Elixir - Elixir is a dynamic, functional language designed for building scalable and maintainable applications

rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]

Odin - Odin Programming Language

mimalloc - mimalloc is a compact general purpose allocator with excellent performance.

scala - Scala 2 compiler and standard library. For bugs, see scala/bug

go - The Go programming language

Rustup - The Rust toolchain installer

spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python

opencascade.js - Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.