Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Alexander Skobelev Newsgroups: comp.lang.forth Subject: Re: Apple's top secret Swift language Date: Tue, 10 Jun 2014 09:17:40 +0400 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <23f601ee-818e-4df7-87b8-36e73ed70d54@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="1c848eff29810dd3f356086626d96314"; logging-data="30715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YOwxCYQMTRYBQsttHB63H" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (darwin) Cancel-Lock: sha1:LzamAM5obMm3Z9mfhKPn1xtsN3I= sha1:PDtEjzAEI8cCKiMffdiDDlLV4rg= Xref: csiph.com comp.lang.forth:31364 Marc Olschok writes: > VisualForth.com wrote: >> Is Apple's top secret Swift language Swift Forth? > > Or perhaps not quite so swift? > > > I have not looked closer at the results. > > -- > Marc There is a discussion on stackoverflow concerning Swift's perfomance: http://stackoverflow.com/questions/24101718/swift-performance-sorting-arrays The conclusion is if you want to get it run almost as fast as C++ you need to compile it with -Ofast switch. That yet, as was said, "changes the semantics of the language a lot" (like switching off checks for integer overflows and array index overflow).