What is Nostr?
天空вℓσи∂ :ablobcatrainbow: /
npub1ac2…3xs8
2023-08-10 16:40:21
in reply to nevent1q…0av3

天空вℓσи∂ :ablobcatrainbow: on Nostr: sdgathman As a JVM lover, I am jealous of the ability to call C code directly from ...

sdgathman (npub1xq8…9xvs)

As a JVM lover, I am jealous of the ability to call C code directly from CPython.

And yes, coroutine is powerful. I'm using kotlin coroutines and it's a huge (free) improvement of Java's native thread.

npub1kpwlxpzkxfmuxjmzc2wp3rf9vjg0sgydmlhsnrgqr3maf59h86qqdxxzz4 (npub1kpw…xzz4) co-routines can run on multiple threads, where the "tasks" can yield and the thread from a pool can switch to another "task" without suspension or something. At least kotlin coroutine can, and according to sdgathman, Python can do it too. That's the ultimate free boost you can get by just switching to another tech.

But if Python can do that, then my earlier hypothesis about switching to go will give your free boost is wrong
Author Public Key
npub1ac2jl9g68td9psessccnyqkv5e90tmgq5e6jp634hd3yxv9pmpms483xs8