Re:Elite trade engine in C
by warmwaffles on Sunday April 08, 2012 @11:05PM
(#3815659)
What I can't wait for is someone to make a higher level language that will compile down to DCPU
There is an LLVM backend and clang can use it.
That means C/C++ code can be written and compiled down to DCPU16. You could even write your own programming language (like BASIC) and have it compile down to DCPU16.
When I learned assembly, the class had us typing our programs into a Vax computer older than I am and watching everything execute in a debugger and doing page after page after page of hex math by hand, or writing out the actual hex values for our programs by hand. To this day, I remember that 0x20FE is the shortest infinite loop. Every byte wasted lowered your grade. That was all very educational, but not the least bit fun. The best part was at the very end of the class where I learned a bunch of cool tricks from reading the professor's solutions. He wouldn't show us any of them until the whole course was over.
With the DCPU, your programs might help you destroy enemy space ships, mine and scan for resources, or even hack enemy computers. It could become almost like the demo scene of old and knowing Notch, it will be waaaaaaay more fun than learning assembly usually is.