dana321
Joined 8 years ago
Joined 8 years ago
https://www.independent.co.uk/extras/indybest/gadgets-tech/v...
One time, something didn't work as expected - its the first time it happened with this project. I read through the section of code and it was perfectly readable and well-written.
Turned out a plugin wasn't effecting the audio, so i just got it to pad some blank audio onto the beginning before processing it, then remove it at the end of the process. That fixed the issue, there was nothing wrong with the code but my ability to think laterally is what made it work.
We're getting to the stage where you can just ask them to write code and they will do what you want, and it writes good code. Its up to you to test everything beyond the internal tests it writes.
add async keyword to functions add .await when calling them use tokio in your main function (easy to look up) use the async recursion crate if you need to use recursion but don't want to box everything
There are some bonuses like calling functions in parallel, but there you go.
I asked chatgpt and it said hot reloading in a browser, but thats not what i'm talking about. I'm meaning realtime high performance desktop applications that the user can prompt to change the app in realtime while it is running.
The closest thing i saw to this was something called VibeOS, but thats a whole operating system.