News for hackers. Stuff that matters.
Re:NimConf 2022 – Nim Online Conference by girvo on Friday October 21, 2022 @09:32AM (#33287817)
Exciting to see ORC being the focus for 2.0! We’re using ARC (pure reference counting, minus the cycle collector) for our embedded firmware, and it’s been pretty excellent. Sink and Lent are great, as is the adoption of destructors/RAII-like approaches. Combined with Nims awesome compile time and meta programming features (for truely zero cost abstractions — nothing better than have the compiler help us write correct firmware code and have all those fancy types and checks disappear in the C output!), it’s been awesome. There’s some rough edges here and there, mostly due to the interplay of ESP-IDF having a pretty buggy malloc implementation, but being able to ask Nim to expandArc and tell me where the destructors are being put to track down accidental cycles or leaks has been handy — and it’ll only get better and easier as Nim adopts even more powerful tools :)

It’s a remarkably pragmatic language in a lot of ways, at least in my opinion. Can’t wait for the rest of the talks!

Re:NimConf 2022 – Nim Online Conference by pietroppeter on Friday October 21, 2022 @09:57AM (#33288043)
so nice to hear :). nim looks really great for embedded. this nim conf it seems we missed the embedded talk (was elcritch working on one?). are there pointers on stuff you are doing or you can share the name of your company?
Re:NimConf 2022 – Nim Online Conference by girvo on Friday October 21, 2022 @10:13AM (#33288187)
Yeah elcritch was I thought but I also think he was super busy sadly :(

https://www.venturi.io/

That’s us! I’m hoping that now we have some devices out in the field in customers hands I can take some time to write some things up on it all — that’s if adding CANBUS support doesn’t kill me first anyway

Re:NimConf 2022 – Nim Online Conference by pietroppeter on Friday October 21, 2022 @10:20AM (#33288243)
yeah that happens, no worries. he will catch up on next occasion (next one might be Fosdem in February but it will be in person and so a bit out of reach for him, likely also for you?).

Nice site! Looking forward for a write up (especially since that would have meant you survived support)