The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Functional Javascript 1.0.2

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Oliver Steele

Posts: 112
Nickname: ows
Registered: Aug, 2003

Oliver Steele is Chief Software Architect at Laszlo Systems, Inc.
Functional Javascript 1.0.2 Posted: Nov 11, 2007 12:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Oliver Steele.
Original Post: Functional Javascript 1.0.2
Feed Title: Oliver Steele on Software
Feed URL: http://feeds.feedburner.com/osteele
Feed Description: Languages of the real and artificial.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Oliver Steele
Latest Posts From Oliver Steele on Software

Advertisement

Thanks to everyone who has commented or contributed, praised or pitched in — I’ve released an update to Functional Javascript, with these changes:

New features

- Rhino compatibility. (Credit: Reginald Braithwaite)

Optimizations

- More efficient Array.slice. (Credit: Dean Edwards)
- Memoize Function.lambda. (Credit: henrah)

Packaging changes

- Added jsmin version. With jsmin and gzip, the file is 2.5K.
- Moved string lambdas to a separate file, to-string.js. (Both files are included in the jsmin version.)
- Reformatted for new version of the doc tool.

Compatibility notes

If you were including ‘functional.js’ before, now you need to include both ‘functional.js’ and ‘to-function.js’ in order to get the string lambda conversion functions too. Or you can include functional.min.js, which is smaller and includes them both.

The fact that functional.js itself no longer contains any regular expression might make it usable in Flash. I haven’t actually tried this, because the only Flash I use is OpenLaszlo, which is stuck at the pre-JIT Flash 8. I don’t dare program at too high a level in Flash 8 because of performance concerns.

Meanwhile, over in Ruby…

I’ll also put in a plug here for Braithwaite’s String#to_proc, which is a port of string lambdas to Ruby. Ruby is my favorite server-side glue language; I look forward to using it there…

Read: Functional Javascript 1.0.2

Topic: Smalltalk Daily 11/8/07: Asynch Support for Seaside 2.8 Previous Topic   Next Topic Topic: Pyrrhic Campaigns

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use