News for hackers. Stuff that matters.
Re:Lisp in Your Language by GFK_of_xmaspast on Thursday September 10, 2015 @12:27AM (#10196148)
How is scala a large c-ish or fortran-ish project?
Re:Lisp in Your Language by kyllo on Thursday September 10, 2015 @12:59AM (#10196202)
Greenspun's Tenth Rule is a joke (there aren't even any other rules numbered 1-9). It's not meant to be taken literally.

The point is that low-level languages like C and Fortran (and today, Java) are underpowered, and any sufficiently large project will evolve to the point where someone builds a (often vaguely Lisp-like) scripting language on top of it to allow developers to raise the level of abstraction, maybe without even realizing that's what they're doing.

I have seen this in action, a lot of companies build internal, proprietary scripting languages on top of their low-level programs. They may start out as configuration files, a build system, preprocessor macros, or a DSL, but over time as features get added they accidentally become Turing-complete, and eventually someone writes an interpreter and now you've invented something that serves the same purpose as Lisp, only worse.

More here: https://sites.google.com/site/steveyegge2/the-emacs-problem

Re:Lisp in Your Language by lispm on Thursday September 10, 2015 @01:50PM (#10199471)
> will evolve to the point where someone builds a (often vaguely Lisp-like) scripting language

No, that's not what it is about. It's not about programs needing a scripting language.

It's about the program (its framework, libraries, architecture, ...) itself. It will acquire features like:

  * late binding
  * symbols
  * dynamic data structures
  * serialization format
  * a plugin architecture with loading of code
  * advanced error handling
  * first class function objects
  * automatic memory management
  * specialized numeric datatypes (large integers, ...)
  * a dynamic object system
  * more...
The implementation language will be extended by some framework, software layers, libraries with such features ... so that over time it will implement many of the standard features of Common Lisp

Note that platforms like the JVM, .net and others nowadays provide many of that (and much more). Also language on top of those do: Java/Scala/... See for example how for Java dynamic loading of code has been implemented on top of custom class loaders.