Better HN
topnewbestaskshowjobs
Log inSign up

giann

212 karma · joined Dec 22, 2011 (14y ago) · 35 submissions

Web architect at BoursoBank, Lua and Zig enthusiast, working on a small programming language https://buzz-lang.dev
Submissions

1.

Show HN: Buzz 0.6.0 Release(github.com ↗)

1 points · by giann · 3w ago · discuss

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

4.

Buzz 0.5.0 release – a statically typed scripting language written in Zig(github.com ↗)

2 points · by giann · 1y ago · 1 comment

5.

Buzz Language – 0.4.0 Release(github.com ↗)

1 points · by giann · 2y ago · discuss

comment 4y ago · link · parent

Fair point

comment 4y ago · link · parent

It’s really hard (impossible?) to have a type system with user defined types and do without a declarative top level.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

Buzz is not an OOP language.

comment 4y ago · link · parent

Safety pin? No its an astronaut and some stars.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

It’s planned yes

comment 4y ago · link · parent

Lua has the same strategy as Buzz around numbers see https://www.lua.org/manual/5.4/manual.html#2.1

comment 4y ago · link · parent

Exposing how? If you mean documentation, Buzz as not yet its reference manual but it'll definitely be there.

comment 4y ago · link · parent

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.

16.

Show HN: Buzz, strongly typed scripting language written in Zig(github.com ↗)

140 points · by giann · 4y ago · 68 comments

17.

Shiplog – A simple journal keeping CLI tool(github.com ↗)

3 points · by giann · 6y ago · discuss

18.

Show HN: Croissant, a Lua REPL and Debugger(github.com ↗)

93 points · by giann · 7y ago · 6 comments

comment 8y ago · link · parent

I think I list a good amount of reasons to use Lua. The focus of the article is far from being fixated on JS being bad.

comment 8y ago · link · parent

This really is not a good argument. You can still write php like in 98, that doesn’t mean you shouldn’t learn modern php if you want to work ever.

comment 8y ago · link · parent

I’m not talking about frameworks. I’m talking about ES5/6/2016/2017/7/8 ... which all add new concepts and complexity.

comment 8y ago · link · parent

Reading the sources I used to search for the correct term, I think I may have been fooled by ancient greek allophones. Ex. : ὁ ἄγγελος /ho áŋgelos/ Anyway like I said, too late to change now!

comment 8y ago · link · parent

I’m talking about the cognitive load of the language. Learning JS is a real complex task whereas learning Lua is not. Learning JS as is is hard since its moving so fast. I think nobody can deny the confusion surrounding the language. Lua is stable is the sense that 5 years from now you will still know how to use it even if you don’t keep up with the latest updates.

Also if you have ever dealt with any babel/webpack craziness recently you know what I’m referring to :)

comment 8y ago · link · parent

It’s stable relative to JS which is a nightmare in this regard.

comment 8y ago · link · parent

Yes it’s feggari but I think that with two gammas, it’s pronounced fengari. Could be wrong I’m not greek. But it’s too late to change :)

comment 8y ago · link · parent

I think you misunderstand the aim of the article. It’s not a case and point against js but for Lua in the browser. When I list positive points of Lua, I’m not implying they don’t exist in JS.

comment 9y ago · link · parent

Interaction with JS with Fengari is as simple as "js.global:alert('hello')" with https://github.com/fengari-lua/fengari-interop

comment 9y ago · link · parent

Fengari gzipped and minified is about 75kb

comment 9y ago · link · parent

I'm the author of Fengari alongside Daurnimator. Please take a look at https://www.youtube.com/watch?v=xrLIgmd8xik (slides: https://www.lua.org/wshop17/fengari.html) for an introduction to it and an explanation as to why this approach is the only viable one to use Lua in the browser and interact with the DOM.

30.

Fengari: Why We Rewrote Lua in JS(medium.com ↗)

10 points · by giann · 9y ago · 2 comments

12