intel / intel/hyperscan

C++ API

Open
#158 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

Are there any plans to provide a C++ API? I am not suggesting to replace the C API, but add one additionally. Especially using RAII makes it easier and safer to use. Maybe even some performance gains are possible? E.g. providing a templated version of `hs_scan` to not have to pass a function pointer.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing C API, especially hs_scan, and determine how a C++ API could add RAII without replacing the current interface. The issue does not identify files, tests, or a settled design, so done would require agreeing on scope and API behavior before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.