News for hackers. Stuff that matters.
Re:LASP: A Language for Distributed, Eventually Consistent C... by derefr on Saturday June 06, 2015 @06:25PM (#9672541)
I generally agree: too many people think they have to make an entire language—with its own grammar, parser, standard library, and runtime—every time they want to play with some new language semantics.

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.

There are no comments on this comment yet.