Soblow, to rust
@Soblow@eldritch.cafe avatar

Is there a way in Rust to use standard lib traits (Ord, Eq, Into/From...) with async functions?
Perhaps a crate or something?
Or must it be a separate function implemented for the structs?

reactphp, to php
@reactphp@phpc.social avatar

Just released v3.2.0 of our Promise component! 🎉

Today's release adds initial support for the upcoming PHP 8.4 release, improves reporting unhandled promise rejections and more 🚀

https://github.com/reactphp/promise/releases/tag/v3.2.0

Enjoy! #async #php

atamakahere, to rust
@atamakahere@mastodon.social avatar

What would be the best way to learn #async #rust ?

I am reading the rust for rustaceans book, but it’s not the end of all, I need to implement my learning. What could be the best, short and crisp way to utilise most of async and concurrent feature in a small application?

My goal is to get confident enough that I can build/contribute to something like #pingora or a database like #quadrant

toxi, to typescript
@toxi@mastodon.thi.ng avatar

For @made and others who might have questions about the new https://thi.ng/transducers-async library, I've tried to illuminate the behind-the-scenes approach over here:

https://github.com/thi-ng/umbrella/discussions/461#discussioncomment-9102966

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

My book on parallel programming & concurrency in C# is part of the Mastery of C# and .NET Awaits Humble Bundle from Packt Publishing

for up to 22 eBooks!

https://www.humblebundle.com/books/mastery-c-sharp-and-dot-net-awaits-packt-books?partner=morningdew

toxi, to opensource
@toxi@mastodon.thi.ng avatar

Sorry for recent silence, if I can summarize most of my past two weeks or so:

"Async all the thi.ngs, what colud posibsyl og wrngo!" [1]

  1. New package https://thi.ng/transducers-async (restarted development after originally stopping it in 2018 due to lack of async iterable support)
  2. Updates to https://thi.ng/rstream (adapters from/to async iterables)
  3. Upcoming, a new & simplified implementation of https://thi.ng/csp (currently still only on a feature branch[2]) for building blocks for Communicating Sequential Processes.
  4. Also still WIP only, async iterable support for https://thi.ng/rdom, i.e. in the same way as rstream subscriptions, such async iterables can soon be directly embedded as component/element bodies or attribute values and then perform pinpointed DOM updates each time their value changes...

As I said, async all the thi.ngs...

[1] h/t @sjb3d for an ancient tweet with a similar sentiment & outcome :)

[2] The CSP package too was somewhat deprecated (for similar reasons) and a while ago I added another alternative CSP implementation via https://thi.ng/fibers, but that package too might see some more refactoring/simplifying by switching to async generators...

#ThingUmbrella #Async #Transducers #OpenSource #TypeScript #JavaScript

felixxm, to django
@felixxm@fosstodon.org avatar

Check out my article on #ASGI #deployment options if you want to serve an #async #Django app or explore the world of ASGI servers 🕵️‍♂️ :django: @flydotio #python

https://fly.io/django-beats/asgi-deployment-options-for-django/

reactphp, to php
@reactphp@phpc.social avatar

Just released v1.10.0 of our async HTTP component! 🎉

Today's release introduces our new PSR-7 implementation, better request validation, improves performance, fixes a few bugs and more. 🚀

https://github.com/reactphp/http/releases/tag/v1.10.0

Enjoy! #async #php

jbzfn, to rust
@jbzfn@mastodon.social avatar

🧶 Why choose async/await over threads? - notgull.net

「 Smart programmers try to avoid complexity. So, they see the extra complexity in async/await and question why it is needed. This question is especially pertinent when considering that a reasonable alternative exists in OS threads 」

https://notgull.net/why-not-threads/

#Rust #Async #Threads

ihor, to programming

Even though I came to terms with async functions with years, I still can't shake the feeling that something wrong there. 😏

#async #blocking #nonblocking #programming #meme

peterrenshaw, to webassembly
@peterrenshaw@ioc.exchange avatar

“WASI Preview 2: What WebAssembly Can and Can’t Do Yet”

light on technical details, worthy as a ‘heads-up’, quick read.

#wasm / #wasm2 / #http / #CLI / #async <https://thenewstack.io/wasi-preview-2-what-webassembly-can-and-cant-do-yet/>

paulox, to python
@paulox@fosstodon.org avatar
alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar
reactphp, to php
@reactphp@phpc.social avatar

Just published the first #ReactPHP v3 roadmap ticket 🎉

Will post more in the next days, excited to move forward! 🚀 #nextgen #async #php

https://github.com/reactphp/event-loop/issues/271

wyri, to php
@wyri@haxim.us avatar
tapforms, to swift
@tapforms@mastodon.social avatar

can be so much cleaner and more concise than . Really digging the new concurrency syntax with and for working with . Now if only I could convert my entire project to this. But 16 years of development has lots of legacy code. But I am slowly modernizing some of it and writing new stuff in Swift and SwiftUI.

Objective-C language screenshot with code that fetches all the record zones from CloudKit

vees, to Software
@vees@epistolary.org avatar

In our latest development team working agreement someone added the item "If you're going to #Slack someone a question, don't write 'hi' and then wait for them respond, just send the question." Friends, I never felt more seen than in that very moment. #Agile #Async #Software

reactphp, to php
@reactphp@phpc.social avatar

v3 is going to happen 🔥#nextgen #async #php

janriemer, to linux

What is io_uring?

https://unixism.net/loti/what_is_io_uring.html

"io_uring is a new asynchronous I/O API for Linux created by Jens Axboe [...]. It aims at providing an API without the limitations of the current select(2), poll(2), epoll(7) or aio(7) family of system calls [...]."

hywan, to rust
@hywan@fosstodon.org avatar

Announcing smol-macros, smol-hyper and smol-axum, https://notgull.net/new-smol-rs-subcrates/.

smol is my favourite asynchronous runtime. It’s nice to see it becoming more user-friendly (it was already easy before, it’s just simpler now).

#RustLang #async #runtime

janriemer, to rust

Yay! @notgull is working on smol integration with ! :awesome:

https://github.com/notgull/smol-axum

The smol runtime:
https://github.com/smol-rs/smol

is not the end-all-be-all runtime. You should keep looking at alternatives and what unique features they can offer. ✨

Don't be blinded by "if it is the most popular, it must be the best" fallacy.

paulox, to python
@paulox@fosstodon.org avatar
cslinuxboy, to php
@cslinuxboy@mastodon.social avatar

Using #RevoltPHP for one of my new projects. It's very nice working with #PhpFibers and not dealing with generators/promises as much. Can't wait for other #Async #Frameworks to start refactoring to use it more. I know #AmpPhp has added it to their HttpServer lib already.

#PHP

billseipel, to dotnet

The behavior for the List<string> seems... weird.

I'm not quite certain it has the SAME instance for each iteration of the ForEach .

reactphp, to php
@reactphp@phpc.social avatar

Next releases are live, introducing v4.2.0, v3.2.0 and v2.2.0 of our Async component 🎉

Today's triple release adds Promise v3 template types for all public functions, full PHP 8.3 compatibility and more.

https://github.com/reactphp/async/releases/tag/v4.2.0

Happy coding! 🍻
#nextgen #async #php

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • Leos
  • thenastyranch
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • lostlight
  • All magazines