281 points · by jf · 4y ago · 103 comments
https://github.com/binji/binjgb
There's something so satisfying about a virtual machine that fits in a ~106K WASM file, that can play hundreds of classic games like Teris and Super Mario Bros (via ROM collections on Internet Archive). I don't usually play games, but this emulator is so cute and fun, I keep coming back to waste time on it.
Actually, PICO-8 was the last time I felt this kind of child-like joy about a computer.
I get a similar feeling from this Infinite Mac project.
https://github.com/mihaip/infinite-mac
It's so pleasing to see a running Macintosh in the browser. That interface feels like an old friend. The underlying VM, BasiliskII, is a little less than 1MB WASM file. Amazing!
From the entertaining article, I learned about "retrocomputing". Now I know, that's what I'm into, haha. I especially like it when it's virtualized - like a microcosmos.
Its a huge hobby with enormous amounts of cool projects. The one that most impresses me is https://misterfpga.org/ where the community has built FPGA implementations of almost all common game consoles and home computers from the 80s and early 90s.
Crazy stuff.
https://github.com/adriancable/8086tiny/blob/master/8086tiny...
Liquorix kernel: https://liquorix.net/ ... Just a well-tuned kernel build, really.
Kitty terminal: https://sw.kovidgoyal.net/kitty/ ... It took a while to make Kitty play nice with GNU Screen because the author has a hate-on for terminal multiplexers, but it was totally worth it.
Also, if your hardware it's fully supported under Linux-Libre, apply the Xanmod patches for that kernel. You'll get crazy speeds.
Do you have a link or some pointers to share?
What Moore giveth, Gates taketh away...
The overhead is similar to the one people face in third-world countries: you pay once for the government (taxes), then again for basic services (private education, private security, private health, private transportation), and you still end up in a worse situation than in a (high-trust) first-world country.
I tried using a Core 2 Duo laptop recently, but the simple fact that HTTPS is mandatory nowadays, and Core 2 doesn't have AES-NI, makes the laptop spin its fan much more than it should, even if I try to use an old Linux/Windows.
OSs today do a lot more than 20 years ago at about the same speed as 20 years ago.
Now, we can debate if all the extras are necessary, but that seems like a different debate than speed.
three things, I think:
1) people saying (and believing) that CPU, RAM, and disk are fast enough and cheap enough to be effectively infinite, and no longer worthy of concern. put another way: developers feeling that their target platforms are no longer constrained.
2) many software developers simply stopped caring about performance and began implementing all kinds of things extremely naively. new developers do this continually for many years early in their careers.
3) JavaScript. the places this language is used today, where it should never, ever be used. excruciatingly slow language. and JavaScript is EVERYWHERE, even on extremely constrained platforms, doing work, when almost any other language would have been a better choice.
It is, analytics hooks which require network round trips. Otherwise disagree and this is false memories and/or very superficial observation of "snappiness".
I know what you mean! Some websites make link clicks take a little longer. I'm not sure if it's due to tracking...
Edit: in some cases animations can be disabled, which does a bit to bring back the snappy feel, but there are probably additional reasons why the modern stuff might not be/feel as snappy.
The next time I would see something as snappy as the Amiga was an M1 Mac.
And to this day, it just keeps getting worse.
What is often slow are desktop applications build with total disregard for performance. Everything must be done using web stack common attitude does not help much either.
edit: ah even playing simple QuickTime movies do not work, I don't think editing will. Oh well.
WOW.. it's exactly as I remember it :)
Joke aside, that was a FUN walk down memory lane for me.
Any cool projects to bring an old quadra (68xxx) to life, or how about a Power PC?
I wanted to test out my website in Netscape, but it wouldn't connect...
Guess I'll have to learn WebAssembly if I want to write something fast like this.
Anyone know where I can get my hands on some warcraft that actually works?