Here is a nice example how to use profile guided optimization for Go languange.
source
TLDR: use main language of the project to write scripts.
+1 +2 :)
Additional couple of remarks:
at some moment you can think about writing tests; at some moment you need to reuse something else from the project (also it’s possible to duplicate\reimplement something from the project using scripting language); at some moment you can think about integrating functionality implemented inside the script to the main project (admin endpoint\UI\background job\etc).
MIT course
If you face this issue working with WSL, the root cause of the problem is invalid current directory.
How to fix it:
open powershell select home directory wsl -d DISTRO --cd ~ where DISTRO is the name of the distribution, that can be obtained
wsl -l Source
Nice article about the topic.