Readit News logoReadit News
giann commented on How we built Bluey’s world   itsnicethat.com/features/... · Posted by u/skrebbel
giann · 22 days ago
When my son was in the last stages of leukemia, Bluey was on repeat all day. He was completely immersed in that world and we, his parents were there with him too.

Now, 5 years after his death, he's little brother is also in love with the show and we watch an episode at least once a day.

There will never be another TV show like this one for those personal reasons and also because it's just too good.

giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
3a2d29 · 3 years ago
You could argue that hiding ints and floats behind “num” is implicit conversion
giann · 3 years ago
Fair point
giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
throwawaymaths · 3 years ago
Actually what made me not consider this a "real" scripting language is not any of those things but rather the existence of a non-optional entry point function. Scripting languages typically read code from top of file to bottom to decide what to execute
giann · 3 years ago
It’s really hard (impossible?) to have a type system with user defined types and do without a declarative top level.
giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
semiquaver · 3 years ago
> No nonsense coercion

Given that the focus is on being unambiguous I found this line a bit amusing. Maybe it’s me but I can’t tell for sure whether this describes a quality of the language’s coercion mechanism or a promise that the language will include no such “nonsense” like e.g. javascript :)

giann · 3 years ago
This means the language will never coerce things for you implicitly. Booleans are true and false not 1 and 0 or “true” and “false” etc.
giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
pmarreck · 3 years ago
> object ...

You already lost me there. ¯\_(ツ)_/¯

https://suzdalnitski.medium.com/oop-will-make-you-suffer-846...

giann · 3 years ago
They are more like structs with methods. There’s no inheritance only protocols (interfaces) you can conform to.

Buzz is not an OOP language.

giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
snovv_crash · 3 years ago
No, it resembles a safety pin and stars, the well known Society for Communist Seamstresses flag.
giann · 3 years ago
Safety pin? No its an astronaut and some stars.
giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
jerf · 3 years ago
Curious what the author is thinking of when calling this a "scripting language"? I personally don't have much trouble imagining a strongly-typed scripting language, but that definitely goes against the flow of the past couple of decades. Is it that it is garbage collected? That's about all I can see that would make this immediately obviously a "scripting language". It doesn't seem like it ought to be intrinsically as slow as what usually gets called a "scripting language".

To be clear, this is an honest question, and possibly something the author should consider answering, intended as feedback, not a criticism. I'm open to it. I'm also curious and I'm sure I'm not the only one. (Either way I definitely would suggest mentioning if it's garbage collected or not. It's an important point.)

giann · 3 years ago
Author here. A few points make buzz a “scripting language” in my view: - runs in a VM - garbage collected - high level - “simple” meaning there’s only a handful of concepts to understand to use it

It’s true that we’re not used to scripting languages having a type system. But its a trend that is catching on: python has types, php too and typescript is at its peak in popularity to name a few.

giann commented on Show HN: Buzz, strongly typed scripting language written in Zig   github.com/buzz-language/... · Posted by u/giann
melony · 3 years ago
Can the ffi be made more seamless? It's rather annoying doing it by hand.
giann · 3 years ago
It’s planned yes

u/giann

KarmaCake day211December 22, 2011
About
Web architect at BoursoBank, Lua and Zig enthusiast, working on a small programming language https://buzz-lang.dev
View Original