3,846 karma · joined September 11, 2022
Reach me at tmt_vdl@gmx.com.
1. Don't load too much at startup, use use-package's :defer keyword where ever it makes sense.
2. Set gc-cons-threshold to a very large value during initialisation and turn it back down again once everything's loaded. That said, most-positive-fixnum is probably overkill and I should look for a way to reliably set it to half of my PC's RAM.
A less important third way to reduce startup times would be to byte compile everything (possibly even the early-init.el, init.el, and custom.el files, although that does mean you need to recompile whenever you change anything), but that doesn't gain you much.
Making that random big_file and opening it and editing it should be trivial under any editor (works perfectly fine under Emacs because it gets opened in fundamental mode, even opening it in hexl (hex editor) mode is fine), opening a 40M JSON file is a different can of worms (because it's a larger file Emacs will offer to open it in fundamental mode anyway, which means sacrificing QOL features for performance).
Emacs does start fairly slowly, though, takes about 0.6 seconds.
Rest in peace, mister Curry (inconceivable that he wasn't knighted).
> "There's a tendency among the press to attribute the creation of a game to a single person," says Warren Spector, creator of Thief and Deus Ex.
1. Getting otherwise sedentary people moving.
2. Giving people a way to form social bonds with others over a shared hobby.
Anything beyond that is probably speculative and may depend on the school/teacher.
(define abc:def 3)
(define :ghi 4)
(* abc:def :ghi) ; => 12
In Common Lisp a colon is a package separator, with an optional package which defaults to the keyword package if not given. (eq :foo keyword:foo) ; => t
I don't know about Clojure or Racket because I don't know much about Clojure or Racket. I know Clojure differs in various ways where syntax is concerned to Common Lisp or Scheme (I do like the idea of using square brackets to visually indicate that a collection of atoms may not represent a function call, I hate the idea of the comma being a whitespace character) and that Racket has different languages (though I don't know what that means in practise).That said, I don't quite know what to think of your third sentence:
> Clojure tends to use them very heavily though, and last I looked it seemed like Racket used more lists
I suppose them refers to keywords? But Racket uses more lists compared to how much Clojure uses keywords? As lists have more uses than keywords that seems likely, though as I said: I don't know anything about Clojure or Racket apart from Racket once being called PLT Scheme.