3 ms·
I really should learn Rust. I am just nostalgic for C because C makes me feel like I am doing something closer to what the CPU works with. I know there are seve
by IgorPartola 6y ago
I really should learn Rust. I am just nostalgic for C because C makes me feel like I am doing something closer to what the CPU works with. I know there are several layers underneath all that, but with C you can do all manner of dangerous things that by any means you shouldn’t be allowed to do. I have used it for a few projects over the years but lately the only place I really get into it is programming Arduinos or similar. I am sure sooner or later we will get a good toolkit for a language that both does proper memory management AND can allow you to do all the things you can do with C on a microcontroller, but so far I haven’t seen that.
Also, I have it on my TODO to go back and redo the Capture the Flag challenges from like 10 years ago that dealt with things like stack overflows. I had a ton of fun working on those and it would be fun to revisit them. Anyone got a modern version of something like that?
- TylerE 6y agoZig is what you want. It can cross-compile down to tiny tiny binaries with no dependencies that run on microcontrollers quite comfortably.
- IgorPartola 6y agoThanks! I spent a couple of hours looking at it and it looks like a really cool language. Unfortunately no build targets for the ESP8266/ESP32 which is my current t microcontroller of choice but the next time I try to put together a project that targets a different architecture I’ll try Zig out!
- tux3 6y agoHave you done the https://microcorruption.com/ https://microcorruption.com/ CTF from 2014? It starts pretty simple, but I remember it being super fun.
- IgorPartola 6y agoI have an account there according to my password manager! But like Gandalf I have no memory of this place. Very cool, I know what I’ll be doing tomorrow, thank you!