103 points · by MCRed · 11y ago · 27 comments
"Inspired by LISP’s etymology of “LISt Processing”, our fundamental data structure is a join-semilattice, hence Lasp."
(Disclaimer, I'm one of the primary authors of Lasp, @cmeik on Twitter)
The paper that will be presented as part of PPDP 2015 [1] will contain language semantics for a subset of the operations in the language (and we will continue to provide these, with the end goal of having a standalone language.)
(Disclaimer, I'm one of the primary authors of Lasp, @cmeik on Twitter)
I would love to see more "languages" that are either:
1. alternative syntaxes (with their own semantics) for existing languages (Lisp-Flavored Erlang, for example); or, better yet,
2. [reader-]macro libraries (as used in DSLs, but not Domain-Specific) implemented within sufficiently flexible languages, which encapsulate the base language's semantics and provide the alternative semantics you want, but which also allow you to "drop down to" the source language wherever the experimental wrapper-language isn't complete. HN's Arc language is this way, a macro library sitting on top of Racket. Erlang was also originally this way, a macro-library on top of Prolog.
A language should only be grown out into its own ecosystem if-and-when that would provide a benefit to the people programming in the language, such as support for new platforms, or greater performance. Otherwise, it's just meaningless busywork.
Or, in other words, building out an entire "programming language" is almost always premature optimization.
I thought that it was commonly accepted that having a diverse ecosystem of programming languages was good thing for everyone (Companies and engineers) because it fostered and fueled innovation in more mainstream languages by showing that feature X is relevant, or possible or desired by the community.
I sincerely don't see how it could be a problem? You can just ignore the bad ones or those that don't suit your needs while enjoying the others. Also, I might be mistaken but I am under the impression that new PLs have faster iteration cycles and are more receptive to feedback to suit one's particular needs.
I personally enjoy to see a new programming language makes the front page of HN because they often try to address existing problems in current big PLs, in a new way or incorporate state of the art PL theory concepts that I did not know!
Edit: why the downvotes? This is a genuine question!
(Disclaimer, I'm one of the primary authors of Lasp, @cmeik on Twitter)
Commutative (operation-based) and convergent (state-based) have been grouped under the more general term conflict-free.
In 2011, Shapiro et al. [2] showed equivalence between the two types, and later the name was generalized [3]. I've compiled a list of CRDT related resources for more information. [1]
[1] http://christophermeiklejohn.com/crdt/2014/07/22/readings-in...
[2] http://hal.upmc.fr/inria-00555588/document
[3] http://dl.acm.org/citation.cfm?id=2050642
(Disclaimer, I'm one of the primary authors of Lasp, @cmeik on Twitter)
http://christophermeiklejohn.com/lasp/erlang/2015/01/10/ad-c...
I've added a simple example, because I received that criticism from others, so, thanks for your feedback.
Lasp's prototypical implementation is provided as an Erlang library: this is a research language and we're researching the semantics of distributed computation and not the syntax. The syntax seen in the examples is extremely close to the syntax of the built in 'lists' module of Erlang, with the addition of having to declare types, because of Erlang's type system. This was done to make it seem natural to Erlang programmers.
(Disclaimer, I'm one of the primary authors of Lasp, @cmeik on Twitter)