Open Dylan's Call for Help
opendylan.org
opendylan.org
But at the time, the Apple Dylan IDE was pretty slow and buggy. It is amazing what a few years make much more feasible!
- universal citizen revenue, so that programmers who want to work on free software or open source may do it more easily.
- let's reduce the ecosystem diversity. I'd move to drop all those useless fancy languages, and let's all concentrate on Common Lisp, developping tools and libraries, perfecting the implementations, etc.
(No need to argue, I know the former will occur sooner).
Functional Developer (What was Harelequin Dylan) was nice. The editor would syntax highlight the code based on the optimization level. In this way you could look at a method call and see if it was inlined or not and decide whether to seal functions or classes to improve performance.
Another interesting feature was the editor was written in Dylan (using a framework called Deuce). This was emacs-like and had features like virtual sections in a buffer that could each be mapped to a different file on disk. This allowed viewing in a single editor pane the implementations of all methods of a generic function even if they crossed multiple files. This could also be edited as if it was a single file.
Functional Developer and now Open Dylan also support debugging on Windows, have a REPL (on Windows) and many other features.
With the upcoming LLVM backend, we'll be able to bring those features to other platforms, but we'll need DUIM backends to support the user interface. That's a big part of why this call for help mentions several GUI related things.
With some luck and a lot of hard work, this will be a great year for Dylan.
We only implemented it for static optimisations I think (i.e. you could see at a glance how well the compiler had inferred types, resolved method calls, inlined functions, etc), but we had a lot of ideas at the time around its future application to profiling results, as well as layered, more interactive presentation.
It'd be a great addition to Light Table...
Here the blog post describing their entry: http://www.hoult.org/bruce/icfp2005/
In 2001, the Dlyan Hackers placed #2, but the #1 team had a team member named Dylan (Thurston)
http://developers.slashdot.org/story/01/09/07/0131231/icfp-2...
and IIRC, in that 2005 cops-and-robbers game, the game rules invited complex strategies, but the game wasn't balanced, so degenerate strategies dominated, and the competitiveness was over details of implementation.
For me it is very hard to see what Dylan brings to the table. It's nieche is already filled by more popular languages.
Different people like different things, and while I love Ruby, static typing does catch a lot of problems earlier on.
At first glance they seem like subsets/dialects of other languages, which would reduce the benefits they get from their "parent" ecosystem? Similar to JRuby and Java, where I always felt a reluctance to interact with the Java side.
That said, Dylan has a pretty neat FFI, and it's simple to wrap C libraries into Dylan-looking interfaces, so at least for me it benefits a lot from the plethora of C libraries out there.
(I realize FFI is available to almost all languages, and doesn't really mean libraries are available to Dylan, but I find it very comfortable to bridge C and Dylan through its FFI.)
It is highly readable. And you can use '!' and '?' in names!
An optimized implementation of multimethods is always nice.
The ability to apply optional static typing is great for putting stuff into production and feeling good about it.
Having multiple return values, keyword arguments and rest arguments is nice (and yes, Python can do much of that).
Somehow this feels a little contradictory.
When Dylan switched from Lisp syntax this was something that was fretted over an awful lot, for obvious reasons, but we went with it and it worked fine.
I'd love to see some other algebraic (non Lisp) syntax language get more creative in this direction again one day.
Common Lisp and Scheme can do this as well and I like the look of predicate functions like "list?" or "number?":
(list? object)
(number? 1) => returns true
(number? "abc") => returns false
It isn't really necessary for a language to support this, but it is a nice detail if one preferred such a style.I think the custom is to use "!" in functions with side-effects.
append(list,value)
returns a new list; append!(list,value)
modifies at least one of its arguments, typically, its first argument, but it could be another or multiple ones.By the way, all of these are conventions. The language doesn't require you to use the punctuation (http://opendylan.org/documentation/intro-dylan/expressions-v...). The conventions grow on you soon, though (I never really wrote anything in lisp or dylan, but still would like to see more flexibility in allowed characters in names)
Functions that have side effects on non-arguments should be very rare, and don't use a naming convention (see for example http://opendylan.org/documentation/library-reference/common-...)
What does that mean? I absolutely agree with you about using ! and ? (and other special characters too!) in symbol names. That's something I'd like to see more languages adopt.
BruceM is referring to how Common Lisp deals with exceptions - http://www.gigamonkeys.com/book/beyond-exception-handling-co...
I've seen (experimental) Perl & Ruby modules which provide versions of this but having it baked into your language is very nifty indeed.
I've only seen the try/CATCH stuff. Are there any examples of restart/resume/continue handlers ala CL?
BTW: Here's the Perl5 Condition System module I was thinking of (though there maybe others) - https://metacpan.org/pod/ConditionSystem
CONTROL { print 1; $_.resume }; print 2; warn; print 3 # 213
That's obviously a contrived example but I think it shows the basics.Some related excerpts from spec doc S04 (blocks and statements):
Warnings are produced in Perl 6 by throwing a resumable control exception to the outermost scope, which by default prints the warning and resumes the exception by extracting a resume continuation from the exception, which must be supplied by the warn() function (or equivalent).
...
Since warnings are processed using the standard control exception mechanism, they may be intercepted and either suppressed or fatalized anywhere within the dynamic scope by supplying a suitable CONTROL block.
...
As with calls to return, the warning control exception is an abstraction that the compiler is free to optimize away (along with the associated continuation) when the compiler or runtime can determine that the semantics would be preserved by merely printing out the error and going on.
...
One additional level of control is the notion of lazy warnings. ... Numeric and string conversions use these lazy warnings to allow (but not require) failsoft semantics.
A dynamic language with native code compiler and language features suitable for both application and systems programming.
Plus being a Lisp like language with a more friendly syntax for those scared of parenthesis.
- What GC will the LLVM backend use?
- Is there any data an the performance of the MPS?
I have a branch that will soon allow using either Boehm or MPS on the various backends. That'll probably be the case for the LLVM backend as well.
Part of the reason that I'm doing that is to help gather some performance data on the MPS. (I'm actually doing that Dylan runtime work under contract.)
I actually met prom yesterday and he showed me that there are much more information on MPS know. I already read threw most of the documentation and I'm very interested to maybe use it.
I don't yet fully understand the license and what it means, I will probably join IRC in the next days and dig for some more info on MPS.
Great that you get payed to work on this.
[1] http://channel9.msdn.com/blogs/pdc2008/tl16 @ 1h1m
Lately, we've made our test framework integrate well with Jenkins (using Surefire output) and have been getting more and more of our libraries and tests building via Jenkins.
We've also been pulling out some chunks of code and turning them into useful and usable libraries. Our binary data library is an example of this (http://opendylan.org/documentation/binary-data/).
And one of our hackers has spent a large amount of time this week cleaning up and re-working a tool that he had for visualizing the compiler's optimizer. This will let us better perform bugfixes, ensure that the transforms are operating correctly.
We do have areas where we intend to improve the language. There are some extensions to the type system that we're looking at, improving Unicode support, and improving our numerics. But these aren't our main or daily areas of focus.
We want to bring our IDE to non-Windows platforms, we're improving our compiler backends, improving the GC integration, working on editor integration with CodeMirror, vim, emacs, and IntelliJ.