What should I be looking for here that distinguishes it from other lightweight statically-typed scripting languages? Performance? Tooling? Particularly good FFI? There are some syntactic quirks that don't convey any obvious benefit, like the use of '>' to indicate a return type. Since this language uses C-style prefixed type identifiers, why not do that for functions as well? Alternately, why not use the much more co…
Buzz: A lightweight statically typed scripting language
61–70 of 91 posts
Re: Buzz: A lightweight statically typed scripting language
#62Earlier quoted context omitted.
Any in particular that you're a fan of? (Genuinely curious)
If you don't want to run awkward searches through your main Google account, DuckDuckGo provides decent results.
Yes you can Google pretty much anything that you can have a conversation about and never speak to anyone. What is your point?
Re: Buzz: A lightweight statically typed scripting language
#63Earlier quoted context omitted.
Java too. Rust is the only language I’ve used where “immutable” means everything through the whole reference tree is also immutable. Well, only language that allows mutation at all.
And C/C++. Probably other value based languages like Go and Zig. JavaScript probably behaves like that because `const` was tacked on (and it's dynamically typed so there's no place to mark parameters as const). There is Object.freeze() which sort of makes something immutable, but it's not really the same. Java doesn't even have const so I guess they just didn't care about const correctness or didn't have time to add…
Re: Buzz: A lightweight statically typed scripting language
#64What makes a language a "scripting" one?
Re: Buzz: A lightweight statically typed scripting language
#65What should I be looking for here that distinguishes it from other lightweight statically-typed scripting languages? Performance? Tooling? Particularly good FFI? There are some syntactic quirks that don't convey any obvious benefit, like the use of '>' to indicate a return type. Since this language uses C-style prefixed type identifiers, why not do that for functions as well? Alternately, why not use the much more co…
What would be the other lightweight statically typed scripting languages? There really aren't many.
Re: Buzz: A lightweight statically typed scripting language
#66Earlier quoted context omitted.
There have been statically types scripting languages for ages. Embeddable ones, too. That's not new.
Any in particular that you're a fan of? (Genuinely curious)
Re: Buzz: A lightweight statically typed scripting language
#67This comment section is very "why write a Language?" oriented. I love reading about new languages!! I work with data scientists a lot so I'll probably always use Python professionally, at least for the foreseeable future. But Python, JavaScript etc are huge languages with massive histories of practical trade offs and compromises. It's always exciting to see what someone's dream language looks like! Besides, learning…
For me, it's that this language already exists in F#. Other than "lightweight" (.NET probably inatalls just as fast as Python these days, though), it is the statically typed scripting language, in my opinion.
Re: Buzz: A lightweight statically typed scripting language
#68Earlier quoted context omitted.
For me, it's that this language already exists in F#. Other than "lightweight" (.NET probably inatalls just as fast as Python these days, though), it is the statically typed scripting language, in my opinion.
I love me some F#, but F# isn't a scripting, and it's compile times were pretty terrible the last time I used it on Linux. It's been a while, though, so maybe things have improved.
Were you running F# with modern .NET, i.e., .NET5+?
Re: Buzz: A lightweight statically typed scripting language
#69Re: Buzz: A lightweight statically typed scripting language
#70Earlier quoted context omitted.
And C/C++. Probably other value based languages like Go and Zig. JavaScript probably behaves like that because `const` was tacked on (and it's dynamically typed so there's no place to mark parameters as const). There is Object.freeze() which sort of makes something immutable, but it's not really the same. Java doesn't even have const so I guess they just didn't care about const correctness or didn't have time to add…
Afaik for C & C++, that's not true – you can turn const references into normal references and are even allowed to mutate the object they point to unless said object is declared as const.