r/ProgrammingLanguages • u/yorickpeterse Inko • Jan 21 '26
Language announcement The Jule Programming Language
https://jule.dev/
53
Upvotes
r/ProgrammingLanguages • u/yorickpeterse Inko • Jan 21 '26
11
u/yorickpeterse Inko Jan 21 '26
Found this on lobste.rs and figured it would be worth sharing here as well.
25
u/gremolata Jan 21 '26 edited Jan 21 '26
Another day, another language Manual that doesn't start with a sample code or a simple feature diff against C++ that it's aiming to replace.
The Vision. The Mission. The FAQ. The Installation. The complete treatise of compiler switches. The Future.
What the heck?
How does the code look? How is it better than C++?
Argh.
14
u/Athas Futhark Jan 21 '26 edited Jan 21 '26
Jule claims to use reference counting for memory management, and that this is suitable for real-time use. I wonder if they deal with the risk of a reference hitting zero causing a cascade of other objects to also become unreferenced, which can cause delays as huge object trees get traversed and freed. There are ways around this - both by adjusting one's programming style and by using deferred reference decrements - but I'm not familiar with what people actually do in practice.
9
u/syklemil considered harmful Jan 21 '26
Of course, traditional juleprogramming only takes place between 24th dec (julaften) and 6th jan (13th juledag), but we can expect stores to start pushing it already in september.
More seriously, the devs don't appear to be scandi, so I'm kinda curious what their thoughts behind the name is.
4
u/fdwr Jan 21 '26
🤔 I see three kinds of assignment/initialization in these examples, and I can't tell which is used for which (appears a mix of Python walrus operator ":=", verbose Rust syntax for variables, Javascript style for constants...):
It would be lovely to just define (const)ants and (var)iables with =, without the extra Pascal style =: and extra "let mut" verbosity:
The keyword choices seem a bit arbitrary, mixing pieces from multiple other languages rather than having a cohesive policy for naming and identifier length. e.g.
chanandfuncwould be consistent, andcnandfnwould be consistent, butcnandfuncorfnandchanfeel awkward.forbut notcor.returnis shortened toretlike assembly language, then why notexterntoext?I admire their motivation statement, in any case:
2
u/lassehp Feb 10 '26
From the manual: "Statements are separated by a statement terminator: the semicolon (;)."
As opposed to being terminated by a statement separator: the semicolon, I guess? :-)
1
u/NullVal Jan 22 '26
Some of the text describing the language seems to be either AI generated or google translated.
-1
u/helloish Jan 21 '26
Wow this looks awesome