• 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: Couldn't compile a Swift enum test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Couldn't compile a Swift enum test


  • Subject: Re: Couldn't compile a Swift enum test
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 27 Feb 2017 23:13:29 -0800


On Feb 27, 2017, at 2:42 PM, Daryle Walker <email@hidden> wrote:

I’m talking about the system that compiles the file as you type, which also colorizes the text and gives definitions on the side.

That’s not a JIT. A Just-In-Time compiler generates machine code on demand while the program is running, usually by translating bytecode. What you’re talking about is a parser/analyzer, SourceKit, being used by the IDE.

(I know I’m being pedantic, but names are important. If you call this a JIT you’re going to confuse people.)

One source of slow down it that the JIT insists on doing the definitions-on-the-side feature for every word you pass by with the cursor. Even if the cursor went by the word in less than a second. 

I don’t know what you mean by “definitions-on-the-side” … Do you mean the code-completion pop-up? That’s below, not on the side. And it only shows up as you type, not as you move the mouse cursor around.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Couldn't compile a Swift enum test (From: Daryle Walker <email@hidden>)
 >Re: Couldn't compile a Swift enum test (From: Quincey Morris <email@hidden>)
 >Re: Couldn't compile a Swift enum test (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: Couldn't compile a Swift enum test
  • Next by Date: Re: Couldn't compile a Swift enum test
  • Previous by thread: Re: Couldn't compile a Swift enum test
  • Next by thread: Re: Couldn't compile a Swift enum test
  • Index(es):
    • Date
    • Thread