Conversation

Jarkko Sakkinen

Edited 4 days ago
I learned Odin's full grammar in 2-3 hours (there's a pretty nice Kindle book about it). Now I know it well enough already that I can even write it even to paper with a carbon pen.

This is what I appreciate also in C, and is a non-existent quality in any other modern systems language.
1
0
1

@jarkko are youbtalking about “Understanding the Odin Programming Language” by Karl Zylinski?

1
0
0
@jan yeah, it's the only book i found about it :-)

Odin is widely popular in game industry and outside of it is quite alien language so far.

I neither love Rust nor Zig because I don't understand them and what I mean by "understanding" is to understand the language from end to end all the time. They get progressively worse and it's a goa for the corresponding projects. I liked Rust in its early years but then it was quite simple and nice systems languuge; no weird language features such as async :-)
1
0
1

@jarkko ok I am reading the book and this is literally burning my eyes.

decimal_number: f32 = 7.42

I can’t even remember how many times as data professional have been teaching devs why we do not save decimal data in float, especially when monetary/financial values.

1
0
1
@jan I might actually end up implementing ReadSeek's next version Zig.

It has one advantage especially for NPM releases i.e. same compiler binary generates all platforms. It such a huge advantage over any language feature in cross platform plugins.

Deeply acknowledged this in the middle of Odin rewrite. It's more complex with any other language than with Zig.
1
0
0
@jan Even with Rust I have to do really weird tricks with Zig that comes out of the shelf
1
0
0
@jan and another blocker is lack of inline assembly (coming in future) and I get some FFI overhead in inference from external assembly files :-)

Still I got Qwn3-VL-2B 15-20% faster than I got in Rust :-) With Zig I can further take away unnecessary overhead.
1
0
0
@jan as per your example, i don't mind tbh :-) but yeah, some show stoppers came along with odin route.
0
0
0