rure-go

Go bindings to Rust's regex engine. (by BurntSushi)

Rure-go Alternatives

Similar projects and alternatives to rure-go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rure-go alternative or higher similarity.

rure-go reviews and mentions

Posts with mentions or reviews of rure-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-26.
  • Best regexp alternative for Go. Benchmarks. Plots.
    8 projects | dev.to | 26 Aug 2023
    rure-go (regex 1.9.3) - uses the Rust regex engine with CGo bindings. The downside is a Rust library dependency that needs to be compiled;
  • Go performance from version 1.2 to 1.18
    14 projects | news.ycombinator.com | 3 Feb 2022
    Totally agreed: almost all users (me/GoAWK included) want performance and don't care nearly as much about simplicity under the hood. Simplicity of implementation is of value for educational purposes, but we could easily have a small, simple 3rd party package for that. Go's regexp package is kinda too complex for a simple educational demonstration and too simple to be fast. :-)

    I actually tried BurntSushi's https://github.com/BurntSushi/rure-go (bindings to Rust's regex engine) with GoAWK and it made regex handling 4-5x as fast for many regexes, despite the CGo overhead. However, rure-go (and CGo in general) is a bit painful to build, so I'm not going to use that. Maybe I'll create a branch for speed freaks who want it.

    I've also thought of using https://gitlab.com/cznic/ccgo to convert Mawk's fast regex engine to Go source and see how that performs. Maybe on the next rainy day...

Stats

Basic rure-go repo stats
2
245
3.0
5 months ago

BurntSushi/rure-go is an open source project licensed under The Unlicense which is not an OSI approved license.

The primary programming language of rure-go is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com