Sqinn-Go
hyperscan
Sqinn-Go | hyperscan | |
---|---|---|
8 | 25 | |
400 | 4,637 | |
- | 0.7% | |
5.5 | 2.0 | |
4 months ago | 5 months ago | |
Go | C++ | |
The Unlicense | GNU General Public License v3.0 or later |
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.
Sqinn-Go
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:
https://github.com/cvilsmeier/sqinn-go/issues/8
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- SQLite in Go, with and Without Cgo
-
SQLite in Go, with and without cgo
If you want to avoid cgo, consider sqinn as well: benchmarks.
-
A remote JSON interface for SQLite, in Go
Of course, it may seem... odd to add a remote interface to an embedded database, but I think that it fits some niches well, especially when decoupling persistence and logic is needed, without renouncing to the expressivity of SQL. It was inspired by PostgREST, but it’s much more “low level” – and it should be even simpler to adapt to some cases. Also, it serves the same purpose of sqinn but with a more general interface.
-
Go performance from version 1.2 to 1.18
Why don't you try a pure-Go implementation? Should have enough features implemented for basic use
https://github.com/cvilsmeier/sqinn-go
hyperscan
-
Ask HN: Regex on a File or Stream
Maybe some other PCRE-compatible implementation offers streaming. For instance, https://www.intel.com/content/www/us/en/developer/articles/t... says it has this feature, but of course given who it's from it may be tied to a single brand of CPU.
github seems to be https://github.com/intel/hyperscan
- Aho-Corasick Algorithm
-
Stop deploying web application firewalls
I think of WAFs as an extra safety net. Defense in depth.
The author complained about the performance cost of WAFs in general, but not all WAFs have be structured like ModSecurity. They could for example be based on something like https://github.com/intel/hyperscan and perf is at a very different level.
-
Be careful of the examples you use. They stick
Another example of old timey Unix code just breaking things in minor point releases. See https://abi-laboratory.pro/index.php?view=changelog&l=glibc&... and https://github.com/intel/hyperscan/issues/359.
- hypergrep: A new "fastest grep" to search directories recursively for a regex pattern
- Accelerating Regular Expressions with AVX-512 at 1.5 GB/s/core
-
GitHub push protection is free for all public repositories
It’s a bespoke scanning setup designed to deal with GitHub’s scale. Under the hood it’s using Intel’s hyperscan as the regex engine.
https://github.com/intel/hyperscan
-
RE2 VS hyperscan - a user suggested alternative
2 projects | 17 Mar 2023
Hyperscan is an Intel regular expression library.
-
hyperscan VS RE2 - a user suggested alternative
2 projects | 17 Mar 2023
-
Show HN: Unblob – extraction suite for 30+ file formats
We are using hyperscan [3] instead of grepping byte sequences with Python, which is orders of magnitudes faster. It can also handle 4Gb+ files because of this which binwalk cannot.
It's used for a year now in production and it's way more precise and faster than binwalk. We are getting less false-positives too, and even if unblob fails to extract everything, we still get meaningful information out of firmwares, where binwalk just failed with no output previously.
[1]: https://github.com/onekey-sec/unblob/blob/main/unblob/handle...
[2]: https://github.com/onekey-sec/unblob/blob/main/unblob/proces...
[3]: https://github.com/intel/hyperscan
What are some alternatives?
go-sqlite3 - sqlite3 driver for go using database/sql
regex-benchmark - It's just a simple regex benchmark of different programming languages.
sqlx - general purpose extensions to golang's database/sql
go - The Go programming language
vertica-sql-go - Official native Go client for the Vertica Analytics Database.
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
go-mssqldb - Microsoft SQL server driver written in go language
Rusoto - AWS SDK for Rust
godror - GO DRiver for ORacle DB
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
RE2 - RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.