microsoft / cppwin32

A modern C++ projection for the Win32 SDK
MIT License
441 stars 30 forks source link

Performance? #10

Closed eklipse2k8 closed 3 years ago

eklipse2k8 commented 3 years ago

What are the performance costs here? Wouldn't accessing Win32 API over winmd take a noticeable performance hit? The beauty of C++17 is that it's near-zero cost abstractions.

kennykerr commented 3 years ago

All of the language support we are developing use the metadata to generate code at or before compile time. This does not affect run time performance at all.

eklipse2k8 commented 3 years ago

Oh that's pretty cool!