Affinity I believe is C++ with C# used for the front end on Windows.
The code doesn’t have nearly the legacy of Adobe’s code, so the result is that Affinity already runs very well in WINE thanks to some passionate fans that really want to see this use case.