Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   C# for FRC (http://www.chiefdelphi.com/forums/showthread.php?t=117639)

E Dawg 08-07-2013 17:48

C# for FRC
 
Does anyone know if FIRST plans to include C# as a fully supported language? Or does the fact that C++ continues to be updated mean that C# will not become a primary programming language?

Joe Ross 08-07-2013 18:04

Re: C# for FRC
 
Are you aware of a power pc C# compiler/runtime that supports vxworks? I think that would be a prerequisite for FIRST to support C# on the cRIO.

As for the new controller, that's anyone's guess.

E Dawg 08-07-2013 18:11

Re: C# for FRC
 
Quote:

Originally Posted by Joe Ross (Post 1281616)
Are you aware of a power pc C# compiler/runtime that supports vxworks?

No.

Quote:

As for the new controller, that's anyone's guess.
The new controller is more what I was interested in. But it would be cool if FRC found a way to support C# on the cRIO as well.

MrRoboSteve 08-07-2013 19:14

Re: C# for FRC
 
For the sort of programming we do, there's very little difference between Java and C# language-wise.

Of course I'd prefer Visual Studio as the IDE, but a big part of that comes from actually working on Visual Studio as part of my day job until about 9 months ago.

JohnFogarty 08-07-2013 22:22

Re: C# for FRC
 
I'm not positive but doesn't Mono support vxworks?

jtdowney 08-07-2013 22:41

Re: C# for FRC
 
Mono does not support VxWorks so you would first need to port it.

brennonbrimhall 09-07-2013 10:04

Re: C# for FRC
 
LabView is built on the .NET framework, right? Instead of going the vxWorks route, couldn't you use the LabView cRIO image instead to make porting easier?

E Dawg 09-07-2013 12:10

Re: C# for FRC
 
Labview is built on .NET but so far as I know the only way to import C# on the cRIO right now is via dlls.

Greg McKaskle 09-07-2013 23:35

Re: C# for FRC
 
Actually, LabVIEW is not built upon .NET or written in C#. LabVIEW predates C# and even C++.

It was originally written in C. After a few years, the team devised their own object oriented mechanisms for C. Eventually, C++ became mature enough and portions were rewritten in C++, then more and more. Today it is almost entirely written in C++.

I googled and found someone asking about mono for VxWorks, but the post from 2009 indicated there was little interest and little work had been done. NI does use mono quite extensively, and it is rather incomplete and buggy even on the Mac.

Is there a particular reason you are asking about C#?

Greg McKaskle

E Dawg 11-07-2013 15:27

Re: C# for FRC
 
I find C# to be preferable to C++ because of its readability and syntax, and was curious if any work was being done on it by FIRST.

Greg McKaskle 11-07-2013 17:01

Re: C# for FRC
 
I think many people would agree with you, but instead of C#, the language choices currently are C++, Java, and LabVIEW. If you know C# well, you shouldn't find it too difficult learning the other languages, and in fact learning a new language will often reenforce some concepts as well as introduce you to a few others.

If you really want to use C# in FRC, it should be applicable for the dashboard application, but at this time, not for the robot.

Greg McKaskle

E Dawg 11-07-2013 18:19

Re: C# for FRC
 
Thanks all.


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

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