JamieMagee, to dotnet

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

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

felixxm, to programming
@felixxm@fosstodon.org avatar

I wrote ✏️ 🎉 an article about Running Tasks Concurrently in Django Asynchronous Views :django: Buckle-up for our async-journey together! 🚗 #django #python #async

https://fly.io/blog/running-tasks-concurrently-in-django-asynchronous-views/

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/>

robertology, to php

What do people like these days for #async in #php?

Not "put in the queue to do later" like send an email

But "do this while I do other things and I'll integrate the results when you're done" like make a few API calls

#amphp or something else?

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.

wyri, to php
@wyri@haxim.us avatar

Been putting the template annotations into @reactphp's async package. This will make PHPStan understand that when you await a PromiseInterface<bool>, the await function returns a bool. All with this amazing view:

janriemer, to rust

Currently reading "Asynchronous Programming in Rust" by Carl Fredrik Samson 📕

https://www.packtpub.com/product/asynchronous-programming-in-rust/9781805128137

I'm 1/3 through and so far I have to say it is really well written! :ferris:

⭐ ⭐ ⭐ ⭐ ⭐

#Rust #RustLang

janriemer,

"Now that we’re at the end I want to thank you for reading all the way to the end. I wanted this book to feel like a journey we took together, not like a lecture. I wanted you to be the focus, not me.

I hope I succeeded with that, and I genuinely hope that you learned something that you find useful and can take with you going forward."

I definitely learned a lot! And a journey it has been indeed! This book will be my go-to reference for all things #Async in #Rust!

Thank you, Carl Fredrik! ❤️

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

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 .

#dotnet #async #csharp

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

ctietze, to swift
@ctietze@mastodon.social avatar

ChimeHQ/AsyncXPCConnection: Concurrency support for NSXPCConnection https://github.com/ChimeHQ/AsyncXPCConnection

#XPC #async-await #Swift

hrefna, to random
@hrefna@hachyderm.io avatar

Well I'm glad we cleared that up. #OCaml #Async

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

alvinashcraft, to random
@alvinashcraft@hachyderm.io avatar

Anyone at #msbuild? I have a couple of copies of my books to give away. Find me in a plain red baseball cap and blue Build hoodie.
#dotnet #winui #async

cjoly, to rust
@cjoly@fosstodon.org avatar

One of the big pain points for me with #async #rust is the gap between async features and the rest of the languages. For instance, you need external crates for async traits and closures and the errors become unreadable once they involve those async traits.

This seems about to change: https://without.boats/blog/a-four-year-plan/
This is awesome, looking forward to it!

jaanus, to random

#Swift #async #Vapor #SwiftOnServer

Finally migrating some old EventLoopFuture-based Vapor code to new async approach. Feels really good to unwrap those crazy nested EventLoopFuture blocks to clean meaningful async code. Good job @0xTim & co.

https://docs.vapor.codes/basics/async/

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?

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

hywan, to rust
@hywan@fosstodon.org avatar

Stabilize async fn and return-position impl Trait in trait, https://github.com/rust-lang/rust/pull/115822.

The PR has been merged!

#RustLang #async #trait

hds, to rust
@hds@hachyderm.io avatar

Yesterday we had a new release of the #TokioConsole crates. That's tokio-console 0.1.9 and console-subscriber 0.1.10.

Console is a #debugger for #async #rust!

There were fewer new features in this release, but plenty of improvements and fixes.

Let's have a look at what's in there!

#tokio #rustlang

janriemer, to rust

Clippy's lints for dealing with #async in #Rust:

https://rust-lang.github.io/rust-clippy/master/#/async

(Note, that this is just a search for the term "async" in the Clippy docs - there is no special "category" involved here).

#RustLang #RustAsync #Clippy

wyri, to php
@wyri@haxim.us avatar

Been putting the finishing touches on Bunny's transformation into #fibers PR. One of the major things for me there is visualizing the changes, especially the breaking changes. For example switching from a promise based API to a fibers based API:

#php @reactphp #async

hywan, to rust
@hywan@fosstodon.org avatar

Tasks are the wrong abstraction, https://blog.yoshuawuyts.com/tasks-are-the-wrong-abstraction/.

Another excellent article by @yosh. I still need to digest it; I reckon it contains many (great) ideas I agree with.

#RustLang #async #concurrency #parallelism

brennansv, to random
@brennansv@sfba.social avatar

Heard of function coloring? It is about async code. #Concurrency #Async

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

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