I came across Julia (a programming language) and was especially interested in its ability to call C functions without a shell. Actually, it looks more like an instant C shell:
path = ccall( (:getenv, "libc"), Ptr{Uint8}, (Ptr{Uint8},), "SHELL")
time = ccall( (:clock, "libc"), Int32, ())
So, I have a few questions:
- Is there a drawback to using this function using the formal wrapping API?
- If this type should not be used
PS: It would be nice to have other languages that can do the same thing as easily listed.
source
share