5 ms·
Seeing "Amiga" and "Java" together reminds me of Amiga Anywhere, a brilliant and completely misunderstood gaming/entertainment VM project twenty years ago: htt
by pavlov 7y ago
Seeing "Amiga" and "Java" together reminds me of Amiga Anywhere, a brilliant and completely misunderstood gaming/entertainment VM project twenty years ago:
https://arstechnica.com/gadgets/2018/03/a-history-of-the-amiga-part-12-red-vs-blue/ https://arstechnica.com/gadgets/2018/03/a-history-of-the-ami...
It didn't really have anything to do with the original Amiga. It was a rebranding of a strange high-performance VM designed by some very clever people in UK:
"Tao had created a product that was so innovative that few people understood what it actually was. Taos was an operating system that was coded in VP1, an advanced assembly language that used instructions for an imaginary, idealized RISC CPU. When Taos programs were loaded into memory, the system translated the VP1 opcodes into the equivalent ones for whatever CPU it happened to be running on. Taos could run on an x86, a MIPS, a PowerPC, or a transputer, and many more—or even different combinations running at the same time. Because VP1 instructions were more compact than most CPU’s native opcodes, Taos programs would often load and run faster than native ones, even when you included the time it took to do the translation. Taos was a little bit like magic."
Of course HN past has the details on this interesting bit of alternative software history:
https://news.ycombinator.com/item?id=9808159 https://news.ycombinator.com/item?id=9808159
- jacobush 7y agoLike Android.
- pjc50 7y agoOr Transmeta. Or even WebAssembly. It's an interesting trick but only useful if you demand a very high level of binary portability.
- pjmlp 7y agoOr Burroughs, Xerox PARC mainframes, IBM mainframes language environments, UCSD Pascal, Lilith, Ceres, Inferno, Windows Phone 7, Windows Store, MicroEJ, watchOS bitcode,.... I think that the use of such systems has only increased, thanks to mainstream adoption of IoT devices and cloud environments. OEMs can change their hardware at will while supporting existing applications, and cloud environments can be heterogeneous, without much issues moving applications around.
- zozbot234 7y ago> IBM mainframes language environments Not just mainframes either, AS/400 (for minicomputer-class machines, as opposed to mainframes) is the same way. A binary, hardware-independent VM is the officially-supported programming environment.
- pjmlp 7y agoThanks for the correction. On my mind AS/400 keeps being a mainframe, I keep forgetting it had another hardware class.
- armitron 7y agoYou might be interested in https://github.com/vygr/ChrysaLisp https://github.com/vygr/ChrysaLisp by one of the inventors of Taos. It's brilliant.
- somesortofsystm 7y agoIsn't it the case that the approach of using a VM to do games goes way back .. in the early 80's it was a common mechanism in games dev, and the tradition has endured such that VM's are often pushed hard, technology-horizon wise, by the game devs. One of the reasons Lua is all over the place, is its VM code is very well written and easy to integrate in a code-base. There is still room for VM's to solve a lot of the current platform-war problems.
- EvanAnderson 7y agoZork and the Z-Machine[1] is a great early example of use of a VM in a game. [1] https://en.wikipedia.org/wiki/Z-machine https://en.wikipedia.org/wiki/Z-machine
- Someone 7y ago”the approach of using a VM to do games goes way back .. in the early 80's it was a common mechanism in games dev” One reason that was done is that it made porting games between CPU architectures (OSes weren’t that much of an issue, as games ran on bare metal) easier. Zork had one in 1979 (https://en.wikipedia.org/wiki/Z-machine https://en.wikipedia.org/wiki/Z-machine). I think that ended when games became truly interactive, as opposed to command-based, because, when that happened, performance became a bottleneck. Another reason could have been is that it made programming easier, as 8-bit CPUs are so weak that running a virtual machine for the convenience of having such luxuries as 16-bit arithmetic sometimes made sense even then (e.g. https://en.wikipedia.org/wiki/SWEET16 https://en.wikipedia.org/wiki/SWEET16) And of course, there is Forth, the ultimate “give me a VM that is tailored to this specific program” language (every word you define can be seen as a new instruction for your virtual machine)
- brazzy 7y ago> I think that ended when games became truly interactive, as opposed to command-based, because, when that happened, performance became a bottleneck. Counterexample: the recently posted article series about Another World - a VM-based game released in 1991 that was very interactive and graphics-heavy. https://news.ycombinator.com/item?id=21937607 https://news.ycombinator.com/item?id=21937607
- bitwize 7y agoThis also reminds me of Inferno, which was marketed as an OS for next-gen game consoles and set-top boxes by Lucent back in the 90s. Unfortunately it didn't get very far.
- asveikau 7y agoNever used it, but my recollection was the most radical thing about Inferno was it was based on a high level, JIT, GC'd language runtime. I don't think Inferno people themselves said this, but I remember one of the things that people said in favor of memory safe JIT language operating systems was that the JIT would be able to optimize across multiple programs, or between kernel and user mode, since it didn't need to care about MMU based protections like a language with arbitrary pointers. And indeed you wouldn't need the high cost of the context switch. In light of Spectre and meltdown that now sounds like a bad idea to me.
- zozbot234 7y agoWho cares about Spectre and Meltdown in a game console or set top box? These are information disclosure vulnerabilities. What info are you going to "disclose" about the game I'm playing on a console? Especially if the game console is airgapped because I'm playing a single-player game from a cartridge or optical disk.
- asveikau 7y agoDo you think that they wrote the thing expressly for game console applications or perhaps they had a research idea and later found an application? Are we not talking about the same Inferno from Bell Labs? Anyway I think I was describing a broader topic than Inferno. Eg. There was the singularity project at Microsoft that people spoke similarly about. Maybe Midori too? The latter may have moved away from the jit idea, there is some writing online about it that I have not read.
- jt_snacks 7y ago>Who cares about Spectre and Meltdown in a game console or set top box? The business model of consoles is subsidized hardware, with the bulk of revenue coming from game licensing fees (per copy). These vulnerabilities would reduce the security of the consoles which would directly put that business model at risk (unlicensed games + piracy). >Especially if the game console is airgapped because I'm playing a single-player game from a cartridge or optical disk. Between 10% and 30% (depending on who you ask) exclusively play only online games. The number of mixed is harder to discern but significant. About 50 million people use xbox live, microsoft's paid online gaming service. Last year, over 80% of game sales were digital. The business and consumer landscape simply would not accept airgapping. These consoles are often used for other entertainment and health applications. Many of them have cameras attached to them (I know, I know). They are tied into peoples' cloud accounts. They are used for web browsing. They are used to watch porn. People deserve privacy, I think we can all agree. You, personally, may not be affected, but these are concerns that cannot be ignored, both by users and business.
- jlarcombe 7y agoTaos was a brief source of excitement on the Acorn platform, there was talk of using it for the never-finished Risc PC 2, although whether that was just marketing talk I'm unsure. I think there was a demo on the front of a magazine?
- opless 7y agoThere's an ISO for a Windows (95?) based SDK floating about. It possibly is the very same CD that you mention.