HackerTrans
TopNewTrendsCommentsPastAskShowJobs

giann

no profile record

Submissions

Buzz 0.5.0 release – a statically typed scripting language written in Zig

github.com
2 points·by giann·năm ngoái·1 comments

Buzz Language – 0.4.0 Release

github.com
1 points·by giann·2 năm trước·0 comments

Show HN: Buzz, strongly typed scripting language written in Zig

github.com
140 points·by giann·4 năm trước·68 comments

comments

giann
·8 tháng trước·discuss
Been working on my programming language https://github.com/buzz-language/buzz for 4 years now (with some down periods). Currently mainly working on the tooling: LSP, DAP and formatter. Also managed to get fuzzing working with AFL++ and found a bunch of bugs with it.
giann
·12 tháng trước·discuss
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
·4 năm trước·discuss
Fair point
giann
·4 năm trước·discuss
It’s really hard (impossible?) to have a type system with user defined types and do without a declarative top level.
giann
·4 năm trước·discuss
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
·4 năm trước·discuss
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
·4 năm trước·discuss
Safety pin? No its an astronaut and some stars.
giann
·4 năm trước·discuss
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
·4 năm trước·discuss
It’s planned yes
giann
·4 năm trước·discuss
Lua has the same strategy as Buzz around numbers see https://www.lua.org/manual/5.4/manual.html#2.1
giann
·4 năm trước·discuss
Exposing how? If you mean documentation, Buzz as not yet its reference manual but it'll definitely be there.
giann
·4 năm trước·discuss
I'm not excluding the idea to allow the user to choose between the two. But the language must remain simple and relatively high level so I'm wary of going down that road.