3 ms·
I've updated the example: https://vlang.io/compare https://vlang.io/compare Got some help :)
by amedvednikov 8y ago
I've updated the example: https://vlang.io/compare https://vlang.io/compare
Got some help :)
- Arnavion 8y agoUnfortunately this still has two of the three problems I pointed out, and as I said it is unlikely a Rust user would use threads for this purpose in the first place. It's definitely less "simple", contrary to what the text introducing it says, compared to letting futures+tokio handle the concurrency for you. Not to mention less efficient. But I suppose it needs to be this way so as to be equivalent to the other languages' examples.