wajic
sycamore
Our great sponsors
wajic | sycamore | |
---|---|---|
6 | 70 | |
181 | 2,665 | |
- | 2.7% | |
0.0 | 7.4 | |
about 2 years ago | 8 days ago | |
JavaScript | Rust | |
zlib License | MIT 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.
wajic
-
CoWasm: An alternative to Emscripten, based on Zig (demo: Python in the browser)
This is a slim alternative to Emscripten which focuses only on the C/C++ <=> JS interoperability part:
https://github.com/schellingb/wajic
-
From a WebAssembly Perspective
There's actually a super interesting project called wajic here:
https://github.com/schellingb/wajic
It's basically clang plus wasm-opt and some magic pixie dust which enables some of the most important features of Emscripten, but without the whole 'technology zoo' :)
- Zig and WASM
-
WebAssembly and C++
There's now an interesting alternative to Emscripten called WaJIC:
https://github.com/schellingb/wajic
Enables most of the "Emscripten magic" (like embedding Javascript code into C/C++ files), but in a more bare bones package (apart from clang it essentially just uses the wasm-opt tool from Binaryen for post-processing).
(to be clear, wajic has fewer out-of-the-box features than Emscripten, but it might be an alternative for very small projects which don't need all the compatibility shims which are coming with Emscripten, while still providing tools for calling between C/C++ and JS.
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
Since I haven't seen it mentioned in the comments yet, here's another interesting project in the general area of "WASM without Emscripten":
https://github.com/schellingb/wajic
This provides an alternative implementation of Emscripten's EM_JS() magic (embed Javascript snippets right in the C/C++ source code), but without the Emscripten SDK. It still needs some additional tools next to Clang, so it sits somewhere between "pure Clang" and "full Emscripten SDK".
-
Writing bindings to `dos-like` for Rust: some lessons learned
Alas, although there is WebAssembly support in the original dos-like, it is still not supported in the bindings for Rust. It would require a Rust toolchain to integrate with WAjic, which I am pretty much unfamiliar with. If you have any idea on how to achieve this, I would love to know.
sycamore
-
Building a Rust app with Perseus
Perseus is a fast frontend web development framework for Rust with built-in support for reactivity using Sycamore, server-side rendering, and much more. Sycamore is a frontend library that allows you to build interactive user interfaces with Rust. I’d say that Perseus is to Sycamore as Next.js is to React, so it’ll be helpful for you to have a fair understanding of Sycamore before jumping into using Perseus — although it’s not necessary to follow along in this article.
-
Announcing samba – a Rust full-stack assistant for ballroom dancers
Now, I considered whether to spend more time fixing everything that now failed in sycamore 0.9. But there are major changes ahead which would require yet another major refactoring, to the point where I am not sure whether it would not be more of a rewrite than a refactoring, given my previous experiences with sycamore.
-
Rust Tauri (inspired by Electron) 1.3: Getting started to build apps
Sycamore.
-
Want a web app to respond to local file changes. Is Tauri the solution here?
Sycamore, Yew, or Seed if you want a full-stack solution. (Or Leptos if you want something that's faster but less mature.)
-
Hey Rustaceans! Got a question? Ask here (16/2023)!
There are others, like Sycamore, similar story as Leptos but imo Leptos is (currently) more ergonomic.
-
Sycamore -a library for creating web apps in Rust and WebAssembly
Sycamore is a reactive library for creating web apps in Rust and WebAssembly. https://github.com/sycamore-rs/sycamore
-
Yew | What’s been your experience?
I tried my first project with yew as frontend. And my experience was after some time similar to the already mentioned ones: It is a little more to take on than I actually wanted. And some things were not straightforward to achieve. I switched to sycamore for the other projects now and I am much more satisfied (but this could also be since I have some more experience in the Rust ecosystem by now). Changing from yew to sycamore was pretty easy and I can achieve most of the tasks with less code.
-
Rust tech stack
If you want to do fullstack/SPA stuff, check out Sycamore, Seed, and Yew.
-
rust web dev??
If you want to do front-end SPA development, take a look at Yew, Seed, or Sycamore.
-
How Discord Stores Trillions of Messages
I have written a front-end (website) application in Rust that is used internally in production. I wouldn't recommend to use something like sycamore, leptos, dioxus, yew for you next puplic web-app now but i can absolutely see how this is used in the future as those libs mature.
What are some alternatives?
multi-memory - Multiple per-module memories for Wasm
yew - Rust / Wasm framework for creating reliable and efficient web applications
component-model - Repository for design and specification of the Component Model
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
cib - clang running in browser (wasm)
leptos - Build fast web applications with Rust.
clang-wasm - How to build webassembly files with nothing other than standard Clang/llvm.
perseus - A state-driven web development framework for Rust with full support for server-side rendering and static generation.
minimal-zig-wasm-canvas - A minimal example showing how HTML5's canvas, wasm memory and zig can interact.
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.