Jump to content

Source: http://www.macrumors.com/2016/04/07/google-possibly-adopting-swift-for-android/

swift.png

Quote

Google is considering making Apple's Swift programming language a "first class" language for Android, reports The Next Web. Executives from Google, Facebook, and Uber reportedly attended a meeting to discuss Swift in December, around the time that Apple officially made Swift an open source language.

Quote

Google's Android operating system currently supports Java as its first-class language, and sources say Swift is not meant to replace Java, at least initially. While the ongoing litigation with Oracle is likely cause for concern, sources say Google considers Swift to have a broader "upside" than Java.

So, this is pretty huge. A programming language's biggest dream is to be used across platforms and it may happen sooner rather than later. It's also interesting since Google had its programming language called Go that's also open source, but now they're considering Swift, and on some pretty deep levels, too.

Ye ole' train

Link to post
Share on other sites

well if Swift is open source I don't really object

"Great minds discuss ideas; average minds discuss events; small minds discuss people."

Main rig:

i7-4790 - 24GB RAM - GTX 970 - Samsung 840 240GB Evo - 2x 2TB Seagate. - 4 monitors - G710+ - G600 - Zalman Z9U3

Other devices

Oneplus One 64GB Sandstone

Surface Pro 3 - i7 - 256Gb

Surface RT

Server:

SuperMicro something - Xeon e3 1220 V2 - 12GB RAM - 16TB of Seagates 

Link to post
Share on other sites

guess it's time for me to take some swift lessons, personally i would have preferred C cause that's what i'm more used to

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 12 years later: It's finally coming!!! I don't care anymore

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to post
Share on other sites

2 hours ago, suicidalfranco said:

guess it's time for me to take some swift lessons, personally i would have preferred C cause that's what i'm more used to

Enjoy your suffering. It is not a fun language to learn as it is very very similar to Objective C

Main Gaming PC - i9 10850k @ 5GHz - EVGA XC Ultra 2080ti with Heatkiller 4 - Asrock Z490 Taichi - Corsair H115i - 32GB GSkill Ripjaws V 3600 CL16 OC'd to 3733 - HX850i - Samsung NVME 256GB SSD - Samsung 3.2TB PCIe 8x Enterprise NVMe - Toshiba 3TB 7200RPM HD - Lian Li Air

 

Proxmox Server - i7 8700k @ 4.5Ghz - 32GB EVGA 3000 CL15 OC'd to 3200 - Asus Strix Z370-E Gaming - Oracle F80 800GB Enterprise SSD, LSI SAS running 3 4TB and 2 6TB (Both Raid Z0), Samsung 840Pro 120GB - Phanteks Enthoo Pro

 

Super Server - i9 7980Xe @ 4.5GHz - 64GB 3200MHz Cl16 - Asrock X299 Professional - Nvidia Telsa K20 -Sandisk 512GB Enterprise SATA SSD, 128GB Seagate SATA SSD, 1.5TB WD Green (Over 9 years of power on time) - Phanteks Enthoo Pro 2

 

Laptop - 2019 Macbook Pro 16" - i7 - 16GB - 512GB - 5500M 8GB - Thermal Pads and Graphite Tape modded

 

Smart Phones - iPhone X - 64GB, AT&T, iOS 13.3 iPhone 6 : 16gb, AT&T, iOS 12 iPhone 4 : 16gb, AT&T Go Phone, iOS 7.1.1 Jailbroken. iPhone 3G : 8gb, AT&T Go Phone, iOS 4.2.1 Jailbroken.

 

Link to post
Share on other sites

12 minutes ago, Hunter259 said:

Enjoy your suffering. It is not a fun language to learn as it is very very similar to Objective C

is objective C more like C# or Java? Maybe all hope is not lost

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 12 years later: It's finally coming!!! I don't care anymore

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to post
Share on other sites

11 minutes ago, suicidalfranco said:

is objective C more like C# or Java? Maybe all hope is not lost

It's the worst sort of mix of Python and C#.

 

30 minutes ago, SurvivorNVL said:

@patrickjp93 Any thoughts?

Dear lord... Just use C++14 and toss on the graphics libraries Google. C++ is not a difficult language to use anymore!

Software Engineer for Suncorp (Australia), Computer Tech Enthusiast, Miami University Graduate, Nerd

Link to post
Share on other sites

3 minutes ago, patrickjp93 said:

It's the worst sort of mix of Python and C#.

Crap. But that's where money is going so might as well just bite the bullet

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 12 years later: It's finally coming!!! I don't care anymore

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to post
Share on other sites

6 minutes ago, patrickjp93 said:

