João Costa

Results 90 comments of João Costa

It might be better to first get https://github.com/indoorvivants/sn-vcpkg working on windows.

Meanwhile, I remember another reason why I originally opened this issue: I have no idea how compile a Windows (not console) application with Scala Native. I think I need to...

Created https://github.com/scala-native/scala-native/issues/3295 with some findings

> but I'm not yet sure how to port the RenderLoop logic. After playing around with Tyrian, I think the `RenderLoop` should not be used here. Cats-effect/ZIO/Tyrian should be the...

Updated walk-through: https://github.com/makingthematrix/scalaonandroid/wiki

JavaFX seems to not be a good fit for Minart, However, Scala 2.13.7 improves the Android support. Maybe it's worth to take a look at this once #137 is merged....

This might also be an interesting option: https://wiki.libsdl.org/SDL2/README/android

I was trying to reproduce this and noticed that removing `_.withBuildTarget(BuildTarget.libraryDynamic)` seems to fix the issue, so I think this might be impacting the reachability in some way.

From what I can tell, the problems come from: 1. When compiling a library (not an application), the reachibility analysis checks for all possible entrypoints (https://github.com/scala-native/scala-native/blob/fb627ad14d6cb09e97bad23e391e39f146706d94/tools/src/main/scala/scala/scalanative/linker/Reach.scala#L59-L66) - I assume that...

For reference, here are the entrypoints captured by the reachability checks in the example library: ``` java.lang.Runtime$$Lambda$1 java.lang.Runtime$$Lambda$2 java.lang.Runtime$$Lambda$3 java.lang.SystemProperties$$$Lambda$1 java.lang.ref.WeakReferenceRegistry$$$Lambda$1 scala.scalanative.runtime.Continuations$$$Lambda$1 scala.scalanative.runtime.Continuations$$$Lambda$2 scala.scalanative.runtime.Continuations$$$Lambda$3 scala.scalanative.runtime.NativeThread$$$Lambda$1 ```