• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AS Library Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS Library Question


  • Subject: Re: AS Library Question
  • From: Chris Page <email@hidden>
  • Date: Thu, 17 Dec 2015 06:58:19 -0800


On Dec 12, 2015, at 8:50 AM, has <email@hidden> wrote:

> I mean, once you know about the issue -- and it is spelled out pretty clearly in the ASLG -- it's hardly crippling.

Actually the ASLG's wording is extremely poor (feel free to file a ticket on it). It completely fails to state that the biggest risk is two completely unrelated scripts can interfere with each other in heinously unexpected and non-obvious ways if both happen to use the same stageful library…

Well, I hope you read this before some of my other replies: I thought you had complained about the *ability* to create multiple component instances. Some of my replies on this particular issue may now be tangental.

As to your point about multiple clients seeing the same library state: that's exactly how frameworks loaded into a process work, and, as far as I am aware, how libraries work in every other scripting language. And if you just use the default AppleScript instance it'll work the same as them. And, like many other scripting/dynamic languages, *if you want* you could create multiple runtime instances to separate things if that fits your ideas about how things should work better. Creating a new instance is straightforward. You have the ability to get what you want—which is the sort of flexibility it was intentionally designed to offer.

-- 
Chris Page
The other, other AppleScript Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: AS Library Question
      • From: has <email@hidden>
References: 
 >Re: AS Library Question (From: has <email@hidden>)

  • Prev by Date: Re: AS Library Question
  • Next by Date: Re: AS Library Question
  • Previous by thread: Re: AS Library Question
  • Next by thread: Re: AS Library Question
  • Index(es):
    • Date
    • Thread