bootsharp
swift
bootsharp | swift | |
---|---|---|
7 | 5 | |
741 | 1,361 | |
0.7% | 0.4% | |
7.0 | 4.3 | |
3 months ago | 4 days ago | |
C# | C++ | |
MIT License | 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.
bootsharp
-
A Vision for WebAssembly Support in Swift
C# does pretty well as far as WASM support goes, unlike Go which is abysmal :)
https://bootsharp.com/guide/llvm / https://github.com/elringus/bootsharp
-
Show HN: Nue – Apps lighter than a React button
It's not that you can't; it's that you choose not to. There are end-to-end solutions for C#, for example, that are perfectly fine depending on your use case (not great for all use cases).
There are also libraries like Bootsharp[1] that are doing interesting things, IMO.
[0] https://google.github.io/styleguide/jsguide.html#jsdoc
[1] https://sharp.elringus.com/
-
How to await a Task without Monitor?
It sounds like you want some JS to interact with some WASM and you're using some kind of JS to C# library. Its tests have some C# async methods and they're called here, that's probably a good guide to how to get this to work.
- DotNetJS: Use C# in any JavaScript environment: browsers, Node.js, VS Code web extensions, etc.
- DotNetJS: Use .NET in any JavaScript environment
- Compile C# project into single-file UMD JavaScript library to be used in any environment: browsers, node.js or custom ones, like web extensions for VS Code
swift
-
Swift 6.2's WebAssembly Revolution: Redefining Platform Boundaries"
# Install the Swift SDK for WASI swift sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-6.2-RELEASE/swift-wasm-6.2-RELEASE-wasm32-unknown-wasi.artifactbundle.zip --checksum # Verify installation swift sdk list
-
A Vision for WebAssembly Support in Swift
> It would be a long time until Swift is even remotely ready for something like this and I don’t feel there is a burning need to have “yet another wasm platform”.
I mean, well, it actually does exist? It's been around for a long time and works pretty great, with multithreading, access to JS objects, etc.
https://swiftwasm.org/
- Run Swift in browsers – SwiftWasm compiles your Swift code to WebAssembly
-
Thoughts on Swift and Objective-C
The experience has really improved the last few months thanks to the Swift Server Work Group [3].
- Apple platforms have their own Foundation implementation and the open-source one is incomplete.
[1]: https://www.swift.org/source-code/
[2]: https://swiftwasm.org/
[3]: https://www.swift.org/blog/vscode-extension/
- Can you use swift for Web Development?
What are some alternatives?
Edge.js - Run .NET and Node.js code in-process on Windows, MacOS, and Linux
JavaScriptKit - Swift framework to interact with JavaScript through WebAssembly.
neon - Rust bindings for writing safe and fast native Node.js modules.
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
Vapor - 💧 A server-side Swift HTTP web framework.