![]() |
Roborio and Swift?
Me and and another programmer on our team were wondering if anyone new if the roborio could run swift? If possible we would like to write our own libraries to use next season
|
Re: Roborio and Swift?
So far as I know, Swift targets only Apple iOS and Mac OS X. Neither of those run on the roboRIO.
|
Re: Roborio and Swift?
Quote:
Why swift specifically? programming languages are one in the same, the only difference between them is almost always syntactical sugar (nothing too special with swift), speed (probably wouldn't be different from Java), and personal experience. |
Re: Roborio and Swift?
the only other language that i can actually see being programmed besides the one avalible is the .net languages mostly vb and c#
|
Re: Roborio and Swift?
Quote:
Possibilities include (but are not limited to) Python (done), Ruby, Perl, Go, Javascript, Haskell, Lisp, C#/Mono, D, Brainf*k, LOLCode... whatever someone is willing to put the work into, is possible. I'd be interested in seeing someone create WPILib bindings for Go or Javascript. |
Re: Roborio and Swift?
Quote:
While all the languages you listed can run on the roboRIO, there isn't a great reason to bring most of them to FRC. I could see arguments in favor of Python and C#, not so much the others. However, because they need to maintain a balance between offering a variety of languages and providing first class support for the available languages, I'm not holding my breath for more officially supported languages. |
Re: Roborio and Swift?
Quote:
|
Re: Roborio and Swift?
Quote:
This was good news for most languages though, because if you can interop with C++ libraries, getting basic communication working was really easy, and was done in about a day. |
Re: Roborio and Swift?
Quote:
// just looked up "Go" Code:
no type inheritance |
Re: Roborio and Swift?
Quote:
EDIT: It would require a bit more work than running the jars. Most of them seem to require classes that aren't in the profile on the RoboRIO |
Re: Roborio and Swift?
Quote:
Code:
no type inheritance |
Re: Roborio and Swift?
Go actually has *better* generic programming, sorta. It would be cool to use in FIRST.
|
Re: Roborio and Swift?
I just dont get why you would do mono/c#, java has the same syntax as the library is more mature
|
Re: Roborio and Swift?
Quote:
Javascript does not need method inheritance due to it's loose type definition, is built to avoid circular dependencies, and has no concept of pointers so pointer arithmetic is pointless. Please attempt to be less aggressive next time. :) Quote:
Quote:
|
Re: Roborio and Swift?
I'm going to rekindle this discussion.
Swift is now Open Source and will be available on Linux later this year https://developer.apple.com/swift/blog/?id=29 |
| All times are GMT -5. The time now is 02:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi