[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: canvas.mp4 (3.67 MB, 1242x1204)
3.67 MB
3.67 MB MP4
Canvas edition.

>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Browse imageboards in Emacs Org-Mode
https://github.com/eNotchy/4g

>Emacs Distros
https://github.com/caisah/emacs.dz

>Elisp
Docs: C-h f [function] C-h v [variable] C-h k [keybinding] C-h m [mode] M-x ielm [REPL]
https://gnu.org/s/emacs/manual/eintr.html
https://gnu.org/s/emacs/manual/elisp.html
https://github.com/emacs-tw/awesome-elisp

>Common Lisp
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lisp-docs.github.io
https://awesome-cl.com

>Scheme
https://scheme.org
https://standards.scheme.org
https://go.scheme.org/awesome
https://research.scheme.org/lambda-papers

>Clojure
https://clojure.org
https://tryclojure.org
https://clojure-doc.org
https://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://jafingerhut.github.io/cheatsheet/clojuredocs/cheatsheet-tiptip-cdocs-summary.html

>Other
https://github.com/dundalek/awesome-lisp-languages

>Guix
https://guix.gnu.org
https://nonguix.org
https://systemcrafters.net/craft-your-system-with-guix
https://futurile.net/resources/guix
https://github.com/franzos/awesome-guix

>SICP/HtDP
https://web.mit.edu/6.001/6.037/sicp.pdf
https://htdp.org

>More Lisp Resources
https://lisp.nexus
https://rentry.org/lispresources

(add-to-list 'previous-threads >>109444547)
>>
File: jwno-emacs-repl.jpg (420 KB, 1366x768)
420 KB JPG
Has anyone here worked with Jwno? Any configs, scripts etc. to share?

I'll be firing up my Windows partition this weekend just to play with this
>>
This is very cool
https://www.lambda-symbolics.com/autolith
https://github.com/lambda-symbolics/autolith
>>
File: nostr-global.png (94 KB, 760x1120)
94 KB PNG
>>109537935
>A public-social Nostr client for Emacs
https://github.com/trevarj/nostr.el
>>
>>109599277
>What I don't like in clojure is that I'm getting tripped on "silent failure". The defaults seem to work alright when something is a nil or a weird type. It is either that or some gigantic java stack trace it seems. Skill issue I know.
>trvke
>>
File: sfsim.jpg (103 KB, 920x430)
103 KB JPG
Written in Clojure
https://www.youtube.com/watch?v=bbmusPm7QZc
https://wedesoft.github.io/sfsim/
https://github.com/wedesoft/sfsim
>>
>>109598616
it's just so goddamn visually ugly
>>
>>109596884
using guix is cool and all, but emacs is pretty simple to compile using the prerelease tarball
>>
>>109598616
Can you capture a mouse in emacs window and make a 3d game?
>>
>>109601131
Why do more when you can do less?
>>
>>109601363
but it's more work to install guix and maintain it than it is to compile emacs. the compilation takes like 2 minutes
>>
>>109601387
It's not that hard and once you're done (as done as you are with your init if you know what I mean) there's not a lot to worry about.
Also somewhat related, does anyone know how guile-emacs is going?
>>
>tfw the macros work just right
>>
>>109600754
skill issue
>>
Not to be one of those guys, but any real use ass for lisp? I like the idea of being able to interpret code as data in a uniform way, but I don't see huge boons of using it. I could see some usecases for low level stuff but lisp is not very low level like C as far as I know.
>>
>>109601496
>guile-emacs
last I checked the project was paused because the core developer no longer had time :(
>>
>>109601496
I think there are multiple attempts at this. Here's one of them.
https://codeberg.org/ramin_hal9001/schemacs
>>
>>109602898
Lisp can be lower level than C. You can write assembly instructions directly, make use of SIMD, add compiler macros for optimizations, immediately disassemble functions after defining them to check or verify what they're doing.
It can also be higher level than C. Great things come from combining levels.
https://www.stylewarning.com/posts/nbody/
>>
>>109604770
how is any of what you mentioned lower level than C? at most it's as low-level at C, if you neuter most of the language. I like CL but let's not be delusional here.
>>
>>109604809
What makes it lower level in this case is not about reachability, otherwise any language with an FFI or some imported tooling can reach the same floor. Instead it's whether, when dealing with those low level details, whether you have to leave the ordinary, idiomatic use of the language you're already in. https://pvk.ca/Blog/2014/03/15/sbcl-the-ultimate-assembly-code-breadboard/ is another example. While there are libraries for things like dynamic assembly generation in C, it's not exactly idiomatic; rather, the idiomatic thing when choosing to write assembly instructions manually is to just switch to non-C inline assembly strings and let the external compiler deal with it. In contrast Lisp lets you do it with Lisp code, and the compiler is available as just another runtime function. Machine registers and instructions are exposed as normal Lisp objects manipulated with ordinary Lisp code and all within the same running image rather than separate steps. You don't have to put the language into some sort of neutered mode to do it either.
>>
>>109605281
Another example of something that can be lower than C would be Forth. C is often called a high level language because it abstracts away a lot of machine details. Forth abstracts some too, but leaves more of the machine within idiomatic reach. Developing a Forth program is traditionally done by running Forth on the target hardware itself, typing new word definitions over a serial line straight into the chip. There's no separate compiler or debugger step.
>>
>>108607257
Good news: you can now use lexical-binding in Eshell.

https://github.com/emacs-mirror/emacs/commit/f856da36cd3
>>
Rust has proc-macros and a very powerful type system with a pleasant notation for annotating most things, including lifetimes of data, which are useful typographic constructs for consideration when developing/perfecting many algorithms, and can easily be overridden with Rc, Arc, .clone(), or whatever, and still generally be faster than almost any other language today.
it's not as conducive to exploration, but big codebases where you want to stop obsessing over the 20 different internal libs you have using the one you just changed and you want to make sure all the holes still fit and what-not.
this and raw SQL of course (the Postgres variant of course), you should be writing DB tables often, in fact SQL is probably 70% of what you should be writing.
>>
File: rustchud.png (35 KB, 920x688)
35 KB PNG
>>109606145
>Scheme: hygienic macros
https://doc.rust-lang.org/reference/influences.html
>>
>>109606429
https://github.com/CeleritasCelery/rune
>>
Why does it spam me this shit at the start?
>>
File: algol logo.png (91 KB, 3512x1280)
91 KB PNG
>>109606145
>>
>>109605370
> leaves more of the machine within idiomatic reach
We do what we can.
>>
>>109601243
https://github.com/minad/doom-on-emacs
like this?
>>
https://github.com/yaoshiu/opus

>The primary design goal of Opus is to minimize the language's trusted computing base (Special Forms) while maximizing its expressive power through orthogonal abstraction.

>Unlike traditional Lisps that separate functions (applicatives) and macros, Opus unifies them into a single primitive: the operative ($vau). Furthermore, environments are treated as first-class executable values. In Opus, the traditional eval function is conceptually replaced by applying an environment to an Abstract Syntax Tree (AST).

>This paradigm shifts the responsibility of language features-such as hygienic modules, sandboxing, and control flow-from compiler/interpreter-level implementation to user-land code.
>>
File: 1728297184272.jpg (117 KB, 970x824)
117 KB JPG
>>109610165
Usecase?
>>
do you ever fight other computer users about which color of sticker they have on their laptop? I feel like elispers do that. But, what about clojurists or schemers?
>>
File: 1761434428889620.png (58 KB, 404x359)
58 KB PNG
>>109612298
>>
File: laptop_stickers.jpg (30 KB, 596x335)
30 KB JPG
>>109613319
do you know what I'm saying dawg?
>>
>>109613353
I don't have a computer. I use solely pen and paper. This is being dictated to an amanuensis
>>
>>109613353
that does look like the wrong purple
>>
Is the change from doom to vanilla noticeable in speed? I don't really care about boot speed. I mean stuff like opening buffers, input delay, org agenda and all that? For some reason my emacs takes a couple seconds to open the agenda and I experience many other small hiccups
>>
>>109609770
>https://github.com/minad/doom-on-emacs
very cool
>>
>>109613875
the difference is noticeable in self esteem. before i switched to vanilla i wanted to kill myself now I barely think about killing myself.
>>
>>109613875
In my experience, doom is slower than vanilla in general, not just at boot. Last time I tried doom, I remember that there were a lot of random freezes and that it was just much less snappy than vanilla emacs with my personal config.

I think this is due to the crapton amount of meme extension that doom enables by default (doom modeling is a notable example that usually causes issues).
Another thing that could give you input delay could be stuff like company mode (for code completion) enable by default (but this could be a problem in vanilla too).
>>
>>109617821
>>109613875
*Doom modeline, not doom modeling
>>
>>109612114
>Usecase?
bumping this thread
>>
how do I convince my company, mostly a java angular place, where we have dificulty to use even python, to let me use lisp?
>>
>>109599179
Nice.
https://news.ycombinator.com/item?id=49376197
>>
>>109618609
Show you can integrate it with the existing java code.
Alternatively create a useful internal tool that just so happens to be made in Lisp and show how much faster it was to build it.
>>
>>109620797
Won’t make a single bit of difference in the vibenigger era
>>
>>109581474
you can now read the emacs 30 antinews
https://github.com/emacs-mirror/emacs/commit/1988e330c1c
https://github.com/emacs-mirror/emacs/commit/0914969e0ef
>>
>>109598616
c-mode doesn't seem to handle attributes with the [[gnu::whatever]] syntax, the highlighting just fucks up, im not good enough at elisp to fix it or write a hook, any help?
emacs 30.2, c-version 5.35.2
>>
>>109618609
Clojure?
>>
>>109618609
Make something cool with it.
>>
>>109621462
c-ts-mode is supposed to be able to handle this.
However, if you want to stick with c-mode, you can try this.
(add-hook 'c-mode-hook
(lambda ()
(font-lock-add-keywords
nil
'(("\\[\\[\\(.*?\\)\\]\\]" 1 font-lock-preprocessor-face)))))
>>
File: LiGNUx.png (319 KB, 1622x970)
319 KB PNG
GNU Emacs or MicroEMACS?
https://www.gnu.org/software/emacs/
https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git
>>
>>109627892
vote GNU no matter who
>>
File: Stereolabdotsandloops.png (73 KB, 316x316)
73 KB PNG
Theme with this aesthetic?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.