Go vs core.async, let's build and compare 2 simple applications
Vložit
- čas přidán 8. 09. 2024
- I continue my Go journey and now learning concurrency basics like goroutines and channels. It's funny because I was using Clojure core.async before, which is basically the same idea implemented as a library! Let's compare those two!
Support the channel:
Buy Me a Coffee www.buymeacoff...
Ko-fi ko-fi.com/andr...
CZcams / @andrey.fadeev
PayPal paypal.me/andf...
Follow me:
LinkedIn / andfadeev
X / andfadeev
Substack blog.andreyfad...
Telegram t.me/andreyfad...
Github github.com/and...
Instagram / andfadeev
I'm truly grateful for your support, and thank you for watching! 🙏
☕ If you liked this video and want to support my channel, please consider buying me a coffee. Your contribution helps me create more content like this:
👉 Buy Me a Coffee: www.buymeacoffee.com/andrey.fadeev
👉 Ko-fi: ko-fi.com/andreyfadeev
Please also subscribe to my other resources:
👉 Substack: blog.andreyfadeev.com
👉 Telegram: t.me/andreyfadeevchannel
I'm truly grateful for your support, and thank you for watching! 🙏
смотрю и понимаю насколько всё-таки синтаксис лиспов гениален, как ни крути этот с-подобный синтаксис, как ни улучшай, сколько новых языков не создавай на его основе, а лиспы всё равно выглядят круче!)
согласен, одно правило которые описывает весь синтакс :)
Excellent stuff, very interesting to see this comparison.
great, thanx for tutorial/explamation. Спасибо!
Thank you for sharing! It would be nice to see a real life example for using core.async in prod.
Yeah, I would like to see a good example myself as well, I've been doing Clojure professionally since 2017 but only seen couple of usages of core.async and they were pretty bad, causing over-complicated code, so we ended up rewriting to something much simpler with threadpools and atoms
What editor is this? It looks really clean. Also are you using a tiling window manager in mac?
Editor is Zed, I'm actually using it for everything except Clojure now (it supports clojure-lsp, but frankly speaking it's not enough), but overall I think it's great!
Regarding tiling WM, yeah, I'm using yabai, works fine.
@@andrey.fadeev wow thanks I gotta try them out now!
Can you do this with babashka instead of JVM ?
You can, kinda, but not really, there is a limitation regarding core.async, check the babashka book (differences with JVM section): "The clojure.core.async/go macro is not (yet) supported. For compatibility it currently maps to clojure.core.async/thread."