Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
trj
10mo ago
This could be easily done. The emulator core supports memory mapped IO, but uvm32 only uses this to map an extra block of RAM from the host (for a framebuffer, or a separare memory heap). You can trap the writes here: https://git
2.
▲
by
trj
10mo ago
libriscv looks amazing but its's much larger. It says "Less than 40kB total memory usage". My first version (unpublished) of uvm32 was called uvm80 and emulated a Zilog Z80 CPU. My aim is to have a safe, embeddable sandbox fo
3.
▲
by
trj
10mo ago
Thanks for the link, Wasefire looks interesting. I suspect that their design goals are very different to mine. https://github.com/ringtailsoftware/uvm32?tab=readme-ov-file...
4.
▲
by
trj
10mo ago
"Just add rats" https://github.com/ringtailsoftware/uvm32/tree/main/apps/zig...
5.
▲
Show HN: Tiny VM sandbox in C with apps in Rust, C and Zig
(github.com)
196 points
by
trj
10mo ago
|
12 comments
6.
▲
by
trj
10mo ago
I'm working on an embeddable mini VM (RISC-V rather than WASM) and am considering this. In my model, there's something akin to a hardware watchdog where the VM is considered hung if it executes too many instructions without callin
7.
▲
Show HN: Zig Obfusgator
(github.com)
6 points
by
trj
2y ago
|
0 comments
8.
▲
A short primer on the SSH protocol
(github.com)
5 points
by
trj
2y ago
|
1 comments
9.
▲
by
trj
2y ago
I use SSH every day. I login to remote machines, push code changes to github and scp files. Like many programmers, I know how to use SSH to get things done but had never looked deeper to understand the protocol itself. I recently wrote a mi
10.
▲
Simple Zig+C for WASM audio and graphics (with obligatory doom-in-browser demo)
(github.com)
3 points
by
trj
4y ago
|
0 comments
11.
▲
RISC-V bare metal in Zig
(ringtailsoftware.co.uk)
6 points
by
trj
4y ago
|
1 comments
12.
▲
by
trj
4y ago
Continuing from part1 where we ported an RV32 emulator from C to Zig ( https://www.ringtailsoftware.co.uk/zig-rv32/ ), we can now use Zig to cross-compile a binary to run in it
13.
▲
Porting mini-rv32ima (RISC-V emulator) from C to Zig
(ringtailsoftware.co.uk)
5 points
by
trj
4y ago
|
0 comments
14.
▲
MQTT vs CoAP, which protocol is best for Internet of Things devices?
(docs.google.com)
2 points
by
trj
13y ago
|
0 comments