I wonder if it will run on Swift server framework instead of Apache since
they shown to have better performance and memory efficient than Apache.
___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
Android N and later may changes a lot, I would use Kotlin which has
similarity to Swift syntax.
Kotlin Lang
https://www.toptal.com/software/kotlin-android-language
Javascript for mobile app for best compatibility.
On Fri, Oct 14, 2016 at 9:34 AM, Tony Constantinides via swift-users <
swift-use
Why not start porting Swift 3.x instead of 2.2.x as reflect on freshports
page which many recently projects and libraries will be based on and aren't
backward source compatible with Swift 3?
On Thu, Dec 8, 2016 at 9:43 AM, Sid via swift-users
wrote:
> Swift has been ported to FreeBSD. You can se
let filename = ""
let checkfile = FileManager.default
var isDir : ObjCBool = false
if checkfile.fileExists(atPath: "files/"+filename, isDirectory: &isDir) {
print("true")
} else {
print("false")
}
On Linux, if the "filename" variable is empty string, checkfile will
returns as true which should be
th “files/“.
>
>
> > On Mar 10, 2017, at 1:53 PM, Proyb P via swift-users <
> swift-users@swift.org > wrote:
> >
> > let filename = ""
> > let checkfile = FileManager.default
> > var isDir : ObjCBool = false
> > if checkfile.fileEx
I have found this took about 0.001s to print 256 characters
Compare to Python took 0.16s to print 256 characters, see F8 code and
have modify to run only one call instead of 1000 iterations.
https://gist.github.com/anonymous/18e372e8d0173e77b5c405920d4d3080
As this is frequently use for server
Yeah, I believe Gerard know that, he have been discussed in Vapor slack
channel.
To add on, Gerard might want to try .Net core and Kotlin.
On Sat, Apr 8, 2017 at 4:52 AM, Maxim Veksler via swift-users <
swift-users@swift.org> wrote:
> Hi Gerald,
>
> It might be only me I'm not sure what you are
l amount of code
> being executed. Also when in doubt profile the code to see the time spent
> to better nail down the hotspot locations.
>
> If performance issues exist then leveraging things like a lookup table of
> pre-built structure can help, etc.
>
> -Shawn
>
> On S
ards,
> Rien
>
> Site: http://balancingrock.nl
> Blog: http://swiftrien.blogspot.com
> Github: http://github.com/Balancingrock
> Project: http://swiftfire.nl - A server for websites build in Swift
>
>
>
>
>
>
> > On 08 Apr 2017, at 18:19, Proyb P via swift-use
better)
>>
>> Regards,
>> Rien
>>
>> Site: http://balancingrock.nl
>> Blog: http://swiftrien.blogspot.com
>> Github: http://github.com/Balancingrock
>> Project: http://swiftfire.nl - A server for websites build in Swift
>>
>>
>>
>
What those PR in Swift CI benchmark shown "Regression", "Old_min",
"new_min", "delta" and "speedup" really mean? Speedup can be confusing when
Delta is either a positive or negative value.
https://github.com/apple/swift/pull/3796
___
swift-users mailing
t; Saagar Jha
>
> On Apr 20, 2017, at 07:48, Proyb P via swift-users
> wrote:
>
> What those PR in Swift CI benchmark shown "Regression", "Old_min",
> "new_min", "delta" and "speedup" really mean? Speedup can be confusing when
There is an official release (April 21 2017) for 3.1.1 for Ubuntu on
Swift download page.
On Monday, 24 April 2017, Bridger Maxwell via swift-users <
swift-users@swift.org> wrote:
> Swift 3.1 contained a bug in Data which causes memory corruption when
> using methods like base64EncodedString. Th
I have testing the performance between trunk builds downloaded from Swift
website (April 22 and 24) and 3.1.1
Fibonacci (N: 50) benchmark:
Trunk (22 Apr): 1m13s
Trunk (24 Apr): 1m16s
3.1.1: 1m7s
I assume there are overhead in trunk build? There is a big regression.
___
14 matches
Mail list logo