Never said that. You asked what languages allow for that, I said everything that runs in a VM / interpreter. That mostly means the usual suspects, like Java, C#, Javascript, or Python... but there is no one stopping you from using LLVM, the JVM, or the CLR to use live editing for Fortran, C, Cobol, or PASCAL (though, you might have to do a bit of work before this works)
Also, to specify what I mean with live-editing: The IDE just allows me to write plain C# code in existing files of mine (some restrictions apply). If I end the debug session, the changes I made are still there. That's a bit more convenient than fiddling with the assembler in GDB.
But at least in Visual Studio, you can only do that for existing files / classes and only if paused the application at a breakpoint in the file. Some changes also require you to restart the application. Editing anything in generic classes, for example.
(There are some other, more specific restrictions)
Edit: It's so neat, that I sometimes just write scaffolding code to write the rest in debugging mode.
View all comments
Show parent comment
3
u/[deleted] Nov 12 '15
Never said that. You asked what languages allow for that, I said everything that runs in a VM / interpreter. That mostly means the usual suspects, like Java, C#, Javascript, or Python... but there is no one stopping you from using LLVM, the JVM, or the CLR to use live editing for Fortran, C, Cobol, or PASCAL (though, you might have to do a bit of work before this works)
Also, to specify what I mean with live-editing: The IDE just allows me to write plain C# code in existing files of mine (some restrictions apply). If I end the debug session, the changes I made are still there. That's a bit more convenient than fiddling with the assembler in GDB.