Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)NY
Posts
2
Comments
20
Joined
2 yr. ago

Rust Programming @lemmy.ml

Is it worth it using Rust+Axum for backend instead of Node.js? In which situations would you do so?

  • Models could be run offline and/or free, e.g. gpt4all, starhugger for emacs, huggingchat... Also, this is a fast-pace changing industry, we can only try and adapt using such tools at our disposal. You might use a tool or service that uses AI and don't even notice it.

  • I’ve done some small extension development for vscode and hated it

    I respect your argument

    Commercial arguments are a thing, but a bit reductive no?

    I meant you're putting into practice a language/tech that has real and great demand than one that has little to none outside the specific domain of a text editor

  • Why so? Do you work with lisp languages? I've been recently fiding learning [e]lisp a con since it's basically a domain specific language. Only Clojure has a bit of commercial opportunities, but even then it's better to learn JavaScript/TypeScript for its greater use cases. Also, if I wanted to play with functional programming I'd go Haskell, Lean, or even Shen.

  • I also think this is the way. Glad to know I am not alone. Thank you!

    PS: I have a pretty nice and modularized GNU Emacs config, but it's to me just as Lex we are missing a ton by constraining only on GNU Emacs.

  • Emacs @lemmy.ml

    Is GNU Emacs still worth it?

  • Basically all that. The unfinished part IMO is mostly for use in developer use cases, and that some ecosystems like JVM are not as well supported.

    Can run yes, given that you have to spend some time learning Nix and NixOS specifics. I do that myself.

    You either package the software if it is easy to do so—take a look a at nix-init which eases the process—or use Flatpack, containers, steam-run...

  • It all began with Nix software build system and package manager; they needee a way to build, compile software in a reproducible way. That is, if it builds on my machine, it should build on yours too given some constraints. Then they build a whole package repository for such sofware or package definitions, Nixpkgs, that can be build or retrieved using Nix package manager. Nixpkgs grew to be a repository for enabling runnig an GNU Linux OS on it: NixOS. It is declarative in the sense you write what it should contain like packages and behaves like system services. For example, see https://git.sr.ht/~misterio/nix-config.

    Atomic in the sense that when you want to change system's configuration or state, everything should suceed in that update, otherwise fails; it is everything or nothing. This enables storing previous and current system revisions, so can rollback to previous state.

    Nix plus things like flakes, nix shell, enables a build inviroment akin to containers, but much better, correct, and flexible.

    Haskell is just an ecossytem Nixpkgs support.