💾 Archived View for bbs.geminispace.org › u › AnoikisNomads › 14934 captured on 2024-07-09 at 05:20:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-16)
-=-=-=-=-=-=-
Re: "My Pico W powered capsule will celebrate its first birthday..."
@dimkr is the python code online somewhere? I'm curious :)
Feb 12 · 5 months ago
😈 dimkr [OP] · Feb 13 at 06:20:
@AnoikisNomads There's a link at the bottom of my capsule, gemini://gemini.dimakrasner.com
👤 AnoikisNomads · Feb 13 at 19:28:
sweet! thanks a ton. that's not a lot of code :D
on power consumption there is famous research and according to it, go, pascal, c are the best, and python and perl are worst, i think tcl and some others too were at the end.
so to me it's a pity when something is written in python and not in go. especially it is interesting why such choice was made when the author wrote incredible software in go. (:
— article about the research which features the table.
😈 dimkr [OP] · Feb 17 at 13:50:
@norayr Pico W can run C code written against the SDK, or Python code on top of MicroPython. Go is not an option. When I wrote this server, the Pico W was still new and the SDK was hard to work with. And I think Python is better from the educational perspective, many students (+ many Pi users) start with Python (or learn only Python), so open-source Python code is in some ways more "open" compared to C.
My Pico W powered capsule will celebrate its first birthday soon