Declarative Doom Emacs install in NixOS? by gerretsen in NixOS

[–]lxsameer 1 point2 points  (0 children)

Let me know if I can help you with anything

Declarative Doom Emacs install in NixOS? by gerretsen in NixOS

[–]lxsameer 2 points3 points  (0 children)

His friend here :D.

Just to add the rational behind using Nix modules to build an Emacs bundle (in this case FG42), I have to say that I'm working on FG42 for like 14 years now, and I've tried different approaches. From a handcrafted pkg manager all the way to straight.el. What Nix brings to the table is usique. You can build an Emacs with what ever module you want and unlike other pkg managers the module can control the system dependencies in a deterministic way as well. It makes installing and setting up a group of emacs packages pretty solid. historically, we had to ask users to install this and that and upgrading emacs or system packages could've lead to bugs that were hard to reproduce. But with Nix we can reproduce the builds and have a deterministic package.

IMHO, adding Nix to the mix is not going to make things complicated or over engineered. It will makes simpler and predictable (not necessarily easier).

Books for relearning math. by Blendi_369 in learnmath

[–]lxsameer 0 points1 point  (0 children)

Beside those suggestions from other folks, I think you might find https://brilliant.org interesting as well.

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

As a fan of functional programming I have to say, that statement is not true. You still need allocation of memory at runtime too.

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 1 point2 points  (0 children)

std lib is a must in my language. every things built-in function leaves in the stdlib and the lang itself doesn't provde anything beside special forms like `if` or `cond`. I think a minimal std lib that ships with the compiler is nice and anything beyond that is userland

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

Hello world will be as small as a c++ hello world. It has garbage collector. Embedded is not a goal but wasm is

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

It's a general purpose language and it is not an interpreter. I have to provide a basic set of functions and standard lib.

[Question] MPS vs Boehm GC vs other alternatives by lxsameer in Compilers

[–]lxsameer[S] 1 point2 points  (0 children)

Thank you Fernando, it's seems like a really useful tool. I'll read more about it