[swift-users] Swift.org site is running on Apache 2.2?

2016-10-08 Thread Proyb P via swift-users
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

Re: [swift-users] Build Android GUI apps with Swift 3.0 via a framework/library

2016-10-15 Thread Proyb P via 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

Re: [swift-users] Swift ported on FreeBSD platform

2016-12-07 Thread Proyb P via swift-users
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

[swift-users] FileManager alway returns true in Linux

2017-03-10 Thread Proyb P via swift-users
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

Re: [swift-users] FileManager alway returns true in Linux

2017-03-10 Thread Proyb P via swift-users
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

[swift-users] Alternative to UnicodeScalar

2017-04-08 Thread Proyb P via swift-users
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

Re: [swift-users] Swift Concurrency and Actor model

2017-04-08 Thread Proyb P via swift-users
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

Re: [swift-users] Alternative to UnicodeScalar

2017-04-08 Thread Proyb P via swift-users
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

Re: [swift-users] Alternative to UnicodeScalar

2017-04-08 Thread Proyb P via swift-users
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

Re: [swift-users] Alternative to UnicodeScalar

2017-04-08 Thread Proyb P via swift-users
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 >> >> >> >

[swift-users] Need clarification on Swift CI benchmark

2017-04-20 Thread Proyb P via swift-users
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

Re: [swift-users] Need clarification on Swift CI benchmark

2017-04-21 Thread Proyb P via swift-users
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

Re: [swift-users] Data fix for Linux

2017-04-24 Thread Proyb P via swift-users
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

[swift-users] Performance in Trunk builds vs 3.1.1

2017-04-25 Thread Proyb P via swift-users
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. ___