• 3 Posts
Joined 1Y ago
Cake day: Jun 28, 2020


Is there a TWM that works well out of the box? no

I love about sway/i3 → my desktop doesn’t change. Once you got everything setup the way you like it, stuff just works. Beside this, switching between applications on different workspaces becomes a natural thing to do. When I think file-manage, my fingers press alt+3 and the focus is on the file manager… that is the magic of tiling window managers.

It seems like you misunderstood my point. By saying that we should use more resources to make computing simpler I meant something like using a garbage collector, which trades some computing cycles and memory for better productivity and not something like bloating stuff up by using Electron. A lot of programming languages where designed when computers where slower and had not much memory. I would happily give 5% of performance and memory to have another improvement in productivity like the invention of the garbage collector gave us.

… and now it actually feels more productive than Java.

Java has always been full of boilerplate code, therefor it never really was very productive (maybe when compared to C++). I don’t get why anyone still writes Java, when there is Kotlin.

  • Java code is approximately 50% shorter than C++ code
  • Kotlin code is approximately 50% shorter than Java code
  • Haskell code is approximately 80% shorter than Kotlin code

→ what takes one pages in C++, takes 2-4 lines in Haskell.

To the Nushell discussion: Nu is my main shell and I have contributed a bit of code to it in the past.

Between two Lisps

Out of all Lisps I’ve the ones I’ve come to appreciate the most are Scheme and and Common Lisp. These two languages are fundamentally very different: Scheme is a minimalist language built on the foundations of lambda calculus, while Common Lisp is a multi-paradigm synthesis of many Lisps before it…

Do you actually think that Rust can and should replace all or most other programming languages?

No, Rust is the wrong tool for that. Rust is a good choice if your working on low level code or have high speed requirements. Like 95% of the time it is a better decision to trade some speed and space for better productivity. I would even argue that we don’t push simplicity enough. Computers are becoming faster and faster, we should create simpler programming languages that use more resources.

In my ideal world we would write operating systems and drivers in Rust and all other things in a Lisp like language. Yes Lisp, because Lisp is decades ahead of what most other programming languages offer and at the same time Lisp is very simple at its core. The developer workflow is totally superior, to an extend, that when explaining it to a normal developer, it will be outside of the scope of understanding. Not because its difficult, but because it is so different. Too bad, that a lot of Lisp languages are outdated and have a not so practical std lib for today’s world. This doesn’t change the fact that Lisp is IMHO the best solution to programming humanity has invented. If you don’t believe me that Lisp like languages are so fare ahead, watch this talk . There are a lot of interesting and very good ideas outside of the usual programming world that should be used by the mainstream (no I don’t think Clojure is THE language, they just have some good videos online).

Long time ago I had a look at the source code of exa and was shocked about the code quality. Maybe it improved in the mean time, but since then I"ve never installed it on any of my computers again.

written in rust != good

Might be interesting for some of you if you have never heard of transducers before. In programming there are some ideas that are great but not widely shared. …