View Single Post
  #1   Spotlight this post!  
Unread 25-02-2015, 14:29
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Roborio and Swift?

Quote:
Originally Posted by virtuald View Post
Not true. Any language that can run on linux, could potentially be run on the RoboRIO. The "hard" part (really, it's typically just a lot of tedious work, as opposed to being truly hard) is creating appropriate bindings for WPILib/HAL.

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.
Go is actually used for some of our tests here at WPI. Rather easy to compile for arm. Javascript and Ruby (and Python) in theory should be able to work *RIGHT NOW* via the JVM with Nashorn or Rhino, JRuby, and Jython respectively. Hmm... now I have to go try this out...

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
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib

Last edited by byteit101 : 25-02-2015 at 14:34.