Oleg Yukhnevich
Oleg Yukhnevich
With future serialisation support (#112) such scripting functionality will be better than testing APIs through some CLI. Really look forward on it!
Let's leave it open for now, I can take it on my own some time in future, no hurry. I think, that scripting examples, experience - it's a great opportunity...
For inspiration: [ktor-io byte channels](https://api.ktor.io/1.4.1/io.ktor.utils.io/-byte-channel/index.html) Also it has integration with File IO and JVM IO-streams.
Postponed until [rsocket protocol resume changes](https://github.com/rsocket/rsocket/pull/312)
Postponed until [rsocket protocol lease changes](https://github.com/rsocket/rsocket/pull/311)
BTW, `rsocket-kotlin` benchmark `suspend` calls to test throughput of underlying implementation, and to compare it to java implementation in different scenarios. And there is the only way to test it,...
My concerns: 1. `runBlocking` is not supported on JS :) So we need to create expect/actual for it similar that exists in kotlinx.coroutines 2. `runBlocking` still has some overhead, it...
Regarding second point I've tested simple case of `runBlocking` overhead run benchmark with `runBlocking` per operation and run benchmark with `runBlocking` repeating 1000 operations inside it. so `runBlocking { operation()...
also reproducible on 0.4.2/0.4.3 with kotlin 1.6.20 workaround for both 0.4.2-0.4.4 to just create this sourceSet
Im not a language designer of course, but IMO introducing this with coming 'explicit backing field' KEEP, with possible future introduction of 'setter overload' (which is also very useful for...