Would it be possible to emit LLVM bytecode from a modern-day Clang (using, say, C++17 features), and then compile this down to machine code on Clang 2.8?
Lol, just like your other channel, I came for curiosity and am leaving with new-questions-overload. I've used GCC a few times, but "LLVM" and "Clang" are new rabbit holes to chase.
Very cool ! I have one of these Atari Touch Me's and can't find how to open it....and since it works....and I don't want to break it it was good to see your video to have a "peek" inside. I love that display IC !!!
my grandparents had that MB game you mentioned that beat Atari. wasn't a hand held game, however. I played it for hours when I was little. thanks for that trip down memory lane :)
It is a shame that writting C++ for real *micro*-controllers is so hard. For a small project i did together with a friend we were looking for a temperature sensor and found a good cheap sensor using digital data transmission - 1wire. When we looked through the specsheet we found out that it had an 8bit microcontroller inside. It had i think 16 bytes of RAM, 1K flash and not really supported by any compiler. We actually just wanted the sensor for an Arduino-project, but when we saw what this tiny thing could do we just tried using it and well - turns out it was capable enough to do everything we needed. only problem is that we had no tools and so resorted to writing C and writing a small script to convert the assembly to the binary. Took a bit of trial and error to get it running, but that has shown is just how much tools for those tiny controllers are needed and just how little performance is needed most of the time. Now when i see people doing things like a display showing the temperature and time and using an arduino or now even a raspberryPi with Python i always think about just how insanely overkill that is. With a Rapi we are talking about more performance for a simple display than was needed to run a full fledged OS running actual games on it.
I'm curious what processor it was, and if you could have used the same techniques to translate compiled C++ into the processor's architecture, like I have done with 6502 stuff in the past.
Well shit. this is the most recent C++ Weekly, only started the series from the beginning like a month ago, can we get a video on (or can anyone point me in the direction of some good material on ) UDLs I have a basic idea of what they are, but I would like to see some useful implementations of custom ones. I thought you would be the guy to ask because IIRC you used them in your constexpr JSON parser with Ben Dean?
So I am not clear, did you ever compile HelloWorld for the PIC 1655A with the older version of clang? If you did you should be able to run the binary with this: sourceforge.net/projects/picmicrosim/
That is because Simon (which was the first version the other dude made hand held first) is a classic and is the inspiration for keep talking and nobody explodes
Couldn't sadly not find one where the talk how to compile with clang to the Raspberry pi would be nice as most people use gcc. (Wich i do not really like)
24 bytes of ram, that is so backwards! A Android app doing "Touch Me" may need 200-500megabytes ram. Memory manufacturers (and Battery manufacturers) praise their God: Garbage Collected JAVA and JavaScript. CPU manufactureers not so much, because of the software troubles these days to have the ubiquitous cores do some useful work for the power and silicon they use. But evil old-school software engineers in a blasphemous act bring so backwards languages like C++ to the browser with webassembly and emscripten. Sorry for my ranting.
Would it be possible to emit LLVM bytecode from a modern-day Clang (using, say, C++17 features), and then compile this down to machine code on Clang 2.8?
Lol, just like your other channel, I came for curiosity and am leaving with new-questions-overload.
I've used GCC a few times, but "LLVM" and "Clang" are new rabbit holes to chase.
Very cool ! I have one of these Atari Touch Me's and can't find how to open it....and since it works....and I don't want to break it it was good to see your video to have a "peek" inside. I love that display IC !!!
my grandparents had that MB game you mentioned that beat Atari. wasn't a hand held game, however. I played it for hours when I was little. thanks for that trip down memory lane :)
It is a shame that writting C++ for real *micro*-controllers is so hard.
For a small project i did together with a friend we were looking for a temperature sensor and found a good cheap sensor using digital data transmission - 1wire. When we looked through the specsheet we found out that it had an 8bit microcontroller inside. It had i think 16 bytes of RAM, 1K flash and not really supported by any compiler. We actually just wanted the sensor for an Arduino-project, but when we saw what this tiny thing could do we just tried using it and well - turns out it was capable enough to do everything we needed. only problem is that we had no tools and so resorted to writing C and writing a small script to convert the assembly to the binary. Took a bit of trial and error to get it running, but that has shown is just how much tools for those tiny controllers are needed and just how little performance is needed most of the time.
Now when i see people doing things like a display showing the temperature and time and using an arduino or now even a raspberryPi with Python i always think about just how insanely overkill that is. With a Rapi we are talking about more performance for a simple display than was needed to run a full fledged OS running actual games on it.
I'm curious what processor it was, and if you could have used the same techniques to translate compiled C++ into the processor's architecture, like I have done with 6502 stuff in the past.
Great content! Love it!
Well shit. this is the most recent C++ Weekly, only started the series from the beginning like a month ago, can we get a video on (or can anyone point me in the direction of some good material on ) UDLs I have a basic idea of what they are, but I would like to see some useful implementations of custom ones. I thought you would be the guy to ask because IIRC you used them in your constexpr JSON parser with Ben Dean?
So I am not clear, did you ever compile HelloWorld for the PIC 1655A with the older version of clang? If you did you should be able to run the binary with this: sourceforge.net/projects/picmicrosim/
Reminds me of the game Don't Talk and Nobody Explodes.
That is because Simon (which was the first version the other dude made hand held first) is a classic and is the inspiration for keep talking and nobody explodes
Couldn't sadly not find one where the talk how to compile with clang to the Raspberry pi would be nice as most people use gcc. (Wich i do not really like)
Super interesting! Like a Rachel Maddow investigation but on the Atari Touch Me (scandal)! XD
24 bytes of ram, that is so backwards!
A Android app doing "Touch Me" may need 200-500megabytes ram.
Memory manufacturers (and Battery manufacturers) praise their God: Garbage Collected JAVA and JavaScript.
CPU manufactureers not so much, because of the software troubles these days to have the ubiquitous cores do some useful work for the power and silicon they use.
But evil old-school software engineers in a blasphemous act bring so backwards languages like C++ to the browser with webassembly and emscripten.
Sorry for my ranting.