3 ms·
Not explicitly mentioned in the guide, but Buzz has a garbage collector [1] (can also be inferred via a casual mention of upvalues). So it has more focus on scr
by lifthrasiir 3y ago
Not explicitly mentioned in the guide, but Buzz has a garbage collector [1] (can also be inferred via a casual mention of upvalues). So it has more focus on scripting than static typing I guess, but the language design doesn't look so to me.
[1] https://buzz-lang.dev/reference/std/gc.html https://buzz-lang.dev/reference/std/gc.html
- IshKebab 3y agoStatic typing is orthogonal to scripting or GC.
- naitgacem 3y agoEnglish is not my native language, and "orthogonal concepts" always mean something along the lines of "mutually exclusive" in my head.
- tubs 3y agoIt is used to say that there isn't really a relationship between them.
- teo_zero 3y agoNot at all, it means independent from each other. Like the x and y coordinates of a point in a plane: you can set one of them to the value you want and it won't affect the other. This only happens when the x and y axes intersect at 90°, hence the "orthogonal".
- quickthrower2 3y agoGood explanation. I first got confused by this colloquial use of orthogonal even though having done a course on vector spaces!
- lifthrasiir 3y agoYes, but "statically typed scripting language" is a quite unusual combination of words [1], and there seemed nothing to back up the "scripting" concept, so I thought it might be something more akin to Nim or Zig (i.e. "scripty system programming"), and it wasn't. That was a missing line of thought that I should have explicitly stated, sorry for the confusion. [1] Especially when no type inference was mentioned.
- hnlmorg 3y agoStatically typed languages with a garbage collector are just as common as those without. So I don’t really follow why you’re surprised that this had a GC.