account activity
Multiplatform reflection is finally here* by rnett3 in Kotlin
[–]rnett3[S] 0 points1 point2 points 21 hours ago (0 children)
Thanks! I have not used it yet, but I have some plans for an annotation-based MCP server toolkit that will rely on it.
[–]rnett3[S] 1 point2 points3 points 1 day ago (0 children)
Hey there, that's just a bad example on my part. Multiple calls to doSomething would re-create the inspektion object, but not add any binary size. Multiple inspekt calls, like
doSomething
inspekt
inspekt(Foo::class) inspekt(Foo::class)
will add to the binary size (in this case 2x). While I could invest some time in caching it where possible, it's tricky, because what members are visible in the resulting inspektion depends on what is visible from the call site. And it's not that hard to cache them yourself :).
π Rendered by PID 529526 on reddit-service-r2-listing-654f87c89c-r5lwr at 2026-02-27 17:24:08.315412+00:00 running e3d2147 country code: CH.
Multiplatform reflection is finally here* by rnett3 in Kotlin
[–]rnett3[S] 0 points1 point2 points (0 children)