[Wine] Re: which is faster: WinApi or C Runtime?

vitamin wineforum-user at winehq.org
Wed Sep 10 10:55:13 CDT 2008

tjandracom wrote:
> which is faster in Wine?
> WinApi functions such as: CreateFile(), ReadFile(), WriteFile(), CloseFile(), HeapAlloc(), HeapRealloc(), etc.
> vs.
> C Runtime functions: fopen(), fread(), fwrite, fclose(), malloc(), etc.
> if i develop an application to be run in Wine, should i use WinApi functions, or
> C Runtime functions?

If this is windows program then win32 api will be faster. Because Wine's msvcrt is written on top of the win32 api. And does not call glibc functions directly.

More information about the wine-users mailing list