Why didn't you tell me about this LULZ? I thought this board was supposed to tell me about revolutionary technologies.
This thing gives me interpreted clojure(basically lisp) at the speed of bash. And I fucking love it. bashtards eternally btfo'd. And did I mention that it's blazingly fast. Not written in rust btw. It's written in clojure and compiled to native using state of the art GraalVM.
we already have sh
we already have zsh
we already have fish
but now we got lisp in the terminal, fully interpreted and blazingly fast. It's funny how the real gains have been going on Java-land. The language that's unanimously hated by everyone.
What language? Spanish?
we already have csh.
shill me csh
>t. used all bash, zsh and fish
Nobody uses lisp ffs. Nobody will use lisp even after this.
ever heard of eshell?
>but now we got lisp in the terminal
Eshell in Emacs is where it's at
retards see scary round boys around every block and get filtered
btw it has full nREPL support for IDE features, no need for LSP garbage
looks neat
i'll never use it
>70 MB binary
>doesnt even work with 90% of existing Clojure libraries
its shit, Michael. i will script in Golang and Common Lisp before I script with Babashka
>smaller ecosystem is bad which is why i use CL instead
impressive cope
OK retard lets compare writing scripts in lisp even if this is an immensely retarded idea.
>Common Lisp
>most implementations start up in 10 - 15 ms (SBCL, CCL, and ECL do)
>can use any CL library i want
>compiles to a binary easily
>said binaries are always smaller than babashka
>Babashka
>starts up in 50 ms, barely faster than python
>shitty interpreter that bundles shit you will never use in scripts anyway (malli, hiccup, ring, ...)
>doesnt play nicely with any java library that wasnt baked into the bb binary
>anything in the clojure ecosystem not baked into the babashka binary is essentially unusable as a result
>most clojure projects use it as a glorified Makefile or thin wrapper over tools.build
>as a result most babashka scripts are just (shell/sh "thing you write in fucking bash anyway")
Yeah no thanks. I use Clojure at my job but I'm not enough of a retarded cultist to use fucking Babashka over plain shell scripts, and even if I wanted to be a retard who writes scripts in lisp, Common Lisp is better by just about every metric (startup time, run-time performance, being able to use 3rd party libraries without a PhD in GraalVM internals, producing binaries easily, ...)
what the fuck kind of retarded cope is this, bb isn't a distinct general purpose language, it's made for specific use cases. if you need java interop or binary builds, you just make a regular clojure project. apples and oranges. not even touching on the fact that the CL ecosystem is so tiny that there are probably more useful pure-clojure libraries.
if you already prefer CL for whatever reason then you do you, but calling babashka useless is cope
Babashka is indeed useless. At least Node Babashka is better since it runs directly atop Node.js, so you can actually use it in e.g. AWS Lambda. But babashka itself often gets used as nothing more than a thin wrapper over the Clojure CLI. Show me a Clojure project where Babashka cant be replaced with one-line invocations of tools.build or a simple Makefile. I'll wait.
Its runtime performance is dogshit compared to even ClojureScript, and SCI itself doesnt even implement most of the base language.
> if you need java interop or binary builds, you just make a regular clojure project.
now THIS is cope
>> if you need java interop or binary builds, you just make a regular clojure project.
>now THIS is cope
Do you think babashka is supposed to be some kind of replacement for regular clj/cljs? That's incredibly retarded, it's just an ad hoc scripting tool that's saner than bash (even if you abuse (shell ...) a lot).
Nothing will ever kill bash, so if you're not gonna use it, you may as well pick something you like.
>still arguing in extremes
OK let's take a simple example: use Babashka to read a YAML file, substitute in some environment variables, then send it off a Kubelet. This is trivial with shell scripting
cat thing.yaml | envsubst | kubectl apply -f -
To do this in Babashka? You have two routes:
>spam `shell/sh`, which defeats the whole fucking point of babashka
>try using nubank/k8s-api, which doesnt work due to GraalVM quirks
So yeah... I will simply not use Babashka. Again, at least Node Babashka has *some* value since Node.js is way less retarded with interop than GraalVM native images are (not to mention nbb starts up faster and lets you actually use 3rd party libraries).
I used to be like you, trying to do literally EVERYTHING in Clojure or some other Lisp. Though constantly facing little bumps like this made me realize it's all pointless. Even if you force me to use Babashka for scripting, I would pick nbb, not bb.
>I used to be like you, trying to do literally EVERYTHING in Clojure or some other Lisp.
No, my goal is to do less in bash scripts. If bb didn't exist, I'd probably just use Ruby or Perl more often. Even fucking Powershell is better.
The whole "oop I gotta shell out one time, may as well just write a whole fucking shell script" mentality has caused me too much fucking pain, sometimes even inflicted by others. It's rare I find myself in a situation where this attitude is actually correct these days.
>Even if you force me to use Babashka
Nobody cares what you use.
>ignoring the actual example and cherrypicking tiny phrases
so you have no argument, got it
>cherrypicking tiny phrases
His argument was bullshit like
.
>cat thing.yaml | envsubst
this is insanity
for me, its tcc -run -
>Why didn't you tell me about this LULZ?
we did
bash outlive us all. Enjoy wasting time learning some pointless tinker trannyware.
Is that logo supposed to be the unabomber?
based, installing the shit ass laggy grannyscript now
nice unabomberware
for a moment I read this as "unaboomerverse"
Holy based. That's it, I'm installing it right now.
What does LULZ think of nushell (other than crab lang)
Guile will replace bash.
Thanks, but I'll stick with perl(1) and its sweet startup time.
Perl is an absolute abomination.
But it is useful.
>Perl is an absolute abomination.
name them
*the abominations
rakku
while (<>)
you can always do
while ($line = readline(STDIN)) { }
or
while ($line = readline(ARGV)) { }
>bash
it's just enough for me
bash runs the world and has no competitor
tcl came close at one point but fell out of fashion pretty quickly
Ukraine lost.
>muh closure
>muh lisp
>muh scheme
Parenthesistards are so fucking annoying. They have to have a parenthesis version of literally everything.
They are the second most annoying fandom in tech. The #1 is of course vimtards, that have to have vimbindings even on their mother.
Nobody cares about your weird parenthesis fetishes, moron. Stop making a parenthesis versions of everything.
No fuck you anon S-expressions are the way to go and I won't stop israeliteing up everything.
>another one filtered by parenthesis
Maybe R*st is more to your liking
Why don't you share with us what's your favorite programming language? I promise I wont write a lisp flavor of it. :^)
lel a thread full of morons
it's a lost case OP, we can't have nice things
>clojure
Gross.
I just realized bashtard sounds like bastard
>bashka
:DDDDDDdddd
bro we've had common lisp since the 80s, this isn't revolutionary
also most schemes are better for this as well, clojure is playing catch-up since they are largely stuck relying on other VMs
Redpill me on scheme. What's so good about it from the other lisps? Clojure has 2 things going for it. Java ecosystem and JavaScript ecosystem now even some guy got flutter working so clojure/script can make mobile apps as well.
Scheme, the least portable portable language known to man with a community so fractured it makes the mess that was Python 3.0 look inconsequential.
Just use CL
what the fuck did you itoddlers abstracted again?
honestly the only reason i haven't tried babashka yet is because the name is just so retarded. like it just sounds dumb as hell. I'm not gonna use something comfortably if i don't like the name and the logo, and for that reason, I'm out.
I have never written a shell script in my life. I don't expect to start any time soon.
start now
>I thought
Doubtful.
>clojure(basically lisp) at the speed of bash
So it gives you a flavour of the week language at glacially slow speeds? How underwhelming.
And I agree about BASH being BTFO'd, but only if you will agree that BTFO means "Bash - The Finest Offering."