Demo in CIL?
category: general [glöplog]
Has anyone ever coded a demo in CIL?
All I've found so far is https://www.pouet.net/topic.php?which=11383&page=3#c558972.
All I've found so far is https://www.pouet.net/topic.php?which=11383&page=3#c558972.
Why do you ask?
I was reading a book on CIL and thought that it beared resemblance to Assembly.
I can't answer your question directly, there may or may not be some people who have tried it.
Not only CIL, but in fact demoscene has rarely been coded for intermediate language, and few people direct modification to Java bytecode or LLVM IR. Compared to programming languages, demoscene is focused on the platform and audio/visual effects they can achieved.
For oldschool platforms, assembly is used because there is no better way than to manipulate the hardware directly. But platforms that use Intermediate Language tend to be newschool platforms, often with C/C++ APIs at a lower level than managed environments such as the JVM or .Net CLR, and there is no benefit to coding in Intermediate Language other than being more difficult.
Not only CIL, but in fact demoscene has rarely been coded for intermediate language, and few people direct modification to Java bytecode or LLVM IR. Compared to programming languages, demoscene is focused on the platform and audio/visual effects they can achieved.
For oldschool platforms, assembly is used because there is no better way than to manipulate the hardware directly. But platforms that use Intermediate Language tend to be newschool platforms, often with C/C++ APIs at a lower level than managed environments such as the JVM or .Net CLR, and there is no benefit to coding in Intermediate Language other than being more difficult.
This reminds me a bit of what has been done with WASM, e.g. by exoticorn in form of a WASM based fantasy console ("MicroW8"). He also created a somewhat HL language based on it. You can check it out here: https://github.com/exoticorn/curlywas
Thanks for your answers, pengan and Dresdenboy!