Hacker News new | ask | show | jobs
by andai 29 days ago
The author protested the framing, but it's very much a game-dev oriented language. In fact, it's the most pleasant language for game development I have ever used. It comes with all sorts of "batteries included" in that direction, possibly more than any other existing language. (Well, I still didn't get my Jai invite, so who knows ;) Odin was a major influence on Jai.)
1 comments

The author knows the orientation of his language better than anyone else.

> Odin was a major influence on Jai.

This is a popular joke because of the release timeline. The reality is the inverse, and Ginger Bill has acknowledged the influence of Jai.

> The author knows the orientation of his language better than anyone else.

The author knows the intention of the language better than anyone else, but that doesn't mean it isn't especially game dev oriented.

Ginger Bill directly addresses this erroneous argument in TFA:

> Many people think Odin is "just for games" at the moment, but that tells you more about the people who say that than Odin itself. This is especially true when gamedev is pretty much the most wide domain possible where you will do virtually every area of programming possible.

> Odin is a general purpose language; is capable of being used in numerous different areas from application development, servers, graphics, games, kernels, CLI/TUIs, etc.

> The author knows the orientation of his language better than anyone else.

^ I was only addressing this comment, not the specifics of Odin.

> Odin is a general purpose language; is capable of being used in numerous different areas from application development, servers, graphics, games, kernels, CLI/TUIs, etc.

I would argue that being capable of doing anything is not in conflict with being oriented around something specific. Any Turing complete language is capable of those things.

Again, I don't even know Odin, so I'm not addressing whether or not it is game dev oriented. Only that the arguments themselves don't seem sound.

EDIT: grammar/formatting

Is C++ a game oriented language because most game engines and games are written in it?
Yeah oriented might be the wrong word here. "Surprisngly well suited for the job" is more like it. It was very ergonomic. In fact, I ended up translating my Odin game to several other languages and the experience was quite painful. (That's one way to measure the quality of a language! How much it hurts to port code out of it.)
I clearly remember Jonathan Blow talking about how Jai's syntax was influenced by his conversations with Bill. But it was 10+ years ago, so I might have gotten it mixed up.

I think the influence ended up going both ways eventually though.

Yes, you have it mixed up ... Jai development started 2 years before Odin. And the claim was

> Odin was a major influence on Jai

which simply isn't true. Just google it, e.g.,

https://handmade.network/forums/t/1338-the_odin_programming_...

https://www.reddit.com/r/Jai/comments/1j2idvz/is_odin_kind_o...

https://news.ycombinator.com/item?id=46317815