rsicarelli.bsky.social
Staff Software Engineer | KMP @ StoneCo
São Paulo 🇧🇷
dev.to/rsicarelli
github.com/rsicarelli
154 posts
184 followers
77 following
Regular Contributor
Active Commenter
comment in response to
post
Only one or the other. If the type is internal, there is no need for the annotation! We ended up building a Gradle Plugin called KMP Lint to help us on this journey (the only scalable way in our case). We plan to open source it soon 🤞
comment in response to
post
There is a doc in the Kotlin repo on this topic: github.com/JetBrains/ko...
Yes, hacking.md 🤣. Lots of outdated stuff, but an interesting read!
comment in response to
post
Also use internal and @/HiddenFromObjC annotations properly.
Over-exposing Kotlin code to objc headers increases the link time, and also the .framework size!
comment in response to
post
Kotlin 2.1 has a new linker, plus an upgrade from LLVM 11 to 16.
There is also a compiler flag to disable some optimisations, the `-Xdisable-phases', which we can use to disable the LTO optimisation.
There is a flag to profile the compiler phases (works on 2.0 too), the `-Xprofile-phases`
comment in response to
post
We ended up creating some scripts on iOS setup that selects the targets and built type for the .framework.
Pretty much, local and CI (tests) we do iosSimulatorArm64 + debug.
For internal test flight builds, we do iosArm64 + debug.
For prod, iosArm64 + release.
We avoid release at all costs 👀
comment in response to
post
Special thanks to @kaeawc.bsky.social for pointing me in the direction of using VisualVM, which has now become my best friend 😂
comment in response to
post
Chegou a ver se essas libs fazem algum import específico do iOS? As vezes, só organização de source set já suportaria rs
comment in response to
post
Quase finalizando o KMP-102, nem acredito 😭
comment in response to
post
iOS reviews ✨
comment in response to
post
I am just looking for a reason to buy an m4 mini 🥹 they are so portable 🤏
comment in response to
post
I need a m4 mini at home for this ASAP
comment in response to
post
O r1 se compara com o GPT o1 que custa 200 doletas mês, só que de graça e realmente melhor
Usa um rolê de deep think, é como se a AI conversasse com ela mesmo antes de te responder, poderoso d+
Só tem que ativar no chat
comment in response to
post
100% apoiado hahahahaha
Imagino que deve engajar pra galera clicar, mas comigo não funciona rs
comment in response to
post
O vídeo preview vc diz reproduzir automaticamente na lista de vídeos?
comment in response to
post
The only hope so far is Kotlin 2.1, which updates LLVM from 11.1.0 (Feb 2021) to 16.0.0 (Mar 2023).
Reading the release notes, there seems to have been serious work on linking performance 🤞
comment in response to
post
Wake me up when the páscoa ends
comment in response to
post
só consegui pensar em panetone
comment in response to
post
Navigating through Gradle logs just ✨ sucks ✨, especially for large builds.
The wrapper delegates the commands (with options) to ./gradlew, but captures the error output and runs a Gradle log analyzer that digests and spotlights all the issues 🦣
using kotlin scripts 💨
comment in response to
post
comment in response to
post
fortemente
comment in response to
post
The difference between release and debug builds is huge. I wonder how much optimization is going on here 👀
comment in response to
post
Foi o show que o Nick Valensi tava com a perna engessada?
comment in response to
post
"manually" on Android and iOS. We have some common code for requesting permissions and we implement it natively on both platforms. The agnostic API also handles open settings, rationale, etc
comment in response to
post
Vai ser em SP 🤙
www.sympla.com.br/evento/confe...