Email or username:

Password:

Forgot your password?
16 comments
catraxx

@feliks espruino.com/ Actually super cool and fun. I got both the BangleJS and BangleJS2 and it's so nice to have a fully programmable watch with a battery that lasts more than a month.

lolcat

@catraxx @feliks

You might have just convinced me to learn Javascript.

Lukadjo

@feliks The more advanced processors and memory become the more inneficient but easy languages like JavaScript will be used

C uses hundreds of times less memory than JavaScript but it's so close to the computer itself that a lot of things seem overly complicated and confusing. JavaScript is very abstracted from the computer so it's easier

I think python or something like that should probably be used for this anyway, this really sounds like an unholy abomination

[Yaseenist] CauseOfBSOD

@feliks and this is a real thing people do

(source: the flipper zero has javascript support now apparently)

fops (plushie arc) (Chaotic Stupid)

@feliks in all seriousness it's bizarre to think that micros can run high level languages nowadays and it sounds stupid but i think it does have a place. people complain about arduino functions being slow and bloated n shit and yeah they might be but it does make the code way easier to read, and it sure does make it easier to understand and learn as a beginner. it reduces the amount of boilerplate and allows you to cut to the chase and start implementing your whatever instead of worrying about i dunno filesystem handling or something. micropython for example just has that built in and will allow you to switch between internal memory and for example an sd card without too much hassle. that banglejs watch that has been mentioned in here is also a nice example of how high-level languages make it easier to just hack away at. of course if i dunno every little bit of energy and/or time and/or space counts then it'd be way better to use an actual bare metal language but for a lot of projects stuff like micropython will be fine. and some more complicated stuff can always be implemented in native code, like when regular python is used for data science n shit

@feliks in all seriousness it's bizarre to think that micros can run high level languages nowadays and it sounds stupid but i think it does have a place. people complain about arduino functions being slow and bloated n shit and yeah they might be but it does make the code way easier to read, and it sure does make it easier to understand and learn as a beginner. it reduces the amount of boilerplate and allows you to cut to the chase and start implementing your whatever instead of worrying about i...

/usr/local/etc/rc.d/sudo200

@chfour

The only interpreted language I have ever used on a microcontroller was Lua on an ESP32 because I wanted the "challenge" of "porting" lua onto an ESP32.

Well, porting is the wrong word, more like configuring...

fops (plushie arc) (Chaotic Stupid)

@sudo200 wasn't lua like one of the first ways to program the esp8266?

/usr/local/etc/rc.d/sudo200

@chfour

Honestly idk, that was before I knew micro controllers.

But it's honestly very satisfying having an interpreter for a full-blown programing language on a micro controller, especially such a capable one as an ESP32.

SuperIlu

@feliks I have made a full flexed mastodon client with it :)

feliks

@dec_hl i don't know if this makes me sad or happy

Go Up