On Sun, Apr 30, 2023 at 06:46:38PM +0200, Grégory Vanuxem wrote:
> Hello Waldek, *
>
> I wonder what is the gain of using 'remove_directory' in cfuns-c.c.
> Waldek, do you happen to remember why you added its use?
> Is there a specific LISP implementation that needs it?
> Or is it to avoid some stuff like 'sys exec rm -rf dir' in a hypothetical
> language?
W had discussion in the list starting from 27 Jun 2013.
Basically, one reason is speed: C code is much faster than
starting external program. Another reason is portablity:
C code depends only on fundamental Posix-standarized operations.
Alternatives bring various dependencies which may cause trouble,
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/20230430224838.kpeefofjuhgwqvcc%40fricas.math.uni.wroc.pl.