It's the worst sort of mix of Python and C#.

 

Dear lord... Just use C++14 and toss on the graphics libraries Google. C++ is not a difficult language to use anymore!

TFW Android GUI runs on Java... :dry:

this is one of the greatest thing that has happened to me recently, and it happened on this forum, those involved have my eternal gratitude http://linustechtips.com/main/topic/198850-update-alex-got-his-moto-g2-lets-get-a-moto-g-for-alexgoeshigh-unofficial/ :')

i use to have the second best link in the world here, but it died ;_; its a 404 now but it will always be here

 

Link to post
Share on other sites

3 hours ago, patrickjp93 said:

It's the worst sort of mix of Python and C#.

 

Dear lord... Just use C++14 and toss on the graphics libraries Google. C++ is not a difficult language to use anymore!

Eh. I'd say swift is the one that threw Python into it. Objective C is more like C had a baby with Java. Swift just added Python into the mix.

Main Gaming PC - i9 10850k @ 5GHz - EVGA XC Ultra 2080ti with Heatkiller 4 - Asrock Z490 Taichi - Corsair H115i - 32GB GSkill Ripjaws V 3600 CL16 OC'd to 3733 - HX850i - Samsung NVME 256GB SSD - Samsung 3.2TB PCIe 8x Enterprise NVMe - Toshiba 3TB 7200RPM HD - Lian Li Air

 

Proxmox Server - i7 8700k @ 4.5Ghz - 32GB EVGA 3000 CL15 OC'd to 3200 - Asus Strix Z370-E Gaming - Oracle F80 800GB Enterprise SSD, LSI SAS running 3 4TB and 2 6TB (Both Raid Z0), Samsung 840Pro 120GB - Phanteks Enthoo Pro

 

Super Server - i9 7980Xe @ 4.5GHz - 64GB 3200MHz Cl16 - Asrock X299 Professional - Nvidia Telsa K20 -Sandisk 512GB Enterprise SATA SSD, 128GB Seagate SATA SSD, 1.5TB WD Green (Over 9 years of power on time) - Phanteks Enthoo Pro 2

 

Laptop - 2019 Macbook Pro 16" - i7 - 16GB - 512GB - 5500M 8GB - Thermal Pads and Graphite Tape modded

 

Smart Phones - iPhone X - 64GB, AT&T, iOS 13.3 iPhone 6 : 16gb, AT&T, iOS 12 iPhone 4 : 16gb, AT&T Go Phone, iOS 7.1.1 Jailbroken. iPhone 3G : 8gb, AT&T Go Phone, iOS 4.2.1 Jailbroken.

 

Link to post
Share on other sites

2 hours ago, AlexGoesHigh said:

TFW Android GUI runs on Java... :dry:

It won't be for much longer. Google will be phasing out all things Java, and that will be the end of that language (good freaking riddance).

Software Engineer for Suncorp (Australia), Computer Tech Enthusiast, Miami University Graduate, Nerd

Link to post
Share on other sites

1 hour ago, Hunter259 said:

Eh. I'd say swift is the one that threw Python into it. Objective C is more like C had a baby with Java. Swift just added Python into the mix.

