←back to thread

221 points benbridle | 5 comments | | HN request time: 0.639s | source

Hey everyone, this is my latest project.

Bedrock is a lightweight program runtime: programs assemble down to a few kilobytes of bytecode that can run on any computer, console, or handheld. The runtime is tiny, it can be implemented from scratch in a few hours, and the I/O devices for accessing the keyboard, screen, networking, etc. can be added on as needed.

I designed Bedrock to make it easier to maintain programs as a solo developer. It's deeply inspired by Uxn and PICO-8, but it makes significant departures from Uxn to provide more capabilities to programs and to be easier to implement.

Let me know if you try it out or have any questions.

1. ninetyninenine ◴[] No.44573251[source]
Someone should make this for highly parallel architectures that runs over GPUs.
replies(2): >>44573358 #>>44578854 #
2. freeone3000 ◴[] No.44573358[source]
Lacks power. Existing solutions are SPIR-V and PTX.
replies(1): >>44573808 #
3. ninetyninenine ◴[] No.44573808[source]
I know. I mean something that's simple and has this old school flavor. Like say if GPUs were the standard in the 80s.
4. benbridle ◴[] No.44578854[source]
This would be fascinating to see, I have no idea how you'd even start.

There was a video I saw a couple of years back that was showcasing a cellular programming model, where each cell in a two dimensional grid performed an operation on values received from its neighbours. Values would move into one side of a cell and out the other every tick, something like Orca (by 100 rabbits), so the whole thing could be parallelised on the cell level very easily.

replies(1): >>44587302 #
5. ninetyninenine ◴[] No.44587302[source]
You need a really simple set of assembly instructions for a vm that is based on gpu architecture.

Then make all the old school IO apis and rendering engine around it similar to pico 8 or bedrock.

The UI is a bit Similar to shader toy I guess.