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

felixxm, to django
@felixxm@fosstodon.org avatar

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

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

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

happyborg, to rust
@happyborg@fosstodon.org avatar

Async Rust is a Bad Language by Matt Kline.

Very good intro and thought provoking article on and , and their use in .

It champions 's model of concurrency which takes me back. Back to the time I failed to get funding for a start-up to build an compiler targeting i386. Which was largely a ploy to get the UK government to buy me some neat kit 🤷‍♂️

Anyway, here's the article:
https://bitbashing.io/async-rust.html

JamieMagee, to dotnet

The result of the .NET green thread experiment is here:

https://github.com/dotnet/runtimelab/issues/2398

reactphp, to php
@reactphp@phpc.social avatar

Just released v3.1.0, v2.11.0 and v1.3.0 of our Promise component 🎉

This triple release contains PHP 8.3 compatibility, improved type safety and some test suite updates.

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

Enjoy! 🍻
#nextgen #async #php

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

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

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

reactphp, to php
@reactphp@phpc.social avatar

Released v1.3.0 of our async Stream component 🎉

Adds full support for PHP 8.1 and PHP 8.2, avoids unneeded syscalls, some test suite improvements and more.

https://github.com/reactphp/stream/releases/tag/v1.3.0

Happy weekend! 🍻
#nextgen #async #php

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

reactphp, to php
@reactphp@phpc.social avatar

Happy birthday #ReactPHP! 🎂🎊

To celebrate, we're releasing Promise v3, the next big step towards the future ReactPHP v3. Now reporting all unhandled promise rejections, better type safety & much more! 🔥

See blog for details!

https://clue.engineering/2023/announcing-reactphp-promise-v3

Enjoy! 🥳 #async #php

janriemer, to rust

1 Hour Dive into Rust - by Herbert Wolverson:

https://farside.link/https://www.youtube.com/watch?v=0HwrZp9CBD4
(or YT: https://www.youtube.com/watch?v=0HwrZp9CBD4)

This is probably the best end-to-end overview of you can get! So much valuable information packed into 1 hour. Love it!

Thank you @herberticus for this excellent presentation. 🙏

Boost this to the moon, my fellow Rustaceans! :ferris: :boost_love: The video is one month old and only has ~1,500 views.😬

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

reactphp, to php
@reactphp@phpc.social avatar

Released v1.6.0 of our async PromiseStream component! 🎉

Better forward compatibility with Promise v3 by avoiding unhandled rejections, improve memory usage and more. All in preparation for the upcoming ReactPHP birthday next week! 🚀

https://github.com/reactphp/promise-stream/releases/tag/v1.6.0

Enjoy! #async #php

happyborg, to rust
@happyborg@fosstodon.org avatar

Calling #Rust web gurus.

I'm using the #reqwest crate to call two different APIs. One is working fine, the other I had working intermittently but not sure what fixed/unfixed it.

The issue is that the await doesn't return even though using curl works fine.

Why would await not return after a few seconds when the curl request returns immediately?

happyborg,
@happyborg@fosstodon.org avatar

As suspected the issue was not in the code I created to use remote web APIs.

The issue was that using the async function which polls the web APIs as a tokio::future was preventing the await on the web request from ever returning, even though the remote web API was responding correctly.

I fixed this by doing the polling of the my async function manually alongside the select! macro which handles the other two futures, all within a loop.

For my use case this fine. 😅
#Rust #async #futures

happyborg,
@happyborg@fosstodon.org avatar

A timely blog from Tyler Mandry supports the possibility that my issue could arise from the way I'm using futures.

He mentions some facerakes which can occur using select! rather than merge! to combine futures so that's another avenue to pursue. Bonus: I will learn to produce more reliable async code.

Very interesting and commendable blog post on the state and future [cough] of #async #Rust:

https://tmandry.gitlab.io/blog/posts/making-async-reliable/

wyri, to php
@wyri@haxim.us avatar
alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar
paulox, to python
@paulox@fosstodon.org avatar
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

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

reactphp, to php
@reactphp@phpc.social avatar

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

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

jakelazaroff, to random

i can’t make this and i have so much fomo 😩 hopefully it comes back next year
https://mastodon.social/@localfirstconf/112134556853219647

jakelazaroff,
  • 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