frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Easy RISC-V

https://dramforever.github.io/easyriscv/
97•todsacerdoti•2h ago

Comments

simonebrunozzi•1h ago
Great guide! I think the first "My first RISC-V assembly program" emulator plane should be right at the beginning of the guide. Otherwise, casual readers might think that this is a text-only introduction (despite the word "interactive" in the title).

Will spend more time on it in the coming days. I am quite interested in RISC-V and I think that it might have a bright future ahead.

If any AI expert is reading this now, please use Replit or Lovable or something like that to re-create "Core War" [0] with RISC-V assembly. It would be GREAT.

[0]: https://en.wikipedia.org/wiki/Core_War

aarroyoc•1h ago
Having learned assembly with the book "Computer Organization And Design" from Patterson and Hennessy, it really shows how much RISC-V takes from MIPS. After all they share some of the people involved in both ISAs and they have learned from the MIPS mistakes (no delay slots!). Basically if you come from a MIPS the assembly is very very similar, as it was my case.

Now that book is also available with a RISC-V edition, which has a very interesting chapter comparing all different RISC ISAs and what they do differently (SH, Alpha, SPARC, PA-RISC, POWER, ARM, ...),...

However I've been exploring AArch64 for some time and I think it has some very interesting ideas too. Maybe not as clean as RISC-V but with very pragmatic design and some choices that make me question if RISC-V was too conservative in its design.

tonetegeatinst•1h ago
Do you have a link to the risc-v version? I have the MIPS version and want to pick up the risc-v version.
6SixTy•9m ago
https://www.amazon.com/Computer-Organization-Design-RISC-V-A...
fidotron•58m ago
> However I've been exploring AArch64 for some time and I think it has some very interesting ideas too. Maybe not as clean as RISC-V but with very pragmatic design and some choices that make me question if RISC-V was too conservative in its design.

Not enough people reflect on this, or the fact that it's remarkably hazy where exactly AArch64 came from and what guided the design of it.

zozbot234•36m ago
AArch64 came from AArch32. That's why it keeps things like condition codes, which are a big mistake for large out-of-order implementations. RISC-V sensibly avoid this by having condition-and-branch instructions instead. Otherwise, RISC-V is conservative because it tries to avoid possibly encumbered techniques. But other than that it's remarkably simple and elegant.
VonTum•39m ago
For the uninitiated in AArch64, are there specific parts of it you're referring to here? Mostly what I find is that it lets you stitch common instruction combinations together, like shift + add and fancier adressing. Since the whole point of RISC-V was a RISC instruction set, these things are superfluous.
zozbot234•25m ago
RISC-V has shift+add instructions as part of the Zba extension. Zba is part of B, so it's included in many recent RISC-V profiles.
doublerabbit•21m ago
Within the basic "123" ASM demo, I get that x10 - Becomes 0x00000123 as we are taking the integer of x0 and applying 123 to end of it but why is the sp (x2) register at 0x40100000?

What is that sp? Is it important? Why isn't that at 0x000000? Why isn't that explained? That's when I get lost.

cbm-vic-20•2m ago
I think there's an error in the Position Independence section:

    start:
        auipc a0, 3
        addi a0, a0, 4
The text says that this should result in 0x3004; was this example intended to be

    start:
        lui a0, 3
        addi a0, a0, 4

authentik Release 2025.10

https://docs.goauthentik.io/releases/2025.10/
2•sdko•3m ago•0 comments

Qualcomm Enters the AI Chip Race

https://deadstack.net/cluster/qualcomm-launches-ai-chips-to-rival-nvidia-and-amd
1•dreadsword•4m ago•1 comments

Daniel Kahneman, Israeli-American, died last year by assisted suicide

https://www.jpost.com/breaking-news/article-846140
1•paulpauper•4m ago•0 comments

Celebrating the 75th Anniversary of the Turing Test – 2 Oct 2025 [video]

https://www.youtube.com/watch?v=w6LrZu5ku_o
1•justin66•9m ago•0 comments

Boosting work engagement through a simple smartphone diary

https://phys.org/news/2025-10-boosting-engagement-simple-smartphone-diary.html
1•PaulHoule•10m ago•0 comments

Laion releasing effort to create the largest AI in Music eval

https://twitter.com/laion_ai/status/1982406814919688519
2•sleeping4cat•10m ago•0 comments

