3 ms·
The background story is a fun thought experiment and obviously it requires some suspension of disbelief... ...but in the best HN tradition, let me poke some ho
by TeMPOraL 10y ago
The background story is a fun thought experiment and obviously it requires some suspension of disbelief...
...but in the best HN tradition, let me poke some holes into it ;).
C-based technology we are all used to has some set of particular paradigms, one of which being that programs are "write-only". You code, compile and ship the binary. It wasn't the case with many pre-C technologies though, and it isn't the case now.
So, looking just at the software I have on my PC right now, I wonder what this potent computer virus would do to all the programs I wrote in Common Lisp - they all ship a native compiler within them, that's accessible in runtime. Moreover, it's often essential in runtime for the program to work.
So I guess, if that virus came and wiped all the dev tools, the C world would die, while we'd be looking for any compiled Lisp application and working to break into the REPL ;).
- khedoros1 10y agoIt strikes me that a native compiler, accessible at runtime, would fit the definition of "software development tool", so either the entire program, or the portion contains the compiler, would be deleted. Another challenging aspect is that just about every command shell can execute a scripting language, so they'd be included too. I mean, it's just a repl with easy access to the filesystem, right?
- deleted 10y ago[deleted]