On Fri, Feb 20, 2015 at 3:04 AM, Kuba Roth <[email protected]> wrote:

> Ah indeed I got a crash. Thanks for clarification. I've been following
> ccall examples in iostream.jl. Now it makes sense why the ios_write
> function is used there.
> I was wondering does Julia's stream related C functions (ios_write/read)
> have any overhead over their standard C counterparts?
>

Certainly not compared to actually doing I/O. It's an alternative to fwrite
which can be as fast or faster – both ultimately make system calls that
actually send data to the kernel. It's pretty common for C libraries to
have their own alternatives to fwrite, which are kind of limited and basic.

Reply via email to