syntaxdot VS rust

Compare syntaxdot vs rust and see what are their differences.

syntaxdot

Neural syntax annotator, supporting sequence labeling, lemmatization, and dependency parsing. (by tensordot)

rust

Empowering everyone to build reliable and efficient software. (by rust-lang)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
syntaxdot rust
4 2,683
65 93,041
- 2.8%
6.2 10.0
6 months ago about 22 hours ago
Rust Rust
GNU General Public License v3.0 or later 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.

syntaxdot

Posts with mentions or reviews of syntaxdot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-08.
  • Candle: Torch Replacement in Rust
    12 projects | news.ycombinator.com | 8 Aug 2023
    I am so happy about them releasing this. A few years ago I wrote a multi-task syntax annotator in Rust using Laurent Mazare's excellent tch-rs binding (it seems like he is also working on Candle):

    https://github.com/tensordot/syntaxdot

    However, the deployment story was always quite difficult. The PyTorch C++ API is not stable, so a particular version of tch-rs will only work with a particular PyTorch version. So, anyone wanting to use SyntaxDot always had to get exactly the right version of libtorch (and set some environment variables) to build the project.

    The idea of making an abstraction over Torch and Rust ndarray (similar to Burn) crossed my mind several times, but there is only so much that I could do as a solo developer. So Candle would be a god-given if I was still working on this project.

    Seeing Candle wants to make me port curated-transformers to Candle for fun:

    https://github.com/explosion/curated-transformers

  • Ask HN: What is the job market like, for niche languages (Nim, crystal)?
    4 projects | news.ycombinator.com | 23 Jul 2022
    They are obviously not as good as in Python, but if you are willing to invest time, it's definitely doable. E.g. I made a multi-task transformer-based syntax annotator in Rust using the tch Torch binding:

    https://github.com/tensordot/syntaxdot

    In my current job, I do NLP with Python, Cython, and some C++. I don't think doing it in Rust was much more work. Once you are beyond the stage of implementing a small research project or toy model, most systems are going to contain a lot of custom, specialized code. You will have to do that work in any language.

  • PyTorch 1.8 release with AMD ROCm support
    8 projects | news.ycombinator.com | 4 Mar 2021
    What I like about PyTorch is that most of the functionality is actually available through the C++ API as well, which has 'beta API stability' as they call it. So, there are good bindings for some other languages as well. E.g., I have been using the Rust bindings in a larger project [1], and they have been awesome. A precursor to the project was implemented using Tensorflow, which was a world of pain.

    Even things like mixed-precision training are fairly easy to do through the API.

    [1] https://github.com/tensordot/syntaxdot

  • SpaCy v3.0 Released (Python Natural Language Processing)
    9 projects | news.ycombinator.com | 1 Feb 2021
    Huggingface fills the need for task based prediction when you have a GPU.

    With model distillation, it should be possible to annotate hundreds of sentences per second on a single CPU with a library like Huggingface Transformers.

    For instance, one of my distilled Dutch multi-task syntax models (UD POS, language-specific POS, lemmatization, morphology, dependency parsing) annotates 316 sentences per second with 4 threads on a Ryzen 3700X. This distilled model has virtually no loss in accuracy, compared to the finetuned XLM-RoBERTa base model.

    I don't use Huggingface Transformers, but ported some of their implementations to Rust [1], but that should not make a big difference since all the heavy lifting happens in C++ in libtorch anyway.

    tl;dr: it is not true that tranformers are only useful for GPU prediction. You can get high CPU prediction speeds with some tricks (distillation, length-based bucketing in batches, etc.).

    [1] https://github.com/tensordot/syntaxdot/tree/main/syntaxdot-t...

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 2024-04-28.
  • Create a Custom GitHub Action in Rust
    3 projects | dev.to | 28 Apr 2024
    If you haven't dipped your touch-typing fingers into Rust yet, you really owe it to yourself. Rust is a modern programming language with features that make it suitable not only for systems programming -- its original purpose, but just about any other environment, too; there are frameworks that let your build web services, web applications including user interfaces, software for embedded devices, machine learning solutions, and of course, command-line tools. Since a custom GitHub Action is essentially a command-line tool that interacts with the system through files and environment variables, Rust is perfectly suited for that as well.
  • Why Does Windows Use Backslash as Path Separator?
    4 projects | news.ycombinator.com | 24 Apr 2024
    Here's an example of someone citing a disagreement between CRT and shell32:

    https://github.com/rust-lang/rust/issues/44650

    This in addition to the Rust CVE mentioned elsewhere in the thread which was rooted in this issue:

    https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html

    Here are some quick programs to test contrasting approaches. I don't have examples of inputs where they parse differently on hand right now, but I know they exist. This was also a problem that was frequently discussed internally when I worked at MSFT.

        #include 
  • I hate Rust (programming language)
    1 project | news.ycombinator.com | 22 Apr 2024
    > instead of choosing a certain numbered version of the random library (if I remember correctly) I let cargo download the latest version which had a completely different API.

    Yeah, they didn't follow the instructions and got burned. I still think that multiple things went wrong simultaneously for that experience. I wonder if more prevalent uses of `#[doc(alias = "name")]` being leveraged by https://github.com/rust-lang/rust/pull/120730 (which now that I check only accounts for methods and not functions, I should get on that!) so that when changing APIs around people at least get a slightly better experience.

  • Rust Weird Exprs
    1 project | news.ycombinator.com | 11 Apr 2024
  • Critical safety flaw found in Rust on Windows (CVE-2024-24576)
    1 project | news.ycombinator.com | 10 Apr 2024
  • Unformat Rust code into perfect rectangles
    2 projects | news.ycombinator.com | 7 Apr 2024
    Almost fixed the compiler: https://github.com/rust-lang/rust/pull/123325
  • Implement React v18 from Scratch Using WASM and Rust - [1] Build the Project
    5 projects | dev.to | 7 Apr 2024
    Rust: A secure, efficient, and modern programming language (omitting ten thousand words). You can simply follow the installation instructions provided on the official website.
  • Show HN: Fancy-ANSI – Small JavaScript library for converting ANSI to HTML
    6 projects | news.ycombinator.com | 3 Apr 2024
    Recently did something similar in Rust but for generating SVGs. We've adopted it for snapshot testing of cargo and rustc's output. Don't have a good PR handy for showing Github's rendering of changes in the SVG (text, side-by-side, swiping) but https://github.com/rust-lang/rust/pull/121877/files has newly added SVGs.

    To see what is supported, see the screenshot in the docs: https://docs.rs/anstyle-svg/latest/anstyle_svg/

  • Upgrading Hundreds of Kubernetes Clusters
    17 projects | dev.to | 3 Apr 2024
    We strongly believe in Rust as a powerful language for building production-grade software, especially for systems like ours that run alongside Kubernetes.
  • What Are Const Generics and How Are They Used in Rust?
    3 projects | dev.to | 25 Mar 2024
    The above Assert<{N % 2 == 1}> requires #![feature(generic_const_exprs)] and the nightly toolchain. See https://github.com/rust-lang/rust/issues/76560 for more info.

What are some alternatives?

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

laserembeddings - LASER multilingual sentence embeddings as a pip package

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

duckling - Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.

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

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

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).

projects - 🪐 End-to-end NLP workflows from prototype to production

Odin - Odin Programming Language

tensorflow - An Open Source Machine Learning Framework for Everyone

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

candle - Minimalist ML framework for Rust

Rustup - The Rust toolchain installer