cp command implementation and benchmark in python, go, lua
I was wondering how much will be the speed difference between cp command, rsync and implementation in python, go, lua and so wrote this code.
Background
python has two versions one with gevent and without gevent. Both the version uses shutil for copying files and directory tree. go uses https://github.com/opesun/copyrecur for copying recursively. lua uses lfs - LuaFileSystem module. lfs has support for creating directory but not for files, in order to copy the files low level file opening and writing to file technique is used.
[Read More]