←back to thread

304 points Bogdanp | 2 comments | | HN request time: 0s | source
Show context
jackdoe ◴[] No.45243569[source]
nice!

i love how accessible riscv isa is, the docs are amazing, there are tons of examples, and tons of emulators, the uncompressed machine code is quite readable.

i am writing a book for my daughter and am also working on a small os with forth and timesharing https://punkx.org/projekt0/book/part1/os.html and i dont think i could've done it on x86, learning both forth and riscv assembly on the way, its super fun.

honestly if you ever wanted to make a toy os from scratch there is no better time to start than now (besides maybe 1980), get a cheap riscv like rp2350 and just upload the relevant sections of the docs to claude and it will help you if you get stuck.

replies(1): >>45247145 #
1. balder1991 ◴[] No.45247145[source]
I just checked the prices for my country and I’m surprised how cheap this is. I’m 90% sure I’m buying one just to play around with.
replies(1): >>45247211 #
2. jackdoe ◴[] No.45247211[source]
and the datasheet is amazing https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.p...

there is an issue that language models have seen enormous amounts of rp2040 code and docs, and it they get properly confused a lot, so you should just pdf print relevant pages and use them in-context.