d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Anyone Using Swift Yet?
Prev12
Add Reply New Topic New Poll
Member
Posts: 9,803
Joined: Jun 28 2005
Gold: 6.67
Jun 10 2014 12:46am
Quote (rockonkenshin @ 9 Jun 2014 21:48)
It brings plenty to the table if you want to do iOS development and, for what it is, seems to be a competently designed language.
Possibly. All I said that none of the concepts introduced by swift are new or missing from other languages that have the advantage of being cross-platform and out of beta. Simply said, there's no reason for me to go out of my way to try it on my non-Apple platform.
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Jun 10 2014 04:35am
Quote (KrzaQ2 @ Jun 10 2014 01:46am)
Possibly. All I said that none of the concepts introduced by swift are new or missing from other languages that have the advantage of being cross-platform and out of beta. Simply said, there's no reason for me to go out of my way to try it on my non-Apple platform.


Makes sense. It would be nice if the language was open sourced and usable elsewhere.
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Jun 10 2014 11:38am
Quote (rockonkenshin @ Jun 9 2014 11:46am)
Why don't you want it to take off?


compiled code is less than optimized and seems like it would fail in any production environment, that is unless you throw away the swift features by compiling with -0fast, if you do that then why should I use swift in the first place?

not bringing anything revolutionary is another thing, this is an over-hyped language because of the name backing it
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Jun 10 2014 12:08pm
Quote (0n35 @ Jun 10 2014 11:38am)
compiled code is less than optimized and seems like it would fail in any production environment, that is unless you throw away the swift features by compiling with -0fast, if you do that then why should I use swift in the first place?

not bringing anything revolutionary is another thing, this is an over-hyped language because of the name backing it


http://stackoverflow.com/questions/24101718/swift-performance-sorting-arrays
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 10 2014 01:09pm
Quote (0n35 @ Jun 10 2014 01:38pm)
compiled code is less than optimized and seems like it would fail in any production environment


Is this a general statement or something pertaining only to swift. Sounds like you are calling out every compiled language out there.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 10 2014 01:14pm
Quote (killg0re @ Jun 10 2014 02:08pm)


Code

numbers = []
1000000.times { numbers.push Random.rand(0..100) }

time = Benchmark.realtime do
new_numbers = numbers.sort
end

Output:
ruby sorts.rb
Process started >>>
0.07 seconds (ruby sort)


Welp... Then again I am not surprised. Ruby using MRI mostly consists of C/assembler for core functions if a recall.
Member
Posts: 11,637
Joined: Feb 2 2004
Gold: 434.84
Jun 10 2014 01:15pm
Quote (0n35 @ Jun 10 2014 12:38pm)
compiled code is less than optimized and seems like it would fail in any production environment, that is unless you throw away the swift features by compiling with -0fast, if you do that then why should I use swift in the first place?

not bringing anything revolutionary is another thing, this is an over-hyped language because of the name backing it


The language is still in an early beta form and will likely have a much better compiler in the near future. I'm not going to pass much judgement on it until it has a reasonably mature compiler.

This post was edited by rockonkenshin on Jun 10 2014 01:15pm
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Jun 11 2014 12:00am
Quote (AbDuCt @ Jun 10 2014 01:09pm)
Is this a general statement or something pertaining only to swift. Sounds like you are calling out every compiled language out there.


It's a known issue with swift.
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll