Go to Post "I got flour all over my Chromebook!" - frcguy [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-10-2013, 14:43
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Alternate JVM languages for FRC

Given the popularity of the JVM, quite a few other languages have been created that compile to Java bytecode, such as Scala, Groovy, Clojure, JRuby/Jython, etc. From what I understand, the Squawk JVM we use for FRC is based on Java ME and CLDC, preventing many of these alternate languages from working out of the box. Has anyone else thought about or tried to use an alternate JVM language for FRC? I'm curious as to the possibilities, particularly with languages that have better support for functional programming.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
  #2   Spotlight this post!  
Unread 24-10-2013, 15:09
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
The 2015 control system will be using Java SE.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-10-2013, 15:30
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Alternate JVM languages for FRC

Scala for FRC would be awesome. It wouldn't bee too hard to do either.
__________________
All opinions are my own.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-10-2013, 09:34
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Alternate JVM languages for FRC

Quote:
Originally Posted by Joe Ross View Post
The 2015 control system will be using Java SE.
Finally. ME has been a thorn in my side for a long time.
__________________
I code stuff.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-11-2013, 01:49
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
Re: Alternate JVM languages for FRC

I contacted Derek White at Oracle about 2 years ago about this and also looked into the build process of squawk JVM. However, he told me that not all of the code is posted publicly to reproduce squawk for FRC. You have a good idea, but the level of effort required is significant. All of the actual arena communications are inside the squawk build, so even getting another JVM approved may not happen for safety and related reasons.

I think everyone recognizes the limitations of it and are looking forward to seeing what improvements come in 2015.
__________________
I have a doctoral degree in electrical engineering. My FIRST mentoring philosophy is to encourage student-led activities and create a level playing field among all teams. I believe this approach results in an exciting game, rather than emphasis on a handful of dominant teams.

FIRST FRC Teams that I have mentored: 612, 342, 2035, and 5104. FIRST FRC Teams that I have helped through build seasons: 4171, 4255, and 5171.
Reply With Quote
  #6   Spotlight this post!  
Unread 14-11-2013, 15:15
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,931
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Alternate JVM languages for FRC

I am not really a Java person so forgive my inaccuracy. The JVM would be on the CRiO? So you really don't have the option of changing that.

The inspectors last season verified the version of netbeans plugins we were using. I don't find in the rules that you have to use a specific version though & it is not on the inspection sheet. (Maybe you do if you want your code to work. )
Reply With Quote
  #7   Spotlight this post!  
Unread 14-11-2013, 17:28
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Alternate JVM languages for FRC

@FrankJ: Yes, the JVM runs on the cRIO, so we don't have any option of changing it. The problem with most of the languages I mention is that they require runtime libraries that are built for Java SE. One would have to backport the libraries to Java ME to use one of these languages, which is no small task.

I recently stumbled upon a lesser known language called Mirah that doesn't require any runtime libraries. It has a Ruby like syntax and compiles directly to Java bytecode. From the looks of this thread, I'm not the first one on CD to discover it: http://www.chiefdelphi.com/forums/sh...d.php?t=109460. I haven't done much with it yet, but it looks interesting.

I agree that getting Java SE in 2015 will be nice. I will have graduated high school by then, but it will definitely open up a lot of new possibilities for FRC.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi