bjonnh
10/13/2020, 9:46 PMaltavir
10/23/2020, 8:32 AMhttps://youtu.be/MQPeEOf3G7A▾
Dean Djermanović
10/29/2020, 2:55 PMKsenia Shneyveys
11/06/2020, 5:06 AMZairo Angelo Tirador
12/21/2020, 2:35 PMjames noord
01/08/2021, 4:18 PMjames noord
01/12/2021, 5:05 PMvoddan
02/01/2021, 10:01 PMNico
02/10/2021, 1:48 PMbjonnh
02/10/2021, 4:07 PMhttps://www.youtube.com/watch?v=2ILyN3W9fCI▾
Ksenia Shneyveys
02/12/2021, 5:59 PMNico
02/18/2021, 7:20 AMpdvrieze
03/02/2021, 10:51 AMnote8g2018
03/03/2021, 10:16 AMRajashekar
03/12/2021, 7:32 AMaltavir
04/28/2021, 7:24 AMhttps://youtu.be/wAQCs8-a6mg▾
Using inline function everywhere does not improve performance, but on the contrary, decreases it because JVM inlining is better than manual inlining. Also, using inline everywhere significantly bloats the bytecode because it creates a copy of the code for each call. So please, PLEASE, do not recommend using inlines for optimizations. And it definitely should not be ever used in large functions. Performance optimizations like that should not ever be used without need and without profiler measurements.In general inlines should not be used for optimizations without profiler measurements. My own measurements show that inlining large functions significantly decreases performance. So beginniers should stick to the functions in the standard library, which are already optimized by size and usage. Without additional considerations inline should be used only for reifications and non-local returns.
Nico
05/17/2021, 1:26 PMlibs/kotlin
but it still tells me, that kotlin.jvm.internal.Intrinsics
is not found. You can find the repo here:
https://github.com/emign/kotlinOfflineTest
The error I struggle with is:
Could not perform incremental compilation: Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(K2JVMCompiler.kt)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 2 more
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
Ksenia Shneyveys
05/25/2021, 3:13 PMaltavir
05/26/2021, 6:30 PMaltavir
05/26/2021, 6:32 PMfun whichColor(str: String) = if(str == "blue") Color.Blue else Color.Black
altavir
05/26/2021, 6:43 PMgzhenjin
07/22/2021, 3:54 PMKsenia Shneyveys
08/05/2021, 12:45 PMdocumentary movie▾
Jakob Löhnertz
08/21/2021, 11:38 AMhttps://youtu.be/65VKQ-qdo3A▾
Jakob Löhnertz
09/20/2021, 10:53 PMResult<T>
) of Kotlin!
For this one, I upgraded my production quality a lot (including the usage of JetBrains Mono font for code snippets 😉) and took the feedback that @altavir and others gave me to heart, to focus on brevity.
This episode is lot more to the point with an auxiliary appendix video available in which I am going into more detail with a hand-made example again.
Here's the new episode: https://youtu.be/-_ysLWhR-NE▾
Shalaga44
09/21/2021, 3:11 PMholgerbrandl
10/29/2021, 7:21 AMimplementation "com.github.holgerbrandl:kalasim:0.6.90"
. Is this possible, could you maybe help/support me with the setup?Thansha Sadacharam
11/11/2021, 3:10 PMbjonnh
12/03/2021, 5:14 PMKsenia Shneyveys
01/13/2022, 4:00 PMKsenia Shneyveys
01/13/2022, 4:00 PMaltavir
01/13/2022, 4:14 PM