Tokamak
kotlin-result
Our great sponsors
Tokamak | kotlin-result | |
---|---|---|
22 | 33 | |
2,412 | 920 | |
1.4% | - | |
0.0 | 8.9 | |
5 days ago | 12 days ago | |
Swift | Kotlin | |
Apache License 2.0 | ISC License |
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.
Tokamak
-
Writing Gnome Apps with Swift
https://github.com/TokamakUI/Tokamak
I’m also working (slowly) on native Flutter channels:
https://github.com/PADL/FlutterSwift
But this is really targeted at embedded use cases.
- Show HN: Tokamak – A Dependency Injection-Centric Server-Side Framework for Zig
- Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
- Swift Achieved Dynamic Linking Where Rust Couldn't
-
Apple overtakes Android to pass 50% share of smartphones used in US; dominates global premium sales
You can even make web apps by creating web components in swift with Tokamak.
-
JavaScriptKit help
I am playing around with Tokamak just for a bit of fun and learning, and it's been pretty solid so far! Though I want to branch out and play with some dynamic data from a random API, instead of just using mocked/pre-populated data.
-
Can you create applications for Ubuntu using Swift?
Yep, for imperative UI programming, there’s SwiftGTK which supports GTK 3 & 4 through gobject introspection, and for a more declarative paradigm, Tokamak has a GTK renderer, though it’s not as fully featured as SwiftGTK yet.
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
-
Is "import Foundation" always required in Swift code?
FWIW, there are people working on SwiftUI ports to other platforms, including on Linux backed by GTK
-
LibreOffice running natively in a browser via WebAssembly
I’ve been seriously impressed with Tokamak for Swift. Is this what you mean for browser native GUI?
kotlin-result
-
Result Class with Generic Type for both Success and Failure States
This is a great result lib: https://github.com/michaelbull/kotlin-result
-
Is runCatching in use in any of your projects ? My team is abusing it
Lastly I do not like kotlin's Result and we use the kotlin-result library which is more expressive and not tied to Throwable (similar to Arrow's Either).
-
Struggling with software robustness with Kotlin
In my own code, I started to use explicit error handling. I'm currently experimenting with Result (from https://github.com/michaelbull/kotlin-result) and Raise (from https://arrow-kt.io/).
-
Programming with Result
This is a better impl.
- It seems like I'm forced to make this choice at least once a day
-
Kotlin Nitpicks: Language and Standard Library
kotlin-result
-
Why no one recommends the use of the standard library's Result class but a custom sealed class approach?
Many people were not satisfied with basic sealed classes or Kotlin's Result class, and opted to either write their own implementation, use an existing one (like https://github.com/michaelbull/kotlin-result), or use Arrow.
-
Getting Started With Kotlin Multiplatform Mobile
Kotlin Result a very good monad library.
-
resukt: a `Result<T, F>` type, implemented in a similar way to the `Result<T>` in the standard library
Have you seen https://github.com/michaelbull/kotlin-result?
What are some alternatives?
result4k
SwiftWebUI - SwiftUI with support for WebAssembly
kotlin-monads - Monads for Kotlin
Result - The modelling for success/failure of operations in Kotlin and KMM (Kotlin Multiplatform Mobile)
Arrow Meta - Functional companion to Kotlin's Compiler
Komprehensions - Do comprehensions for Kotlin and 3rd party libraries [STABLE]
Kategory - Λrrow - Functional companion to Kotlin's Standard Library
redux-kotlin - Predictable state container for Kotlin apps
Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.
Snail-Kotlin - An observables framework for Kotlin
RxKotlin - RxJava bindings for Kotlin
reactor-core - Non-Blocking Reactive Foundation for the JVM