wasm-micro-runtime
zephyr
wasm-micro-runtime | zephyr | |
---|---|---|
23 | 62 | |
5,291 | 11,893 | |
2.0% | 3.3% | |
9.6 | 10.0 | |
6 days ago | 6 days ago | |
C | C | |
Apache License 2.0 | 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.
wasm-micro-runtime
- A 10x Faster TypeScript
-
Hello world from a WASM module in a static binary
Finally, I landed on Bytecode Alliance's WebAssembly Micro Runtime (WAMR) wamrc compiler.
-
I Wrote a WebAssembly VM in C
The person I replied to just said it is 266MB because it includes a compiler, and that obviously isn't true.
https://github.com/bytecodealliance/wasm-micro-runtime
This says 4000 lines
https://github.com/explodingcamera/tinywasm
What are we talking about here? There is obviously no reason a wasm jit has to be 266 MB
-
Lua Is So Underrated
To be able to embed WASM-compiled languages for embedding you first need a small WASM runtime you can depend on (and things like ref types, GC etc which have been standardized only in the last couple of years).
That didn't exist until recently, but now you can use https://github.com/bytecodealliance/wasm-micro-runtime/blob/...
I am not aware of anyone using this yet, but I hope to see that become common in the next few years.
-
Wasm2Mpy: Compiling WASM to MicroPython so it can run in Raspberry
What would be the recommendation to run on ESP32?
https://github.com/wasm3/wasm3? https://github.com/espressif/esp-wasmachine ? https://github.com/bytecodealliance/wasm-micro-runtime/tree/... ? https://github.com/TOPLLab/WARDuino ?
-
Show HN: Handwriter.ttf – Handwriting Synthesis with Harfbuzz WASM
Interesting artifact of time it would be. Harfbuzz uses https://github.com/bytecodealliance/wasm-micro-runtime to execute wasm, so when compiled it would be wasm runtime running under another wasm runtime.
-
Cosmopolitan v3.5.0
We added Cosmo platform support to WAMR[0], to enable our Hermit[1] compiler and runtime.
[0]: https://github.com/bytecodealliance/wasm-micro-runtime/tree/...
[1]: https://github.com/dylibso/hermit
-
Build your own WebAssembly Compiler
Here is what you are looking for: https://github.com/bytecodealliance/wasm-micro-runtime
-
Val, a high-level systems programming language
No longer does Wasm/WASI need JS host! There are many spec-compliant runtimes built for environments from tiny embedded systems up to beefy arm/x86 racks:
- https://github.com/bytecodealliance/wasm-micro-runtime
- https://github.com/bytecodealliance/wasmtime
- https://github.com/wasmerio/wasmer
- https://github.com/tetratelabs/wazero
- https://github.com/extism/extism (disclaimer, my company's project - makes wasm easily embeddable into 16+ programming languages!)
-
Blog Post: Reasonable Bootstrap
The WASM core 1.1 infrastructure is already available in a very strict defined more or less guarantied compatible form on nearly any final target. Even on very small devices for embedded computing (WAMR takes less then 85kB and supports even trusted computing etc.) and in contexts, where usually no other low level development tools are available (for example within the context of Webbrowsers, sandboxed execution etc.)
zephyr
-
What Makes Code Hard to Read: Visual Patterns of Complexity (2023)
> I meant the goal of your function needs to be grasped within a reasonable amount of time. This works for every codebase.
It really doesn't though. Here's a function of mine. It's maybe 40 lines of logic, so medium-scale. It's part of an intrusive red/black tree implementation for Zephyr. I'm fairly proud of how it turned out, and think that this code is awfully readable given its constraints.
No human being is going to understand fix_extra_red() without having already read and understood the rest of the file, and coming to it with an understanding of the underlying algorithm. Certainly I can't. I can't even get started on maintaining this code that I originally wrote within a five minute time frame, it's an hour at least every time, just to remind myself how it works:
https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/u...
Now maybe this is "bad code", and "good code" could exist for this problem that still meets your requirements. But... if so that's an awfully celestial definition if it's so hard to find.
-
A Web based Broadcast Assistant
As mentioned in an earlier post on building a broadcast audio source, the Zephyr RTOS contains some awesome Bluetooth LE Audio related samples. It also contains a Bluetooth LE Audio stack with great API support available to build a functioning broadcast assistant.
-
A simple Broadcast Audio Source
The Zephyr RTOS contains some great Bluetooth LE Audio related samples. One of them is the Basic Audio Profile (BAP) Broadcast Source sample.
-
Moving to a RTOS on the RP2040
the pi pico is 100% supported in Zephyr. https://github.com/zephyrproject-rtos/zephyr/tree/main/board... Did the author not check the docs? https://docs.zephyrproject.org/latest/boards/raspberrypi/rpi...
-
Broadcast Audio URI
In the Zephyr repo, there is a Broadcast Audio Source sample that was used as a starting point.
-
Ask HN: Anyone Waiting on BT Auracast?
Hey folks. Anyone out there waiting for BT Auracast? It was announced June 2022, and immediately struck me as must have.
I lost my earbuds, but it seems ridiculous to get a replacement without Auracast, seems like surely if I'm going to make a decent sized purchase like that it needs to support group playing. I want to tune into the radios of other people on the metro or on the bus, want to be able to watch a movie on the plane with someone.
Auracast was announced in June 2022. Anyone else out there struggling with expectations here? I'm really hoping the product announcement season that's right around the corner had a good number of Auracast announcements.
Side note, a ton of it is over my head but it's been so so fun tuning in every once and again to see how Zephyr's Bluetooth Audio work is going. Just wild now much has gone into this! https://github.com/zephyrproject-rtos/zephyr/commits/main/subsys/bluetooth/audio
-
VisionFive 2 ROM addresses for Zephyr RTOS
I am working on adding support for VisionFive 2 in Zephyr RTOS. I have created a device tree by referencing the starfive linux, patches of hifive_unmatched FU740 SoC and patches of BeagleV Starlight.
-
Adding support for visionfive2 in zephyr rtos
We are unsure on how to proceed further with this error. We have opened a github discussion regarding the same issue.
- Zephyr (small footprint realtime OS) supported boards
-
Learning to write device drivers using C/C++ in Zephyr OS
Then there are samples. Look through it for anything useful. RC522 uses SPI, so getting that to work would be a good first step.
What are some alternatives?
raylib - A simple and easy-to-use library to enjoy videogames programming
nuttx - Apache NuttX is a mature, real-time embedded operating system (RTOS)
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
FreeRTOS-Kernel - FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
q3vm - Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input
RIOT - RIOT - The friendly OS for IoT