u/PiterzKun

I just made my first project with odin and the language is amazing

I just made my first project with odin and the language is amazing

Hi, I just wanted to share my opinion about odin.

I have made a cli that records desktop audio (music in my case) using miniaudio and then streams that audio by tcp. Also uses dbus, first, to control the music player, and second, to publish a service in avahi.

It is amazing that odin has the vendor packages :D I also love how simple is to use c bindings, for example the dbus binding I have used, but also the miniaudio vendor package.

For me was impressive the binary size 1.1Mb, it is crazy that the program fits in that. Another point for Odin was memory allocation, it felt simple but powerful, and very lightweight. (Allocating 3 MB and seeing that consumes that and not more is mind blowing)

This project is the first time I code in odin and it will not be the last, I really enjoyed the language.

What are your favorite features or differences comparing to other languages? I am very curious to hear about

(If anyone is interested in the project I leave here a link: https://github.com/PiterWeb/audio-be)

u/PiterzKun — 8 days ago