Alex Nedelcu on Nostr: Here's a concurrency problem that's implemented with #Scala's Cats-Effect and with ...
Published at
2023-10-06 14:44:14Event JSON
{
"id": "bb63f3973f4d7769c10698e099989ed5e34e9588aa405431c826fda93f664c88",
"pubkey": "2464a99bb3a2cface2d500032721fbdb4f036b4c92624d2039a11cc2d6a744a4",
"created_at": 1696603454,
"kind": 1,
"tags": [
[
"t",
"scala"
],
[
"t",
"kotlin"
],
[
"proxy",
"https://social.alexn.org/users/alexelcu/statuses/111188604005867702",
"activitypub"
]
],
"content": "Here's a concurrency problem that's implemented with #Scala's Cats-Effect and with #Kotlin's Coroutines for comparison — model a JDBC query that can be interrupted.\n\nWhich of them do you find more readable or more free of gotchas?\n\nhttps://gist.github.com/alexandru/60e977fcf75ed88c4d0b824b312dba44",
"sig": "1836dbef84ba704a2ef36255aa1f6344f4d6d8a27e4f1f42de910ec6ca5cbfe610e9bf40072e7e2114e4528bc7381cf5e738de712f5201c6b11139061e2ff36f"
}