Oh, I should have looked in the mailing list archives. So I guessed wrong, I thought this was implemented to avoid shell calls. So implementation specific.
Thanks Le lun. 1 mai 2023 à 00:06, Waldek Hebisch <[email protected]> a écrit : > 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 > . > -- 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/CAHnU2db0rmx-UQ%3DyBbn1PjpbsqV1Qn380NhEHUCA1i5UHUw9iA%40mail.gmail.com.
