News for hackers. Stuff that matters.
Re:PowerPC Notebook Block Diagram by dawnbreez on Sunday November 12, 2017 @10:15AM (#15681116)
Unfortunately, the first question that popped into my head was not "awesome, a processor that won't spy on me" but "will it be x86 compatible?".

I know, it's heresy--you should only need open-source software, and as long as you can get a compiler running, open source software should work. However, the vast majority of users simply won't care, not if they have to give up their favorite software. "I can't use Photoshop? But I need it!"

If you want an open processor to take off, it'll need some kind of x86 compatibility.

Re:PowerPC Notebook Block Diagram by tom_mellior on Sunday November 12, 2017 @10:39AM (#15681184)
Wine+QEMU seems to be a reasonable way of executing many Windows programs on non-x86-64, non-Windows platforms. Alternatively, you could install a real Windows in a full-system emulator and run on that.

It's not like there are no options at all.

Re:PowerPC Notebook Block Diagram by stephenr on Sunday November 12, 2017 @01:14PM (#15681828)
As someone who ran x86 software (primarily Windows at the time) via software emulation (virtualpc) on production PowerPC hardware (Apple PowerMac) I have to disagree.

If you don't need x86 compatibility, PPC is fine, and for open source stuff it's probably reasonably well supported in major distros.

But pretending you can have anywhere close to reasonable performance of x86 binaries on even the newest PPC chips is hopeful at best and realistically a fanciful notion.

Re:PowerPC Notebook Block Diagram by tom_mellior on Sunday November 12, 2017 @02:31PM (#15682196)
You are comparing a system simulator to an instruction set simulator. Those are very different things.

When you run an application on QEMU on Linux, only the application code is simulated (by just-in-time compiling every basic block when it is first executed, then always just executing that compiled native code). System calls go to the Linux kernel on the host system, which runs as usual. Hardware is not virtualized. In contrast, Virtual PC (if I understand correctly) simulates the hardware of an entire PC, including graphics hardware, and runs all of Windows on top of that. That's a lot more expensive in terms of processing power.

That said, sure, you will probably lose some performance with QEMU. If the simulated code uses lots of fancy vector instructions that are not provided by the host hardware, you'll even lose a lot.

Re:PowerPC Notebook Block Diagram by my123 on Sunday November 12, 2017 @03:38PM (#15682519)
Emulating the MMU alone is quite a big issue...
Re:PowerPC Notebook Block Diagram by tom_mellior on Sunday November 12, 2017 @04:15PM (#15682662)
I don't think QEMU in instruction set emulation mode emulates the MMU. Does it? The host system has a perfectly fine MMU. QEMU translates assembly code to assembly code. That is all it does, as far as I know.
Re:PowerPC Notebook Block Diagram by pm215 on Sunday November 12, 2017 @05:53PM (#15683017)
Correct, currently usermode QEMU does not emulate the mmu, but just has a flat mapping of guestaddr = hostaddr + constant_base_addr. There has been some thought of adding mmu emulation to usermode, though, as the simple fixed mapping has problems (eg if the guest wants to map at some address where there's already something in the host address space, or for guest archs where the highbits of guest addresses are important like ia64).
Re:PowerPC Notebook Block Diagram by dawnbreez on Sunday November 12, 2017 @10:57AM (#15681237)
I wasn't as concerned about Windows-only programs as I was about non-open x86 programs in general. While there's definitely more closed Windows programs, there are Linux builds of closed-source tools which are only available for x86.

That having been said, I need to look into QEMU.

Re:PowerPC Notebook Block Diagram by bbanyc on Sunday November 12, 2017 @01:17PM (#15681845)
I wonder how true that still is. 10 years ago Wintel was the dominant software platform, now it's Chrome.

(Which in my view kinda sucks, I prefer native apps to web apps for many purposes, but the market has spoken.)

Re:PowerPC Notebook Block Diagram by coward83847 on Sunday November 12, 2017 @09:05PM (#15683729)
I'd say it isn't the market that has spoken. Software developers have spoken for the market. Local programs are usually what people want (remember the original iPhone and the backlash against not having applications). Today most business, program managers, and devs prefer to either have the compatibility, fast development time, or full control that a web based service provides. Many times it is a negative for the customers.
Re:PowerPC Notebook Block Diagram by putinontheritz on Sunday November 12, 2017 @10:20AM (#15681130)
This. I think it’s an interesting idea, however it will be relegated to hobbyists and enthusiasts, not the main stream.
Re:PowerPC Notebook Block Diagram by thesmok on Monday November 13, 2017 @07:01AM (#15685859)
The iPad and Raspberry Pi have demonstrated how much overrated x86 compatibility is.