threads
Tokamak
Our great sponsors
threads | Tokamak | |
---|---|---|
16 | 22 | |
668 | 2,446 | |
2.7% | 2.0% | |
2.0 | 0.0 | |
4 months ago | about 1 month ago | |
WebAssembly | Swift | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
threads
-
No installation required: how WebAssembly is changing scientific computing
Similarly for threads: https://github.com/webassembly/threads
-
WebAssembly: Adding atomics waits to the main thread is the right thing to do
Specifically I submitted this to draw attention to the latest comment in the thread: https://github.com/WebAssembly/threads/issues/177
It's a good deep dive into how a small, but well-intentioned, browser choice nearly a decade ago led to poor outcomes for the WebAssembly ecosystem.
-
WASI Support in Go
The answer is: it's complicated. Which is most of the time the answer in the WASI world.
For this case it's complicated because some runtime supports https://github.com/WebAssembly/threads which mostly contains things like the spec for atomic but not the actual "threads" specs and then some runtimes (i.e wasmtime) also supports https://github.com/WebAssembly/wasi-threads which is one version of the threads. But a new proposal came into play https://github.com/abrown/thread-spawn so ... it's complicated.
-
WASM is the future?
There’s a proposal for threads
- Bringing Git in the browser via Go and WebAssembly. Upload, create files, folders, branches, commits etc... On the fly in the browser
-
LibreOffice running natively in a browser via WebAssembly
WebAssembly is having/going to have threads
https://github.com/WebAssembly/threads
-
The State of WebAssembly â 2021 and 2022
It's disappointing to see the WebAssembly/threads proposal is still only in proposal state, despite existing since 2018. It being just a proposal stops languages like golang from actually implementing support for it, despite Chrome supporting it since v70.
-
Using WebAssembly threads from C, C++ and Rust
Ah, I should have clarified that I mean the assembly instructions for atomics, rather than the JavaScript API. I.e. the opcodes listed here: https://github.com/WebAssembly/threads/blob/master/proposals...
-
AMA: We are Akhi, Alexandra, Islam, and Dimitris from the DFINITY Execution team. Ask us anything about building the execution layer.
Another point to add here is that the current wasm specification does not support threads although there is a proposal to add one. So I imagine that till the wasm specification includes it, we will continue to have only single threaded canisters.
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
- Tokamak: SwiftUI-compatible framework for building browser apps with WebAssembly
- Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
-
Swift UIKit web frontend?
There is Tokamak but I don't know how usable it is just yet.
- Swift Achieved Dynamic Linking Where Rust Couldn't
-
I would like to get a job as a iOS developer. Should I begin by learning UIKit or SwiftUI first?
TokamakUI runs via SwiftUI on WASM for web. Apple just hired the creator of the framework.
-
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.
-
Beginner - is it complicated to make a web app from an app written with SwiftUI for iOS?
There is SwiftWasm that compiles swift into WebAssembly so you can run it in the browser, but swift can't directly manipulate the DOM so you'd still need JavaScript or something like TokamakUI so you can design the front-end portion of your app.
What are some alternatives?
WASI - WebAssembly System Interface
SwiftWebUI - SwiftUI with support for WebAssembly
webcontainer-core - Dev environments. In your web app.
Vapor - 💧 A server-side Swift HTTP web framework.
onload - OpenOnload high performance user-level network stack
Mongrel - Build declarative HTML in Swift.
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
The-SwiftUI-Tutorials - Swift, GO (Golang) , SwiftUI, UIKit Tutorials.📲💻🖥
function-references - Proposal for Typed Function References
tornadofx - Lightweight JavaFX Framework for Kotlin
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
jupyterlite - Wasm powered Jupyter running in the browser 💡