Multi-versioning for backward compatibility

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Wed Feb 1 16:33:56 CET 2023


2023-02-01 14:54 (UTC+0000), Arseniy Aharonov:
> This method can't work in Windows with MSVC (at least to the best of my knowledge).

In Windows generally, not limited to MSVC.
 
> How does DPDK solve if in Windows for MSVC? I failed to find the answer.

It just doesn't.

Fortunately, symbol versioning is not the approach used in DPDK by default.
For example, there are currently no versioned symbols AFAICT.
The preferred approach is:
1) to keep new functions experimental (there are precise rules for how long)
2) to consider possible future extensions when defining new APIs




More information about the dev mailing list