swift-evolution
KorGE
Our great sponsors
swift-evolution | KorGE | |
---|---|---|
124 | 29 | |
15,003 | 2,296 | |
0.8% | 3.0% | |
9.7 | 9.6 | |
4 days ago | 6 days ago | |
Markdown | Kotlin | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-evolution
-
Byte-Sized Swift: Building Tiny Games for the Playdate
[A Vision for Embedded Swift](https://github.com/apple/swift-evolution/blob/main/visions/e...) has the details on this new build mode and is quite interesting.
> Effectively, there will be two bottom layers of Swift, and the lower one, “non-allocating” Embedded Swift, will necessarily be a more restricted compilation mode (e.g. classes will be disallowed as they fundamentally require heap allocations) and likely to be used only in very specialized use cases. “Allocating” Embedded Swift should allow classes and other language facilities that rely on the heap (e.g. indirect enums).
Also, this seems to maybe hint at the Swift runtime eventually being reimplemented in non-allocating Embedded Swift rather than the C++ (?) that it uses now:
> The Swift runtime APIs will be provided as an implementation that’s optimized for small codesize and will be available as a static library in the toolchain for common CPU architectures. Interestingly, it’s possible to write that implementation in “non-allocating” Baremetal Swift.
-
Borrow Checking Without Lifetimes
I may be out of my depth here as I've only casually used Rust, but this seems similar to Swift's proposed lifetime dependencies[1]. They're not in the type system formally so maybe they're closer to poloneius work
[1]: https://github.com/apple/swift-evolution/blob/3055becc53a3c3...
-
Functional Ownership Through Fractional Uniqueness
Swift recently adopted a region-based approach for safe concurrency that builds on Milano et al’s ideas: https://github.com/apple/swift-evolution/blob/main/proposals...
- Swift-evolution/proposals/0373-vars-without-limits-in-result-builders.md
- The Swift proposal that removed the ++ and –- operators (2017)
-
Crafting Self-Evident Code with D
No, it's not. Refcounting CAN be a garbage collection algorithm, but in Swift it's deterministic and done at compile time. Not to mention recently added support for non-copyable types that enforces unique ownership: https://github.com/apple/swift-evolution/blob/main/proposals...
- Statically link Swift runtime libraries by default on supported platforms
- (5.9) What is the point of a SerialExecutor that can silently re-order jobs?
-
Mac shipments grow 10%, as all major PC brands see downturns.
You can stackallocate buffers with unsafe Swift but it's not exactly fun to use. https://github.com/apple/swift-evolution/blob/main/proposals/0322-temporary-buffers.md
-
Can someone explain how Task really works in terms of threads (I couldnt ask all the questions with the swift team today)?
If the docs do not suffice, read the concurrency proposals of Swift Evolution. The authors describe the semantics in a very detailed way there.
KorGE
- KorGE early dev version published with WASM (WebAssembly) support! Along KorIO, KorIM, KorAU, KorTE, korinject, and KorGW
-
Show HN: Tiny – A 2D Game Engine in Kotlin Working with Lua
Lua is easy to learn, dynamically typed and doesn't need to be compiled: it's perfect to get instant reload and it's perfect for small projects.
If you want to create games using Kotlin, you can try my 3D Game Engine: minigdx (https://github.com/minigdx/minigdx).
Or other game engine:
- https://littlekt.com/ (LittleKt (Little Kotlin) is a multiplatform 2D game framework written in Kotlin)
- https://korge.org/ (Korge - Modern Multiplatform Game Engine for Kotlin.)
- https://libgdx.com/ (LibGDX, it's for Java but you can use Kotlin, if you don't want to target the web platform)
-
🧸 Tiny : my Kotlin Multiplatform 2D Game engine
- https://korge.org/ (Korge - Modern Multiplatform Game Engine for Kotlin.) - https://github.com/minigdx/minigdx (Minigdx - Minimalist Game Framework using Kotlin Multiplatform / I created it before creating Tiny) - https://libgdx.com/ (LibGDX, it's for Java but you can use Kotlin, if you don't want to target the web platform)
- Kotlin Multiplatform in Intellij, "hot reloading"
- `kds`, `kmem`, `klock`, `krypto`, `klogger`, `kbignum` published to WASM target in 4.0.1
-
KorGE 4.0 released (along kproject)! 🎊
The new version of this Kotlin Multiplatform Game Engine https://korge.org/ (JS, JVM (Windows/Linux/Mac), Android, K/N(Windows, Linux, Mac, iOS)) along the korlibs (kds, kmem, klock, krypto, korma, korio, korim, korau, korgw, korge, korte) has been released.
- What are some good Kotlin libraries used for drawing/presenting images on a screen?
-
Introducing Kotlin/Wasm
there is actually a really nice library that might be what you're looking for: https://korge.org/
-
I am looking to try game development with LibKTX (and LibGDX). Do you know how I can get helpful documentation for the classes, methods, etc?
Have you seen KorGE?
- Curso Kotlin | #17. Proyecto: The Hero Legacy
What are some alternatives?
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
ktx - Kotlin extensions for the libGDX game framework
foundationdb - FoundationDB - the open source, distributed, transactional key-value store
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
kotlinx-datetime - KotlinX multiplatform date/time library
Zircon - Zircon is an extensible and user-friendly, multiplatform tile engine.
okio - A modern I/O library for Android, Java, and Kotlin Multiplatform.
littlekt - A multiplatform 2D game framework written in Kotlin. Build your own game engine on top.
PeopleInSpace - Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, Compose for Web and Kotlin/JS + React clients along with Ktor backend.
thelema-engine - Thelema - 3D graphics engine, written in Kotlin. Based on sources of libGDX.
swift-algorithms - Commonly used sequence and collection algorithms for Swift
AdventKT - A Kotlin-based DSL for text adventures, with a partial replica of the classic Colossal Cave as an example.