Bret McGuire created CASSPYTHON-8:
-------------------------------------

             Summary: Iniital exploration of replacing C/cython with Rust
                 Key: CASSPYTHON-8
                 URL: https://issues.apache.org/jira/browse/CASSPYTHON-8
             Project: Apache Cassandra Python driver
          Issue Type: Bug
            Reporter: Bret McGuire


Rationale here is as follows:

 
 * Consolidate all native impls in a single language
 * Rust's security benefits
 * We can test Rust code easily in isolation
 * Those reading the code don't have to learn the intricacies of cython syntax

 

Goal here is to start with something small and self-contained, ideally the [C 
murmur3|https://github.com/apache/cassandra-python-driver/blob/trunk/cassandra/cmurmur3.c]
 impl.  Output here would be to get basic tooling in place.  
[PyO3|https://github.com/PyO3/pyo3] and 
[maturin|https://github.com/PyO3/maturin] seem like the obvious choices here 
but some exploration might be warranted.

 

Note that this will almost certainly require pyproject.toml to be available... 
this should be coming with 
[CASSPYTHON-3|https://issues.apache.org/jira/browse/CASSPYTHON-3].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to