Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lispm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
lispm
2y ago
> Isn't Swift just a mac thing? no https://www.swift.org/install/linux/#platforms > Also note that text editors really thrive on specialized string representations No, it needs specialized editor data s
212.
▲
by
lispm
2y ago
Arc was written in Racket.
213.
▲
by
lispm
2y ago
with Clojure he would have to write it in Java...
214.
▲
by
lispm
2y ago
> but LISP code is not LISP data well, that's obviously wrong. There are so many examples where LISP code is LISP data. It's also just one example, a code for a theorem prover can also be LISP data. The whole idea of LISP is to
215.
▲
by
lispm
2y ago
Strange, I use Lisp and type to a REPL all the time. Now you tell me that is a feature of other languages, not of Lisp?
216.
▲
by
lispm
2y ago
> Telegram is a legal entity that has nothing to do with France That's obviously false. Telegram is providing services to French and EU citizens.
217.
▲
by
lispm
2y ago
> that an individual CEO would be handled in this way seems extreme I would hope that it is pretty normal, that a CEO can be treated exactly that way.
218.
▲
by
lispm
2y ago
The VLM I'm using has the CPU emulated in assembler. Runs okay on Apple Silicon. It uses one core. > And it's worth mentioning that a lot of the crucial components of the Lisp machine system, such as the windowing system, the g
219.
▲
by
lispm
2y ago
On my Symbolics VLM installation (on a MacBook Pro) I can run things in one Listener, let it running its code and switch to the next listener. I can also use the GUI to create a new Listener. I can switch back to the busy Listener and force
220.
▲
by
lispm
2y ago
> Both loops will complete eventually. Thanks for your effort! But I need none of this. I want to open a REPL and type (dotimes (i 1000000) (print i)) - or anything morally equivalent ;-) - and I want it to do its job and the user inter
221.
▲
by
lispm
2y ago
Yeah, that's really good advice.
222.
▲
by
lispm
2y ago
Yes, that runs Common Lisp code in an external Common Lisp instance via a SLIME / SLY connection, using the CL thread features. It can use Bordeaux-Threads as API for threads in various CL implementations. https://github.com
223.
▲
by
lispm
2y ago
I would want to hack Emacs Lisp, not Common Lisp.
224.
▲
by
lispm
2y ago
These "tricks" still don't make two GNU Emacs Lisp REPLs in the same GNU Emacs execute arbitrary Lisp code concurrently.
225.
▲
by
lispm
2y ago
I want multiple Lisp REPLs which run Lisp code concurrently in the same Lisp process. How would I do it in GNU Emacs?
226.
▲
by
lispm
2y ago
> Emacs can native compile packages in parallel via external "jobs"
227.
▲
by
lispm
2y ago
> but at least the UI it's miles ahead on responsiveness. One Lisp REPL doing stuff and GNU Emacs is completely dead as long as the Lisp REPL runs that Emacs Lisp code. It's not even slow, it just is completely non-responsive.
228.
▲
by
lispm
2y ago
From the 1981 4th edition Lisp Machine Manual, page 428ff > 25. Processes > The Lisp Machine supports multi-processing; several computations can be executed "concurrently" by placing each in a separate process. A process is
229.
▲
by
lispm
2y ago
Emacs Lisp gets there anyway, somehow. Just decades later. Examples: Lexical binding. SCHEME in 1975, Common Lisp in 1984. GNU Emacs in 2012. Native compiled code. LISP 1 got that in 1960. There are now native compiled code builds of GNU Em
230.
▲
by
lispm
2y ago
see the word "limited" in the documentation. It's some kind of "cooperative thread" mechanism...
231.
▲
by
lispm
2y ago
I also find a lot of the user code well written. Helps to have various IDE support from the Editor and built-in documentation.
232.
▲
by
lispm
2y ago
> Did their "cpu"(?) had special circuitry for implementing lists, CAR and CDR? It was implemented in Microcode on the CPU. > Was this multi-threaded-ness something built-in in hardware? Some. The process scheduler was writt
233.
▲
by
lispm
2y ago
I would think that people might wish Emacs Lisp would be a more capable application programming language. For example for an editor with such extensive capabilities, it would be useful that the language would provide preemptive scheduled th
234.
▲
by
lispm
2y ago
It's in standards for Common Lisp, ISLISP and Scheme.
235.
▲
by
lispm
2y ago
I've seen the use of the word transducer first in SERIES, a Common Lisp library for iteration by Richard C. Waters. for example: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node352.html#...
236.
▲
by
lispm
2y ago
That cookbook article is a bad example, especially for normal users, since instead of explaining idiomatic cases of iteration, it explains several iteration constructs (where some are extremely complex) in one article: loop, iterate, for, m
237.
▲
by
lispm
2y ago
> whitehouse.gov Not all. The publications distribution feature was implement in Common Lisp. > so a lot of Web stuff was done by fringe Internet/computer uber-nerds That part was actually done by a team from MIT.
238.
▲
by
lispm
2y ago
Yeah, but that's wrong. It's the usual confusion about Just in Time dynamic compilation by the system and incremental compilation by the user. LISP I had an incremental compiler. The user calls the compiler with a list of function
239.
▲
by
lispm
2y ago
COMPILE is AOT, not JIT. Typical Lisp compilers will not dynamically optimize code based on runtime performance metering.
240.
▲
by
lispm
2y ago
> The second approach is Lispy, but that shifts the responsibility of creating abstractions to users. "You" can provide those syntax abstractions as macros. "You" can also use them yourself. But they then can be embed
More ›