Hacker News new | ask | show | jobs
by lukevp 2167 days ago
I don’t suppose there is a way for the SoC to run something besides Python? I appreciate the flexibility of a scripting language and would love to try one of these out, but I feel like a hardware device should have a RTOS (or no OS) and a language that doesn’t have a GC. Can you imagine having jitter/latency randomly introduced from the Python layer?
3 comments

I've seen many keyboard PCBs support configuration with firmware such as QMK. (The wiki for the MechanicalKeyboards subreddit mentions other examples of firmware https://www.reddit.com/r/MechanicalKeyboards/wiki/firmware).

If you're comfortable with C (and setting up the toolchain in the right way), great.

Allowing customisation with Python is for greater accessibility.

Being able to change settings with regular files on an a virtual USB disk and not having to install a compiler to make these changes sounds great.
I haven't actually looked at this, but Python has a number of toolkits that compile it down to LLVM targets and then to machine code, even for embedded devices.

Source: run a quantum computer on Python

>Besides, the keyboard is powerful enough to run Python, will also be able to run C/C++, Rust, Go (TinyGo) and JavaScript (JerryScript). The hardware is also optimized for power efficiency.

from https://makerdiary.com/blogs/mechanical-keyboards/the-story-...