News for hackers. Stuff that matters.

lh_mouse

mingw-w64 uses Microsoft C ABI except `long double`. However the C++ ABI is derived from Itanium C++ ABI, which results in a mixture.

64-bit Cygwin/MSYS2 uses a modified MS ABI where `long` is 64-bits.

How can a mutex in Wine be faster than a native one on Linux

System information* CPU: 11th Gen Intel Core i7-1165G7* System: Linux Mint 22.2* Kernel: 6.11.0-1014-lowlatency (no ntsync)* Sys libc: GNU C library 2.39* Wine: 9.0* Compiler: GCC 13 (both)Configurations and time of execution (lower is better)* linux std: ( 8.150 s) std::mutex, backed by pthread* linux boost: (10.936 s) boost::mutex* win std: (20.246 s) std::mutex,...

( Read More... | 1 comment | on HN )