Skip to content

ltg1710/areyoucxxyet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

areyoucxxyet

are you cxx yet
this project have test on x86_64-pc-windows-msvc

Tutorial aboue cxx crates

1 Hello from Cpp

you can run it by cargo run --bin hello-from-cpp.

flowchart LR
    subgraph cpp["fab:fa-c++ C++"]
        hellolib
    end
    subgraph rust["fab:fa-rust Rust"]
        hello-sys
        hello-from-cpp
    end
    hellolib --> hello-sys
    hello-sys --> hello-from-cpp
    click hellolib "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial\crates\hello-sys\hellolib" _blank
    click hello-sys "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial\crates\hello-sys" _blank
    click hello-from-cpp "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial\hello-from-cpp" _blank
Loading

2 PingPong

you can run it by cargo run --bin pingpong.

flowchart LR
    subgraph cpp["fab:fa-c++"]
        ping
    end
    subgraph sys["fab:fa-rust rust"]
        pong
    end
    subgraph app["fas:fa-table-tennis rust"]
        pingpong
    end
    app --> ping
    ping --> pong
    pong --> ping
    click ping "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial/pingpong/src/ping.cc" _blank
    click pong "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial/pingpong/src/main.rs#L13-L18" _blank
    click pingpong "https://github.com/ltg1710/areyoucxxyet/blob/main/tutorial/pingpong/src/main.rs#L20-L22" _blank
Loading

About

are you cxx yet

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published