Remix.run Logo
▲ Rohansi 11 hours ago

That's almost what WINE does which is, apparently, not an emulator. Small reimplementation of Windows userspace and translates DirectX to Vulkan/OpenGL. So if I do x86 -> ARM binary translation AOT and run that with WINE, is it an emulator?

▲armada651 3 hours ago | parent | next [-]

https://github.com/wine-mirror/wine/blob/master/loader/main....

According to WINE itself, WINE is an emulator.

Ultimately there's a spectrum between emulation and native code and where you draw the line is an arbitrary and subjective choice.

▲wren6991 6 hours ago | parent | prev [-]

If WINE is not an emulator then YAML ain't a markup language

▲knome 6 hours ago | parent | next [-]

you would expect wine to be translating the executable in some way if you considered it emulation, but wine loads and runs the binaries as they are. it provides a PE/COFF loader and linux-native replacements for windows apis. the machine code of the original executable is running directly on the processor.

▲taspeotis 3 hours ago | parent | prev [-]

Yelling At My Laptop

▲manwe150 3 hours ago | parent [-]

I asked Fable to write me a small CRUD app recently so I could keep tabs on my todo list and edit it. It chose to write the database as YAML files stored in git. When I asked why not use a database, it defended the choice by saying it would let me edit the files by hand whenever I wanted and sync them to where ever I wanted and get reliable git merges maintaining consistency, so I didn’t have to rely on remote database operations for that.

▲taspeotis 2 hours ago | parent [-]

Yelling At Your Application