Alpha 8-1
Pre-release
Pre-release
Alpha v8 brings a big change to function dispatching, utilizing a hashmap instead of macro-heavy code. It also changes the namespace from rpc
to rpc_hpp
for clarity and avoiding conflicts.
-
Function dispatching now uses a dispatch table
- Functions are now "bound" to the server at runtime via a hashmap
- Key: function name/alias string
- Simplifies server setup (and possible performance boost)
- No more
rpc_dispatch_helper.hpp
- Functions are now "bound" to the server at runtime via a hashmap
-
Add support for using string literal arguments
-
Add benchmarks comparing rpc.hpp to other RPC libraries
-
Changed dispatch function signature
- The
dispatch
function in the server interface is now sink & return, rather than pass-by-reference.
- The
-
Adapters now use more direct static polymorphism
- As a result, adapters are nicer to work with and can be more flexible
- Details for adapters can now be implemented as
private
members
- Details for adapters can now be implemented as
- As a result, adapters are nicer to work with and can be more flexible
-
Fix compiler compatibility issues