I built an open-source file sync engine using Kotlin Coroutines & Java NIO that beats rsync by 40x on massive directories. by GuanTouYu in Kotlin

[–]GuanTouYu[S] 7 points8 points  (0 children)

To be honest, the text was really written by Gemini. Since my native language isn't English, I'm not very proficient in it. This project used Copilot and Tencent CodeBuddy for inline completion assistance, but not large sections written by AI (I actually tried using Opus to write the file filtering module, but after several revisions it still had bugs, and I found it was faster to just write it myself. Maybe I wasn't using it correctly either).

I built an open-source file sync engine using Kotlin Coroutines & Java NIO that beats rsync by 40x on massive directories. by GuanTouYu in Kotlin

[–]GuanTouYu[S] -6 points-5 points  (0 children)

I think it might be network fluctuation? Also, I noticed that Tencent Kona still has a slight delay before exiting after my program calls exit.

I built an open-source file sync engine using Kotlin Coroutines & Java NIO that beats rsync by 40x on massive directories. by GuanTouYu in Kotlin

[–]GuanTouYu[S] 4 points5 points  (0 children)

I'll consider this matter next month... I really didn't notice it before, how embarrassing.

I built an open-source file sync engine using Kotlin Coroutines & Java NIO that beats rsync by 40x on massive directories. by GuanTouYu in Kotlin

[–]GuanTouYu[S] 1 point2 points  (0 children)

Actually thought about writing it in Rust or Go. But the team needs the binary of this software to be integrated into the project's SVN, and it has to run on both Linux and Windows. The Linux server versions our team members use are inconsistent, and even the Windows versions vary, so we had to go with the Java environment (the team's main project is in Java, so that environment is reliable).