Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lispm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
451.
▲
by
lispm
3y ago
> Lisp traditionally has these features Lisp has traditionally a two stage syntax 1) S-expressions 2) Lisp S-Expression level has a syntax to describe data: lists, conses, numbers, symbols, strings, arrays, ... Lisp syntax is defined on
452.
▲
by
lispm
3y ago
A society determines which harmful substances (and its effects on the individual and the society) it tolerates and how. Alcohol is in Germany tolerated (more than in the US) and it is also a huge legal business. I'm for tolerating both
453.
▲
by
lispm
3y ago
" https://dl.acm.org/doi/pdf/10.1145/1006147.1006176 " "LEVEL LANGUAGE DEBUGGING WITH A COMPILER" -> about LispEdit
454.
▲
by
lispm
3y ago
Looks like this was an application: YES/MVS https://cdn.aaai.org/AAAI/1984/AAAI84-032.pdf About Lispedit: https://dl.acm.org/doi/10.1145/1006142.1006164
455.
▲
by
lispm
3y ago
Evaluating conditions don't introduce bindings in COND. In Lisp typically bindings are only introduced in forms together with scope: DEFUN, LET, and a lot of other constructs. Binding construct which affect forms outside its syntactic
456.
▲
by
lispm
3y ago
the documentation of pcase: https://www.gnu.org/software/emacs/manual/html_node/elisp/pc... first cond* version: https://lwn.net/ml/emacs-devel/E1rQJDv-0001UG-2E@fencepost.
457.
▲
by
lispm
3y ago
Scope of the bindings is the problem, not the bindings itself.
458.
▲
by
lispm
3y ago
But with an effort to be backwarts (sic!) compatible. Code moved from Maclisp to ZetaLisp to Common Lisp. One can write (mapcar (function (lambda (...) ...)) ...), but the (dolist (...) ...) is still there. Even PROG is still there. For Sch
459.
▲
by
lispm
3y ago
Let's assume they had 10 times the people and something between 5 to 20 times the code size. Going from 100 to 1000 people adds a lot complexity. I would think that adding good and experienced managers is important. Keeping all these p
460.
▲
by
lispm
3y ago
One can absolutely work in groups using Lisp. There are a lot of examples for that. Often the groups don't need to be that large when working in Lisp. Code in larger projects tends to be more compact. I heard for example of 1/10th
461.
▲
by
lispm
3y ago
The difference has not been "provided by me", the discussion around Lisp family vs. dialects goes on for several decades. We had the same discussions on comp.lang.lisp decades ago, while Scheme users then had their own comp.lang.s
462.
▲
by
lispm
3y ago
Lisp usually means a Lisp which identifies as such: Common Lisp, Emacs Lisp, ISLisp (which is an ISO Standard), Emacs Lisp, AutoLisp, Interlisp, ... Languages like Scheme have their own standards (RNRS, IEEE Scheme, SRFI, ...). It's pe
463.
▲
by
lispm
3y ago
Sure it is a lot. It is extremely much. Your mistake is to compare it to the US. The US spends more, but for its world-wide empire, much of which has nothing to do with defending Europe or even NATO. That's not what Europe needs do.
464.
▲
by
lispm
3y ago
The funding is less of a problem. European countries spend a lot. It's just very diverse. The US has one army and one commander. Europe has 20+ armies and as much commanders. Around 250 billion a year is for example a lot more than wha
465.
▲
by
lispm
3y ago
The level of nonsense is amazing. AGI is far away and not yet a problem of "compute power". We've seen with Autonomous Driving what these statements are worth. Albania is using ChatGPT to speed up EU accession by upto 5.5 yea
466.
▲
by
lispm
3y ago
> The programs that people use directly are written in C++. There is a lot C/C++ around and they are widely used to implement runtimes for other languages, incl. garbage collection. Lot's of software people use directly or indi
467.
▲
by
lispm
3y ago
> I asked 'the people who use software' and they don't like excessive memory usage or stuttering from bulk collection. Two of the most widely programming languages are implemented on top of garbage collected runtimes: Java
468.
▲
by
lispm
3y ago
Paging would be another option. Virtual memory was slow and the GC integration with virtual memory wasn't very sophisticated at that time. Also main memory was probably tiny.
469.
▲
by
lispm
3y ago
They also had "relatively large main memories" ;-) "(~1 megabyte) and virtual address spaces (4-16M 16 bit words)". I would guess the CPU speed would be rated less than 1 MIPS.
470.
▲
by
lispm
3y ago
> Lisp is that it's sorta bundled with Emacs ... Essentially, Lisp is not just a "language" ... All of this together makes "Lisp" the powerful and enlightening tool that people talk about Here we have a conflict:
471.
▲
by
lispm
3y ago
Two different very early Lisp Machines (a Xerox Dolphin and a MIT CADR), which are personal workstations running a Lisp operating system with early graphical user interfaces, are being demonstrated, from Xerox PARC. Both machines are integr
472.
▲
by
lispm
3y ago
The KamilaLisp repository contains a version of ABCL (Armed Bear Common Lisp for Java) and of Fricas (a computer algebra system written in CL). What are those used for?
473.
▲
by
lispm
3y ago
> While what you actually want to do, is connect your editor to the REPL, put the REPL in the background then evaluate code with a keyboard shortcut from your editor, and see the results in your editor. In Lisp I would use both. In some
474.
▲
by
lispm
3y ago
SLIME for Lisp exists since a long time. It has a server component. From what SLIME provides, one can see that the functionality used for interactive Lisp programming is different what one would use for many other languages. One is not comm
475.
▲
by
lispm
3y ago
> I only mention it as I don't think many in the CS field get exposed to it. Because it is a specialized commercial offering. > Oh I agree that a Lisp machine or Smalltalk machine is turtles all the way down. Many non-Lisp-Machin
476.
▲
by
lispm
3y ago
One of the main differences is that much of Mathematica is written in C++ (for example the UI). The Mathematica language then itself is a slow language (term rewriting, is not a really good low-level language). Medley is written is largely
477.
▲
by
lispm
3y ago
Reducing indentation is mostly a non-goal in Lisp. Can't work with nested lists? Don't use Lisp. Lisp processes nested lists. Lisp means List Processor. You may want to do it in a text oriented language, but not so much in an expr
478.
▲
by
lispm
3y ago
Lisp is not "line oriented", but "expression oriented". Lisp is a "List Processor", not a "Text Processor". If you want to group expressions in a REPL into one expression, use PROGN (or similar). The
479.
▲
by
lispm
3y ago
> And some Scheme code: (if (cond) (begin (preamble) (define a 5) (do-stuff a)) (do-stuff 6)) This is not defining a local variable in Scheme. The various Scheme standards also require
480.
▲
by
lispm
3y ago
Programming languages may let you define variables by assigning them. But the scope can differ across languages. Common Lisp requires one to clearly define the scope. PROGN does not create a scope. > Why does LET even exist as an alterna
More ›