[erlang-questions] Is it bad to use prim_file directly?

Colm Dougan colm.dougan@REDACTED
Thu Nov 13 01:37:27 CET 2008


I was looking at the yaws sources and I noticed that
prim_file:read_file is used in preference to file:read_file.  When I
looked at the OTP sources it looks like the file API just calls
prim_file but there is a gen_server sitting in the middle.

Does anyone know of any down-sides to using prim_file directly or is
this not recommended?


More information about the erlang-questions mailing list