Helge Heß on Nostr: npub1srcgh…xfms4 Triggers memories about the green threads Java had in the first ...
npub1srcgh979ychudzrha7asxa7kvennpghghzzadmv5gcunfw5p72qs6xfms4 (npub1src…fms4) Triggers memories about the green threads Java had in the first releases (maybe even went into 1.0, don't remember). IIRC those have been awful. Maybe because they only ran on one OS thread and couldn't catch all blocking I/O? Don't quite remember.
Though in a way I never quite understood why this is better. The OS is doing exactly the same thing already for OS threads. An OS thread that is blocked on I/O doesn't consume CPU either.
Published at
2023-09-05 18:37:54Event JSON
{
"id": "f0e502489ee7244120a94fade6e65493f5024e957640309ad68403b503ce720c",
"pubkey": "9bddd4578b658620bdbf06f97fb8f978c08b641d1d0248a613f552d7ef7f709a",
"created_at": 1693939074,
"kind": 1,
"tags": [
[
"p",
"80f08b97c5262fc68877efbb0377d6666730a2e8b885d6ed94463934ba81f281",
"wss://relay.mostr.pub"
],
[
"p",
"878c47bd4979fad7d81d5032895a0cbd8c7b3ac35f6b75f6131bd7144293d9fa",
"wss://relay.mostr.pub"
],
[
"e",
"731f7df49841ae7b4eea2484f6ca879699745aa4f23d604c1a25d1c595c98e02",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/helge/statuses/111013991185336623",
"activitypub"
]
],
"content": "nostr:npub1srcgh979ychudzrha7asxa7kvennpghghzzadmv5gcunfw5p72qs6xfms4 Triggers memories about the green threads Java had in the first releases (maybe even went into 1.0, don't remember). IIRC those have been awful. Maybe because they only ran on one OS thread and couldn't catch all blocking I/O? Don't quite remember.\nThough in a way I never quite understood why this is better. The OS is doing exactly the same thing already for OS threads. An OS thread that is blocked on I/O doesn't consume CPU either.",
"sig": "a3445442c66abcd8c2597e5fc45b27bf44e152b23aa09d30f7fab9649b13de40648bba58b8321e533c22fb0a79b14de72f21e5a81091a01fea0129b48bebaec5"
}