Live data from Hacker News

Running Windows Software on ARM Devices with Wine

gist.github.com

41–43 of 43 posts

Re: Running Windows Software on ARM Devices with Wine

#41
post #16

Earlier quoted context omitted.

I can't tell if this is sarcasm or not, but just in case, there are dozens of editors that are way better than notepad++. Feature rich ones like Sublime Text, or VS Code, or simple ones like xed / gedit.

Sublime and VS Code are both huge in size and work rather slowly on older machines, despite being nothing else but text editors. I do support OP's statement - Notepad++ is the best text editor available(on windows).

Yep, I'm surprised how quickly we phase out perfectly healthy machines, just because the software quality keeps getting lower and lower. It's not good for the climate, among other things. I appreciate how zealous the Notepad++ developers are about performance and efficiency.

Re: Running Windows Software on ARM Devices with Wine

#42

Earlier quoted context omitted.

Isn't it possible to do a static translation of the machine code to ARM, and run native?

Quite possible. In the article I mention that a Lithuanian hacker by the name of notaz statically recompiled StarCraft, Diablo 1 & 2. But it's a huge effort, of course. Even better would be to (partially) decompile to, say, C for better performance.

It should be possible to automate translation of the machine code? I've disassembled pure binary with a tool before. How much more work to re-emit ARM? Especially with modern executable formats including debug info, identification of code and data segments etc. which was problematic with pure binary

Re: Running Windows Software on ARM Devices with Wine

#43

Earlier quoted context omitted.

Quite possible. In the article I mention that a Lithuanian hacker by the name of notaz statically recompiled StarCraft, Diablo 1 & 2. But it's a huge effort, of course. Even better would be to (partially) decompile to, say, C for better performance.

It should be possible to automate translation of the machine code? I've disassembled pure binary with a tool before. How much more work to re-emit ARM? Especially with modern executable formats including debug info, identification of code and data segments etc. which was problematic with pure binary

I'm not an expert on the topic, but the way from a x86/x64 disassembly to an ARM binary is very long. The identification of segments is not 100% accurate, manual corrections will be required, addresses have to updated etc. I'd say fully automatic translation is not really feasible, but I expect to be contradicted :)
Post reply on HN