EEVblog Electronics Community Forum

Products => Computers => Programming => Topic started by: SiliconWizard on December 30, 2023, 12:17:49 am

Title: Language of the week: Hylo
Post by: SiliconWizard on December 30, 2023, 12:17:49 am
Yes, it's never-ending!

https://www.hylo-lang.org/ (https://www.hylo-lang.org/)

While one of Rust's core concepts is borrowing references and making almost everything immutable by default, this one is based on "mutable value semantics".

To mutate, or not to mutate, that is the question:
Whether 'tis nobler in the mind to suffer
The slings and arrows of outrageous mutation,
Or to take Arms against a Sea of troubles
Title: Re: Language of the week: Hylo
Post by: tggzzz on December 30, 2023, 01:07:51 am
I first used HiLo in ~1982.

Aren't homonyms fun :)
Title: Re: Language of the week: Hylo
Post by: magic on December 30, 2023, 08:48:19 am
Quote
This tour assumes familiarity with an imperative programming language such as JavaScript, Python, C or C++.
So this is what kids these days consider familiar :scared:

Anyway, my first impression is somewhat unimpressed. Lifetime annotation appear to be what makes Rust's borrow system actually usable for anything nontrivial... Will have to see how or if they make up for it.
Title: Re: Language of the week: Hylo
Post by: SiliconWizard on December 30, 2023, 10:31:59 am
Yes it does appear unimpressive like 99% of new languages. But I'm actually reading the paper they link to about "mutable value semantics". It may make some points. I'll figure it out when I'm done reading it.