|
|
|
|
|
by tagrun
4218 days ago
|
|
Can't say it's surprising. The von-Neumann architecture computers and their assembly languages are imperative.
Functional programming language structs are just unnatural. Being computationally universal, one can simulate one using the other. But to me, it feels like an unwanted abstraction layer. Analogy #1: if I were going to write a game for PC, I would directly write a game for PC, not a GBA ROM + GBA emulator for PC and make-believe that it's a PC game. Analogy #2: if I want to write a novel in Spanish, it will not be possible to achieve the quality of a text written in Spanish from the beginning, by say, writing it in Japanese and using a translator (no matter how much you may like Japanese). Some idioms and culture-dependent things will be lost in translation.
(Italian or Portuguese might be better, however) |
|
So, to your analogy #1. If such an emulator already existed and was in wide use, you would not be doing any harm to your system to target it.
To extend your analogy to the absurd, it doesn't make sense to write your program out symbolically in a programming language, because at the end of the day it is electrical values in a processor.