Swift has reflection (very poorly done and equally as screwball as C#'s). Java does not.

Software Engineer for Suncorp (Australia), Computer Tech Enthusiast, Miami University Graduate, Nerd

Link to post
Share on other sites

This has bad implications for Microsoft, because Swift does not work on Windows or Windows Phone, so this could cause even more harm to Windows Phone, which I believe is programmed in C++. The logistics of porting from Swift to C++ is going to be much harder than porting from Java to C++. If over the next 2 years, Android + iOS adopt Swift, the universal windows platform is going to be essentially dead, as they'll be the last significant mobile platform with C++, especially with how the Windows Store is consistently failing. With Project Astoria dead (Android to UWP), and Project Islandwood (iOS to UWP) still only working for Apple's soon to be replaced Objective-C, I can't see UWP getting widespread adoption. 

 

Although I do agree with @patrickjp93 that C++ is definitely the best choice, if anything, this will further hurt C++'s representation in the mobile market.

I am conducting some polls regarding your opinion of large technology companies. I would appreciate your response. 

Microsoft Apple Valve Google Facebook Oculus HTC AMD Intel Nvidia

I'm using this data to judge this site's biases so people can post in a more objective way.

Link to post
Share on other sites

48 minutes ago, CommandMan7 said:

This has bad implications for Microsoft, because Swift does not work on Windows or Windows Phone, so this could cause even more harm to Windows Phone, which I believe is programmed in C++. The logistics of porting from Swift to C++ is going to be much harder than porting from Java to C++. If over the next 2 years, Android + iOS adopt Swift, the universal windows platform is going to be essentially dead, as they'll be the last significant mobile platform with C++, especially with how the Windows Store is consistently failing. With Project Astoria dead (Android to UWP), and Project Islandwood (iOS to UWP) still only working for Apple's soon to be replaced Objective-C, I can't see UWP getting widespread adoption. 

 

Although I do agree with @patrickjp93 that C++ is definitely the best choice, if anything, this will further hurt C++'s representation in the mobile market.

replace every C++ mention with C#

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 12 years later: It's finally coming!!! I don't care anymore

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to post
Share on other sites

11 hours ago, patrickjp93 said:

Swift has reflection (very poorly done and equally as screwball as C#'s). Java does not.

After looking through it, my friend and I came to the conclusion it has borrowed from : Basic, C, Obj C, C++, Java, C#, and Python. Swift - We took it all and threw it at the wall.

Main Gaming PC - i9 10850k @ 5GHz - EVGA XC Ultra 2080ti with Heatkiller 4 - Asrock Z490 Taichi - Corsair H115i - 32GB GSkill Ripjaws V 3600 CL16 OC'd to 3733 - HX850i - Samsung NVME 256GB SSD - Samsung 3.2TB PCIe 8x Enterprise NVMe - Toshiba 3TB 7200RPM HD - Lian Li Air

 

Proxmox Server - i7 8700k @ 4.5Ghz - 32GB EVGA 3000 CL15 OC'd to 3200 - Asus Strix Z370-E Gaming - Oracle F80 800GB Enterprise SSD, LSI SAS running 3 4TB and 2 6TB (Both Raid Z0), Samsung 840Pro 120GB - Phanteks Enthoo Pro

 

Super Server - i9 7980Xe @ 4.5GHz - 64GB 3200MHz Cl16 - Asrock X299 Professional - Nvidia Telsa K20 -Sandisk 512GB Enterprise SATA SSD, 128GB Seagate SATA SSD, 1.5TB WD Green (Over 9 years of power on time) - Phanteks Enthoo Pro 2

 

Laptop - 2019 Macbook Pro 16" - i7 - 16GB - 512GB - 5500M 8GB - Thermal Pads and Graphite Tape modded

 

Smart Phones - iPhone X - 64GB, AT&T, iOS 13.3 iPhone 6 : 16gb, AT&T, iOS 12 iPhone 4 : 16gb, AT&T Go Phone, iOS 7.1.1 Jailbroken. iPhone 3G : 8gb, AT&T Go Phone, iOS 4.2.1 Jailbroken.

 

Link to post
Share on other sites

3 hours ago, CommandMan7 said:

This has bad implications for Microsoft, because Swift does not work on Windows or Windows Phone, so this could cause even more harm to Windows Phone, which I believe is programmed in C++. The logistics of porting from Swift to C++ is going to be much harder than porting from Java to C++. If over the next 2 years, Android + iOS adopt Swift, the universal windows platform is going to be essentially dead, as they'll be the last significant mobile platform with C++, especially with how the Windows Store is consistently failing. With Project Astoria dead (Android to UWP), and Project Islandwood (iOS to UWP) still only working for Apple's soon to be replaced Objective-C, I can't see UWP getting widespread adoption. 

 

Although I do agree with @patrickjp93 that C++ is definitely the best choice, if anything, this will further hurt C++'s representation in the mobile market.

I somewhat doubt Google is going this direction, at least exclusively anyway. Android still supports C++ apps.

Software Engineer for Suncorp (Australia), Computer Tech Enthusiast, Miami University Graduate, Nerd

Link to post
Share on other sites

2 hours ago, suicidalfranco said:

replace every C++ mention with C#

Other than "C++ is the best choice"

Software Engineer for Suncorp (Australia), Computer Tech Enthusiast, Miami University Graduate, Nerd

Link to post
Share on other sites

16 minutes ago, patrickjp93 said:

Other than "C++ is the best choice"

obviously 

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 12 years later: It's finally coming!!! I don't care anymore

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to post
Share on other sites

2 hours ago, Kalebtheking12 said:

Does apple have some sort of patent on their programming language? Can google just take it like that?

Apple made Swift an open-source language last December. So yes, Google can take it, and no, Apple doesn't have a patent on this programming language.

Ye ole' train

Link to post
Share on other sites

6 hours ago, Kalebtheking12 said:

Does apple have some sort of patent on their programming language? Can google just take it like that?

Apple has made it open-source, of course anyone can use it.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×