|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
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#
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
Re: Roborio and Swift?
Quote:
|
|
#5
|
||||
|
||||
|
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. Last edited by Thad House : 24-02-2015 at 13:50. |
|
#6
|
||||
|
||||
|
Re: Roborio and Swift?
Quote:
// just looked up "Go" Code:
no type inheritance no method or operator overloading no circular dependencies among packages no pointer arithmetic no assertions no generic programming |
|
#7
|
|||
|
|||
|
Re: Roborio and Swift?
Quote:
Code:
no type inheritance no method or operator overloading no circular dependencies among packages no pointer arithmetic no assertions no generic programming |
|
#8
|
||||
|
||||
|
Re: Roborio and Swift?
Go actually has *better* generic programming, sorta. It would be cool to use in FIRST.
|
|
#9
|
|||
|
|||
|
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
|
|
#10
|
||||
|
||||
|
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:
|
|
#11
|
|||||
|
|||||
|
Re: Roborio and Swift?
Why would you need any of these features for an FRC robot? Proper inheritance and overloading is a comfort thing, but the rest are mostly useless in an FRC context.
|
|
#12
|
||||
|
||||
|
Re: Roborio and Swift?
Educational probably. Especially pointer arithmetic, that is a nearly daily part of my job.
|
|
#13
|
||||
|
||||
|
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 Last edited by byteit101 : 25-02-2015 at 14:34. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|