Дістро на Ліспі
Яка гарнюня: https://www.gnu.org/software/guix/
Вся the configuration system написана на Guile.
(define %my-services
;; My very own list of services.
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(use-substitutes? #f)
(extra-options '("--gc-keep-derivations"))))
(mingetty-service-type config =>
(mingetty-configuration
(inherit config)))))
(operating-system
;; …
(services %my-services))
Я вражений!
At the Scheme level, the bulk of an operating-system declaration is instantiated with the following monadic procedure (see The Store Monad):
Monadic Procedure: operating-system-derivation os
Return a derivation that builds os, an operating-system object (see Derivations).
The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate os.
Ааааа, the stored monad!
Колись, коли майже 9 років тому я писав кастомний лайнукс дістро (для стартапа, який лопнув ще до етапу MVP, гагага), то намагався геть усе писати на Tcl. Інсталятор був на Tk, частина скриптів у /etc була на Tcl, тощо. Tcl був вибраний, бо він був крихітній, uber fast, не потребував ніяких dependencies і мав Tk.
Але в порівнянні з оцим guix дістро, то було ніщо, нуль. Ці пацани з Guile це як Генрі Форд vs. паровий двигун.

no subject
no subject
no subject
оно показало мне очень каличное окошко, я охуел и ушел дальше писать на Perl
это было ОЧЕНЬ давно
no subject
других проблем что ли у стратапов нет?
no subject