For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?
The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
There is an LGPL'ed tiny C compiler out there with backends for x86 and x64. I recall a (much earlier) tiny C compiler in Byte magazine for 8- or 16- bit processors. Modifying one or the other shouldn't be too difficult for one of your talents.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
It's funny because you'd think so, but with microcontrollers these days apparently it's not hard to find them out there running a version of python, lua or even javascript when they're not running the more traditional C variants. Hardware is cheap, and lower power chips can do a lot more than they used to.
is it actually though? The reason I ask is it's not *exactly*, like there's functions in there like digitalWrite() that have no corresponding header at the top.
That's why I've been confused as to what language it actually is. Most of the constructs look Cish, but there are some C++isms. No generics to my knowledge though, and no standard library which is why i hesitate to say anything more than Cish? This is just my takeaway after getting my hands on it. I fully expect in you saying that you know something I don't.
I would sooner trust a trained monkey to drive me around. It's got a few million years of evolution under its belt and a few hundred billion neurons more in its head. That's also why I don't expect the terminator to knock at the door any time soon. Artificial evolution takes its time, simply because it takes a (simulated) lifetime and many generations of candidates. And what environment will the simulation take place in? The Matrix? Of what use would an AI be that had been trained by playing Skyrim, just because that's a little bit easier to accomplish?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
There's this thing called an ESP8266 and it is a little wifi adapter that is exposed over a 2 wire serial interface basically and you communicate with it using AT commands like those old Hayes modems.
It's meant for wiring into Arduinos and some Arduinos come with one built in. The Arduino processors are little 16mhz 8 bit monsters and aren't so good at running a TCP/IP stack and all that, so these little ESP8266 widgets have a built in Tensilica processor running at like 3 times the speed of the Arduino, and the firmware for it is flashable!
So you can gut the AT firmware and flash say Micropython on it. Hello little tiny python machine.
So now I have 3 of these gadgets but only enough parts to deal with the onboard one I have. The others need their own power supply and I don't want to deal with it.
I really shouldn't brick this board since its earmarked for another project for my in-laws but I am curious and don't want to wait for the mail.
I did manage to bring this chip back from the dead once already after nuking the onboard firmware but I'm not entirely sure I could repeat it.
This seems like a perfect time for doing something foolhardy.
ETA: Micropython is neat, and I say that as someone who doesn't even like python.
Real programmers use butterflies
modified 1-Nov-20 14:54pm.
Last Visit: 31-Dec-99 18:00 Last Update: 16-Jun-24 19:20