Remix.run Logo
Imustaskforhelp 3 days ago

What are your thoughts on nim, odin and v-lang, D-lang?

I feel like I am most interested about nim given how easy it was to pick up and how interoperable it is with C and it has a garbage collector and can change it which seems to be great for someone like me who doesn't want to worry about manual memory management right now but maybe if it becomes a bottleneck later, I can atleast fix it without worrying too much..

dayvster 3 days ago | parent | next [-]

I have not given any of those 3 a fair enough shot just yet to make a balanced and objective decision.

Out of all of them from what little I know and my very superficial knowledge Odin seems the most appealing to me, it's primary use case from what I know is game development I feel like that could easily pivot into native desktop application development was tempted to make a couple of those in odin in the past but never found the time.

Nim I like the concept and the idea of but the python-like syntax just irks me. haha I can't seem to get into languages where indentation replaces brackets.

But the GC part of it is pretty neat, have you checked Go yet?

Imustaskforhelp 3 days ago | parent | next [-]

I am a big fan of golang lol. Golang might be the language that I can love the most, portable, easy to write, stdlib that's goated, fast to compile with, and a great ecosystem!

But I like nim in the sense that I feel sometimes in golang that I can't change its GC and so although I do know that for most things it wouldn't be a breaker.

but still, I sometimes feel like I should've somewhat freedom to add memory management later without restarting from scratch or something y'know?

Golang is absolutely goated. This was why I also recommended V-lang, V-lang is really similar to golang except it can have memory management...

They themselves say that on the website that IIRC if you know golang, you know 70% V-lang

I genuinely prefer golang over everything but I still like nim/ V-lang too as fun languages as I feel like their ecosystem isn't that good even though I know that yes they can interop with C but still...

O-stevns 3 days ago | parent | prev [-]

Odin has no primary use case, it just happens that a lot of the members in the community have made or are interested in game making

Imustaskforhelp 3 days ago | parent [-]

My understanding of odin was that its good for data oriented.

I haven't really looked into odin except joining their discord and asking them some questions.

it seems that aside from some normal syntax, it is sort of different from golang under the hood as compared to V-lang which is massively inspired by golang

After reading the HN post of sqlite which recommended using sqlite as a odt or some alternative which I agreed. I thought of creating an app in flutter similar to localsend except flutter only supports C esq and it would've been weird to take golang pass it through C and then through flutter or smth and I gave up...

I thought that odin could compile to C and I can use that but it turns out that Odin doesn't really compile to C as compared to nim and v-lang which do compile to C.

I think that nim and v-lang are the best ways to write some app like that though with flutter and I am now somewhat curious as to what you guys think would be the best way of writing highly portable apps with something personally dev-ex being similar to golang..

I have actually thought about using something like godot for this project too and seeing if godot supports something like golang or typescript or anything really. Idk I was just messing around and having a bit of fun lol i think.

pjmlp 3 days ago | parent | prev [-]

From those only Nim and D are interesting.

We don't need yet another language with manual memory management in the 21st century, and V doesn't look that would ever be that relevant.

Imustaskforhelp 3 days ago | parent [-]

V is also similar to nim tho.

V is also similar to golang in syntax, something that I definitely admire tbh.

I am interested about nim and V more tbh as compared to D-lang

In fact I was going to omit D-lang from my comment but I know that those folks are up to something great too and I will try to look into them more but nim defintely peaks my interests as a production ready language-ish imo as compared to V-lang or even D-lang