Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Kornel
@kornel@mastodon.social  ·  activity timestamp 12 hours ago

"What color is your function?" is a wonderful title. It's so good, the title alone could win the Sundance Festival.

But that post is about a JavaScript-specific limitation (not applicable to other languages), and some wishful bikeshedding about syntax (which turns out to be a leaky abstraction that makes locking ambiguous, very problematic in low-level languages).

But *color* is so catchy. It's not well defined that post, but you can't have "color" in your async, whatever that is. Just can't.

  • Copy link
  • Flag this post
  • Block
Zło To
@mattesilver@101010.pl replied  ·  activity timestamp 11 hours ago

@kornel
two other languages that this applies to are python and rust.

  • Copy link
  • Flag this comment
  • Block
Worik
@worik@mastodon.social replied  ·  activity timestamp 11 hours ago

@kornel It is not Javascript specific

IIRC it applies to any asyc/await language

It is turning into farce over at rust, where the as6c/await layers on more and more layers of complexity to make it work.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login