I work on Bun - happy to answer any questions/feedback
I think Bun is written in Zig. Is Zig stable as in 1.0.0, LTS?
The Bun Shell
91–100 of 239 posts
Re: The Bun Shell
#92"JavaScript is the world's most popular scripting language." Perhaps, based on usage. But shell must be the world's most ubiquitous scripting language. Not every computer has a Javascript engine but most have a shell. Many, many computers have no browser, let alone a GUI. Some small form factor computers might have embedded Javascript engine but that's a minority. No browser on the router.
Re: The Bun Shell
#93I work on Bun - happy to answer any questions/feedback
I think Bun is written in Zig. Is Zig stable as in 1.0.0, LTS?
Re: The Bun Shell
#94Earlier quoted context omitted.
I prefer YAML on my Markdown front matter. It's more readable because of no brackets, quotes, or commas.
Seconding the sibling, YAML may look nice but it's absolutely full of awful confusing behavior. If you don't like JSON for human-written stuff, see TOML or the like. I think JSON is great for serialization, it's so simple, but I agree we need something more readable like TOML for human-written data. https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...
Re: The Bun Shell
#95It feels like the people behind bun are trying to differentiate from node so much that they sometimes don't stop to ask why. I'm sure there's a use-case somewhere, but if I'm using js I will just use a regex instead of reaching for grep. If I want the shell I'll use the shell.
The most common usecase is probably “I have `rm` in the scripts section of package.json, and it doesn’t work on windows.”
> # WARNING: No stability is guaranteed on the experimental Windows builds
Now your scripts simply will randomly break on Windows and you won't even know why!
Re: The Bun Shell
#96Re: The Bun Shell
#97Re: The Bun Shell
#98Re: The Bun Shell
#99I am pretty Python already have all of these? One could just write Python CLI that wraps Python stdlib to do all of these.
Re: The Bun Shell
#100Small nitpick but on Arch, /bin/sh is a symlink to bash so it's measuring the same thing.
On many systems like Debian, /bin/sh is dash instead (though default interactive shell remains bash) which is actually a few times faster, for start up and in general.