Coinbase: Migrating from EC2 → EKS

https://www.coinbase.com/blog/From-EC2-to-EKS-Inside-Coinbases-10x-Compute-Modernization
1•rwitoff•13m ago•0 comments

Nodesmith: Automated Blockchain Node Upgrades

https://www.coinbase.com/blog/NodeSmith-AI-Driven-Automation-for-Blockchain-Node-Upgrades
1•rwitoff•13m ago•0 comments

Microsoft's new Xbox: console library, Windows OS, no multiplayer paywall

https://www.windowscentral.com/gaming/xbox/microsofts-ambitious-new-xbox-your-entire-console-libr...
1•aspenmayer•16m ago•1 comments

Every Company is becoming a Software

https://www.confluent.io/blog/every-company-is-becoming-software/
1•dzonga•16m ago•0 comments

Is AI creating new revenue streams–or just taking share?

https://robonomics.substack.com/p/is-ai-creating-new-revenue-streamsor
1•mfiguiere•23m ago•0 comments

Real Estate Is Entering Its AI Slop Era

https://www.wired.com/story/real-estate-is-entering-its-ai-slop-era/
2•jnord•24m ago•0 comments

Psi+ 1.5.2127.0 Installer Has Been Released – Qt Jabber/XMPP Omemo/OTR E2EE

https://sourceforge.net/projects/psiplus/files/Windows/Personal-Builds/KukuRuzo/
1•neustradamus•25m ago•0 comments

Trump Says a Recent MRI Scan Was 'Perfect,' and He'd 'Love' a Third Term

https://www.nytimes.com/2025/10/27/us/politics/trump-mri-third-term.html
2•whack•27m ago•0 comments

FDD – Diskettes

https://retrocmp.de/fdd/diskette/diskette.htm
2•susam•29m ago•0 comments

Surface-Mount Soldering How to (2023)

https://www.nutsvolts.com/magazine/article/how_to_surface_mount_soldering
2•stacktrust•31m ago•0 comments

Better Search Suggestions in Firefox

https://blog.mozilla.org/en/firefox/better-search-suggestions/
2•pentagrama•32m ago•0 comments

Blue Prince (1989)

https://novalis.org/blog/2025-10-27-blue-prince-1989.html
1•luu•32m ago•0 comments

Robots – Comprehensive catalog of 115 humanoid and quadruped robots

https://www.awesomerobots.xyz
2•bobjiang•35m ago•1 comments

Are these real CVEs? VulDB entries for dnsmasq rely on replacing config files

https://seclists.org/oss-sec/2025/q4/79
2•JawsofDeath•36m ago•0 comments

The gum disease, diabetes connection

https://news.harvard.edu/gazette/story/2025/10/the-gum-disease-diabetes-connection/
1•gnabgib•38m ago•0 comments

Linux VM Without VM Software – User Mode Linux

https://popovicu.com/posts/linux-vm-without-vm-software-user-mode/
2•arunc•40m ago•0 comments

Biology of Romantic Love

https://en.wikipedia.org/wiki/Biology_of_romantic_love
1•rzk•41m ago•0 comments

Mr. Markov's Merry-Go-Round

https://birbstreet.substack.com/p/mr-markovs-merry-go-round
1•achristmascarl•43m ago•0 comments

From Control to Resonance: Why I Let an AI Decode My Voice

https://substack.com/inbox/post/177015920
1•breadislove•44m ago•0 comments

OpenAI says over a million people talk to ChatGPT about suicide weekly

https://techcrunch.com/2025/10/27/openai-says-over-a-million-people-talk-to-chatgpt-about-suicide...
7•jnord•45m ago•0 comments

TypeAgent: Microsoft's Open Source Personal Agent Architecture

https://github.com/microsoft/TypeAgent
2•bakigul•47m ago•0 comments

The seven phases of the Internet: A map to where the Web goes next

https://spectrum.ieee.org/history-of-internet-7-phases
2•jnord•48m ago•0 comments

Building for the future

https://icy.leaflet.pub/3m47cll72hs25
1•icy•49m ago•0 comments

Brain regions controlling movement and sensory input stay "on" during non-REM

https://www.massgeneralbrigham.org/en/about/newsroom/press-releases/research-shows-coordinated-sh...
2•gmays•51m ago•0 comments