Replies: 1 comment
-
Looks like I'm getting a lot of goodies from #3849 - I was able to remove |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋 just wanted to have a place where I can link issues/PRs that I'll set up as part of trying to upstream some of my changes for Playdate support.
Obviously, I don't expect any first-class support, as the platform is super niche and I don't even know if anyone besides me will use SN on it - but as we've discussed with @WojciechMazur offline, some of these may benefit other users of 32-bit and non-POSIX platforms.
I'll link any tickets I create in this post.
pthread
APIs inThreadUtil
#3877Remaining areas/missing APIs/problems (not covered by tickets)
System.scala
,unistd.c
(getcwd, getuid, getpwuid)kubukoz@1c941d0DEFAULT_MIN_HEAP_SIZE
(I probably don't need to set this anymore)fprintf
,stdout
,print
,fflush
,fopen
(immixHeap.c
,Stats.c
)shouldGrow: const(false)
- I think I'll need a way to ensure it never grows past the initial size (which is all the memory I have)WORD_SIZE
inCommonConstants.h
(I guess I need 4? it's const 8 right now)getMemorySize
inMemoryInfo.h
, I might be able to replace this with env varsmmap
/madvise
innativelib/src/main/resources/scala-native/gc/shared/MemoryMap.c
, somehow replaceable withmalloc
? (or I guess I can implementmmap
in terms ofmalloc
in my game's code, fine by me although I'm not a fan, also not sure about the constants and haven't tried this at all)os.name
(probably not super important?),arch
inplatform.c
clock_gettime
(I have access to a time API but it may not cut it)libunwind
/executeUncaughtExceptionHandler
(this one will probably take a while before I even begin)Some background
For the last couple of months (on and off), I've worked on bringing Scala to the Playdate console, and with the help of many talented individuals (like Wojciech!) I've managed to get a basic game working.
Some links for more:
Beta Was this translation helpful? Give feedback.
All reactions