19

From the README on GitHub:

buzz code example

The compiler is written in Zig.

v4.0 Release Notes

top 3 comments
sorted by: hot top controversial new old
[-] FizzyOrange@programming.dev 3 points 5 months ago

Very neat! Is it embeddable? There are plenty of statically typed languages but there are hardly any statically typed embeddable languages.

Quite a lot to like here. I only skimmed it but some things that seem like slightly odd choices:

  • > instead of -> for return types. The latter is pretty clearly nicer IMO and less confusing.
  • Old C-style type name instead of name: type. The latter is less confusing and plays better with type inference and inlay hints. Easier to parse too.
  • For a small language I think arbitrary sized integers make way more sense than fixed size. This is one of the few things Python got completely right IMO. If you care about performance you can add a range type, like range(0..256) and unsigned like range(0..) and then use flow typing to convert between them.
[-] armchair_progamer@programming.dev 3 points 5 months ago

Author's comment on lobste.rs:

Yes itโ€™s embeddable. Thereโ€™s a C ABI compatible API similar to what lua provides.

[-] zemja@programming.dev 2 points 5 months ago

Is the name "Fizz" already taken?

this post was submitted on 17 May 2024
19 points (91.3% liked)

Programming Languages

1159 readers
1 users here now

Hello!

This is the current Lemmy equivalent of https://www.reddit.com/r/ProgrammingLanguages/.

The content and rules are the same here as they are over there. Taken directly from the /r/ProgrammingLanguages overview:

This community is dedicated to the theory, design and implementation of programming languages.

Be nice to each other. Flame wars and rants are not welcomed. Please also put some effort into your post.

This isn't the right place to ask questions such as "What language should I use for X", "what language should I learn", and "what's your favorite language". Such questions should be posted in /c/learn_programming or /c/programming.

This is the right place for posts like the following:

See /r/ProgrammingLanguages for specific examples

Related online communities

founded 1 year ago
MODERATORS