Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Tue, 11 Feb 2003
Of course Lisp can talk to the machine...
Chris Double points out:
Maybe I'm misunderstanding Ted but I don't agree with this statement. Perhaps it was true in the past but modern Lisp's and Smalltalk's seem to have no problems talking to the machine.
I did say I was oversimplifying a bit. It is true that today, and for some period of time, Lisps and Smalltalks have been able to talk to the hardware. But it is a recent development, and many who had already formed opinions about these languages didn't bother to learn about them. Plus, every Lisp at least, had a different way of doing this. So from an industrial perspective, you were being locked in to a particular vendor's Lisp implementation (never mind that this is exactly what is happening today with Java and C#). I remember going to a trade show in 96 with some of my Taligent co-workers after Taligent was fully bought out by IBM and we were porting parts ofthe CommonPoint frameworks as a crossplatform OpenDoc / OLE solution. The Harlequin guys had a demo of Harlequin Dylan where they were using Dylan to implement an inprocess COM server. They were showing the ability to start and stop the server from Dylan as well as dynamically update the code and continue. This "hot-swap" debugging feature got into the JDK in 1.4, only 6 years later...

Today what we need some degree of uniformity for talking to the machine. That's the benefit of Java or the .NET CLR. The library stack. It's there if you want to use it. If not, you don't have to use it. But you have some least common denominator to fall back on.

S# is interesting, but it has the single source problem. If Dave Simmons gets hit by a truck, S# users will be in a world of hurt. That's why I'm excited about the possiblity of an open sourced Functional Developer.

Charles Cook has also picked up the Dylan thread:

Dylan has features such as MI, multi-dispatch, no casting, and macros which are all missing from both Java and C# (the macros being real macros in the Lisp sense and not C-style macros). I get the impression that Dylan is a considerably richer language than Java or C# yet is claimed to be just as efficient as those languages.
Real macros solve so many problems its not funny. Look at all the AOP work going on in Java these days. There's two camps. The "we must modify the language so that this stuff is integrated" camp, which is working on things like AspectJ, and the "we cannot modify the language because no one will use it" camp, which is working on things like Nanning and Rickard's unreleasd AOP library. If Java had macros, we could integrate AOP in a seamless way, without having to write custom compilers and all the rest of the stuff that the AspectJ guys are doing. And besides, the AspectJ folks are taking all the lessons that they learned doing Meta Object Protocols for Lisp/CLOS and repackaging them as AOP. Charles also writes:
Its difficult to say for sure whether being familiar with a wider range of languages actually helps you design and implement better Java or C# programs. My feeling is that being more aware of the limitations of these languages does help: seeing things from a broader perspective improves understanding and in the same way that Patterns enhance the way you think about design problems, knowledge of a wider range of languages gives you more concepts to work with, even if you cannot directly use some of the techniques with the language you are working with.
Those interested in patterns should look at Peter Norvig's article on Design Patterns in Dynamic Languages. I first heard about this work when I interviewed with him when I was thinking of going to Harlequin. Oddly enough, it was my interview with him that convinced me that Dylan was not going to be successful in a commercial sense. However, his paper is just excellent. Norvig tried implementing patterns in a bunch of languages, and discovered that 16 of the 23 GoF design patterns are either invisible or much simpler in Dylan. The best pattern is the one that you don't need.
[11:01] | [computers/programming] | # | TB | F | G | 0 Comments | Other blogs commenting on this post
You can subscribe to an RSS feed of the comments for this blog: RSS Feed for comments

Add a comment here:

You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are: <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.

You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk

Name:


E-mail:


URL:


Comment:


Remember my info?


twl JPG

About

Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos


Syndicate
RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

< February 2003 >
SuMoTuWeThFrSa
       1
2 3 4 5 6 7 8
9101112131415
16171819202122
232425262728 

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Lucene
Blogs nearby
geourl PNG

Categories
/ (1567)
  books/ (33)
  computers/ (62)
    hardware/ (15)
    internet/ (58)
      mail/ (11)
      microcontent/ (58)
      weblogs/ (174)
        pyblosxom/ (36)
      www/ (25)
    open_source/ (145)
      asf/ (53)
      osaf/ (32)
        chandler/ (35)
        cosmo/ (1)
    operating_systems/ (16)
      linux/ (9)
        debian/ (15)
        ubuntu/ (2)
      macosx/ (101)
        tips/ (25)
      windows_xp/ (4)
    programming/ (156)
      clr/ (1)
      dotnet/ (13)
      java/ (71)
        eclipse/ (22)
      lisp/ (34)
      python/ (86)
      smalltalk/ (4)
      xml/ (18)
    research/ (1)
    security/ (4)
    wireless/ (1)
  culture/ (10)
    film/ (8)
    music/ (6)
  education/ (13)
  family/ (17)
  gadgets/ (24)
  misc/ (47)
  people/ (18)
  photography/ (25)
    pictures/ (12)
  places/ (3)
    us/ (0)
      wa/ (2)
        bainbridge_island/ (17)
        seattle/ (13)
  skating/ (6)
  society/ (20)



[Valid RSS]

del.icio.us linkblog

www.flickr.com

Blogroll

java.blogs
Listed on BlogShares

Locations of visitors to this page
Where are visitors to this page?


pyblosxom GIF