News for hackers. Stuff that matters.
Re:Understanding the Odin Programming Language by andyfilms1 on Sunday July 12, 2026 @12:57PM (#48882578)
Odin is not like JS or something where you'd need a VM or transpilation process to target an embedded system. It's just C with nicer syntax and modern data structures, there's no "squeezing" required. You just compile for the target you want to run on.

Here's a UI framework, if you scroll down you'll see it on a Raspi Pico: https://github.com/MadlyFX/Ansuz

Re:Understanding the Odin Programming Language by RetroTechie on Sunday July 12, 2026 @02:10PM (#48883136)
I think you missed "native development". I'll rephrase:

Could a toolset to develop in Odin be made to run on (not just target) an STM32 microcontroller like you used?

> It's just C with nicer syntax and modern data structures

That suggests the above would (in theory) be possible for any device that's roughly in the same class as "can run a C compiler". Correct?

Re:Understanding the Odin Programming Language by fatty_patty89 on Sunday July 12, 2026 @03:00PM (#48883569)
> It's just C with nicer syntax and modern data structures

it's not, it's llvm

Re:Understanding the Odin Programming Language by andyfilms1 on Sunday July 12, 2026 @03:47PM (#48884033)
Okay, I mean obviously :D I was more trying to convey the feeling of it.
Re:Understanding the Odin Programming Language by gingerBill on Sunday July 12, 2026 @04:52PM (#48884672)
> STM32 microcontroller

The answer is "yes" depending on what you mean by STM32 :D

But if it's one we don't currently support officially, it should be pretty easy to support too, with probably a little extra assembly.