logoalt Hacker News

A NES emulator written in Odin

38 points • by frostbyte7 • today at 12:51 PM • 2 comments • view on HN

Comments

boltzmann64 • today at 3:24 PM

i love odin.

- manual memory management

- arena and pool allocators

- go style err!=nill style exception handling

- first class support for soa and vectorized simd, linear algebra and swizzling

- sanely typed and namespaces

- explicit unambigious overloading, subroutine context

- first class support for defer statements

- zero friction C ffi

if you haven't heard of odin, you should definitely consider it.

anthk • today at 3:19 PM

Odin needs too recent LLVM versions to work. A pity this Reticulum client it's written on that, because if it were written in Go it would be instantly portable to legacy machines:

https://github.com/Quad4-Software/Ren-TUI

Reticulum in Go:

https://github.com/Quad4-Software/Reticulum-Go

On Odin itself, it looks really simple, and I'd love it if it were self-bootstrapable or compilable with just a C99 compiler like cparser, cproc or TCC.