Live data from Hacker News

Mars MIPS Simulator in the Browser

mars.nfiles.top

1–5 of 5 posts

Re: Mars MIPS Simulator in the Browser

#5
post #4

It's quite laggy and my laptop isn't even old/weak.

Yes, you're right.

Unfortunately, running Java code in a browser requires emulating a Java virtual machine using JavaScript/WebAssembly (in this case, I used cheerpJ), which will run Mars4_5.jar. There are several layers that limit the performance of MARS MIPS in the browser.

Even so, it's possible to test ALL the functionalities of MARS in small projects.

NFILES