Dev Miscellaneous
357 subscribers
883 photos
6 videos
5 files
912 links
A channel where you can find developer tips, tools, APIs, resources, memes and interesting contents.

Join our comments chat for more.

Comments chat (friendly :D)
https://t.me/+r_fUfa1bx1g0MGRk
Download Telegram
This is How [JavaScript] Promises Really Work

Promises are one technique to handle asynchronous code, otherwise known as your first class ticket out of callback hell...

https://dev.to/cleancodestudio/this-is-how-javascript-promises-really-work

@DevMisc
#javascript #promise #async
Aioprocessing

A Python 3.5+ library that integrates the multiprocessing module with asyncio

https://github.com/dano/aioprocessing

@DevMisc
#async #python #library
Making sense of asyncio

When in doubt you should use asyncio when you can and threading when you must.

https://www.educative.io/blog/python-concurrency-making-sense-of-asyncio

@DevMisc
#python #async #learn
Async Python is not faster

It's indeed slower than "sync" python under a realistic benchmark. A bigger worry is that async frameworks go a bit wobbly under load.

https://calpaterson.com/async-python-is-not-faster.html

@DevMisc
#python #async #misc
Use Go Channels as Promises and Async/Await

If you’ve ever programmed with Javascript, you definitely know about Promise and async/await. But what about Golang?

https://levelup.gitconnected.com/use-go-channels-as-promises-and-async-await-ee62d93078ec

@DevMisc
#golang #async #learn
Understanding Rust futures by going way too deep 🦀

The text is a deep dive into understanding Rust futures. It starts by setting up a basic Rust project and adding dependencies like tokio, color-eyre, and tracing. It then demonstrates how to make a simple HTTP request using the reqwest library. The author explains that futures in Rust are just state machines that don't do anything until they are polled, which is demonstrated through creating a "dumb future". The text then dives deeper into the internals of Rust futures, showing how to inspect the call stack when things go wrong, even using unsafe code to cause a segmentation fault. The overall message is that Rust futures are powerful but require understanding their underlying mechanics to use them effectively.


https://fasterthanli.me/articles/understanding-rust-futures-by-going-way-too-deep

@DevMisc
#rust #async #learn
3