ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Video: Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17

(1/1)

Mark0:
A nice practical demonstration of the level of optimiziations and features of moderns C++ compilers:

mouser:
Just watched it.  Very nice.
We are always told how well compilers can optimize code, but it's nice to see just how seriously the C++ compilers take their job of optimizing code.

One of the other things that this video hammers home is how much of the new C++ language features are designed to help the programmer write in verbose, elegant, human-readable object oriented code, while at the same time helping the compiler to optimize most of that away into nothingness.

Deozaan:
Nice little "May the 4th" cameo, too. :Thmbsup:

f0dder:
That is absolutely crazy, and super cool!

p3lb0x told me about the video a while ago, but didn't get around to watching it until now. The focus on zero-overhead abstractions in C++ is one of the extremely strong features of the language, and something I haven't really seen in other languages.

Oh, and translating x86 assembly to 6510? Pretty cool, even though it's just a subset - pretty interesting that it was more viable than a LLVM codegen :)

Navigation

[0] Message Index

Go to full version