Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
giann
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
giann
11mo ago
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 worki
2.
▲
by
giann
1y 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 t
3.
▲
Buzz 0.5.0 release – a statically typed scripting language written in Zig
(github.com)
2 points
by
giann
2y ago
|
1 comments
4.
▲
Buzz Language – 0.4.0 Release
(github.com)
1 points
by
giann
2y ago
|
0 comments
5.
▲
by
giann
4y ago
Fair point
6.
▲
by
giann
4y ago
It’s really hard (impossible?) to have a type system with user defined types and do without a declarative top level.
7.
▲
by
giann
4y 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.
8.
▲
by
giann
4y 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.
9.
▲
by
giann
4y ago
Safety pin? No its an astronaut and some stars.
10.
▲
by
giann
4y 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
11.
▲
by
giann
4y ago
It’s planned yes
12.
▲
by
giann
4y ago
Lua has the same strategy as Buzz around numbers see https://www.lua.org/manual/5.4/manual.html#2.1
13.
▲
by
giann
4y ago
Exposing how? If you mean documentation, Buzz as not yet its reference manual but it'll definitely be there.
14.
▲
by
giann
4y ago
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.
15.
▲
Show HN: Buzz, strongly typed scripting language written in Zig
(github.com)
140 points
by
giann
4y ago
|
68 comments
16.
▲
Shiplog – A simple journal keeping CLI tool
(github.com)
3 points
by
giann
6y ago
|
0 comments
17.
▲
Show HN: Croissant, a Lua REPL and Debugger
(github.com)
93 points
by
giann
8y ago
|
6 comments
18.
▲
by
giann
9y ago
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.
19.
▲
by
giann
9y ago
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.
20.
▲
by
giann
9y ago
I’m not talking about frameworks. I’m talking about ES5/6/2016/2017/7/8 ... which all add new concepts and complexity.
21.
▲
by
giann
9y ago
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!
22.
▲
by
giann
9y ago
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
23.
▲
by
giann
9y ago
It’s stable relative to JS which is a nightmare in this regard.
24.
▲
by
giann
9y ago
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 :)
25.
▲
by
giann
9y ago
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.
26.
▲
by
giann
9y ago
Interaction with JS with Fengari is as simple as "js.global:alert('hello')" with https://github.com/fengari-lua/fengari-interop
27.
▲
by
giann
9y ago
Fengari gzipped and minified is about 75kb
28.
▲
by
giann
9y ago
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
29.
▲
Fengari: Why We Rewrote Lua in JS
(medium.com)
10 points
by
giann
9y ago
|
2 comments
30.
▲
by
giann
9y ago
I'd love to use emacs as my primary editor. But it's too slow compared to sublime.
More ›