13
Compiling typed Python (bernsteinbear.com)
top 4 comments
sorted by: hot top controversial new old
[-] takeda@lemmy.world 1 points 2 years ago

Good read, also a bit sad that in my case I probably won't have as much benefits as people doing computation. Though thanks to this article I get better idea which projects are worth to explore.

[-] insomniac_lemon@kbin.social 1 points 2 years ago* (last edited 2 years ago)

I would ask about how these compare to Nim-lang, but seeing the number of options I instead ask: can any method of "faster" Python be used within Godot 4? This seems to complicate it, and I imagine someone else would still need to do the footwork and/or it'd require C/C++ knowledge.

[-] TheCee@programming.dev 3 points 2 years ago

This seems to complicate it, and I imagine someone else would still need to do the footwork and/or it’d require C/C++ knowledge.

It seems like GDScript is already way less dynamic than Python and a bunch of optimizations has been done accordingly.

[-] insomniac_lemon@kbin.social 0 points 2 years ago* (last edited 2 years ago)

I'm aware, but even if GDscript gets to the point where it's getting compiled for performance that doesn't really help as I don't want to learn 2 languages (performant Godot code, performant non-Godot code) even if they are (somewhat) similar (also if there's any overlap, needing to adapt code manually). I'd rather just need some extra context to get the performant language to work within Godot.

3.X had some pretty decent bindings, so I hope the 4.X bindings eventually make it back to that point at least and hopefully are improved (integrated) enough so there's actually something to show for it.

this post was submitted on 14 Sep 2023
13 points (100.0% liked)

Programming Languages

1357 readers
1 users here now

Hello!

This is the current Lemmy equivalent of https://www.reddit.com/r/ProgrammingLanguages/.

The content and rules are the same here as they are over there. Taken directly from the /r/ProgrammingLanguages overview:

This community is dedicated to the theory, design and implementation of programming languages.

Be nice to each other. Flame wars and rants are not welcomed. Please also put some effort into your post.

This isn't the right place to ask questions such as "What language should I use for X", "what language should I learn", and "what's your favorite language". Such questions should be posted in /c/learn_programming or /c/programming.

This is the right place for posts like the following:

See /r/ProgrammingLanguages for specific examples

Related online communities

founded 2 years ago
MODERATORS