northwesternfintech / NUTC

Northwestern Trading Competition Monorepo
5 stars 2 forks source link

True C++ support in exchange #99

Open egelja opened 6 months ago

egelja commented 6 months ago

So this isn't that hard actually. We just need to tell our users to upload a statically linked so library. Then we don't even have to worry about libc or libstdc++ differences. We just dlopen and call the functions we want.

I will take this issue. Goal is to get it done by the "dress rehearsal" run of NUTC. We sorta have support with #97 and #98 (but its very jank, either going cpp -> py -> cpp or requiring an execv call, respectively).

What needs to be done to get this working is:

The API with consist of four functions:

The first one just allows us to tell the users' code what function they need to call too place an order. We will provide this for them.

stevenewald commented 6 months ago

Shelved for now unless @egelja wants to implement this e2e - can't spare bandwidth on the rest of the team

egelja commented 6 months ago

I'll do it - no ETA though.

stevenewald commented 3 months ago

deadline june 25

echavemann commented 3 weeks ago

lol