Author Topic: C# for the nspire  (Read 12138 times)

0 Members and 1 Guest are viewing this topic.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
C# for the nspire
« on: September 06, 2010, 03:12:20 pm »
(I hope I am in the right forum)

Well, I was wondering if this was possible, I really like C# and it would be awsome for it to be ported to the nspire

Though I don't know the possibility of this happening because C# is not compiled, it is interpreted..


Discuss


(my 333'rd post)
« Last Edit: September 06, 2010, 03:15:10 pm by qazz42 »

_player1537

  • Guest
Re: C# for the nspire
« Reply #1 on: September 06, 2010, 03:25:04 pm »
Woah... Wut?

I didn't think C# was interpreted, I could have sworn it was compiled...  You might be thinking of java which is interpreted on the fly (as it is being run).  Python is also interpretted.

Regardless, I think C# would be ok for the Nspire.  I'd personally stick with C.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: C# for the nspire
« Reply #2 on: September 06, 2010, 03:26:59 pm »
Player.. uhh.. It is interpreted..



Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: C# for the nspire
« Reply #3 on: September 06, 2010, 03:31:30 pm »
Yeah, C# is interpreted, though the .NET VM and Mono, just like the JVM, have some form of JIT-ing.
For completeness: both C# and Java can be compiled [Ahead Of Time], but then you lose portability, and some capabilities.

[EDIT: making the second sentence more precise]
« Last Edit: September 14, 2010, 02:47:35 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: C# for the nspire
« Reply #4 on: September 06, 2010, 03:39:12 pm »
thanks Lionel

Now back to the topic!

Can C# be ported to the nspire once we get the proper libraries, this will make programming on the nspire alot easier for us .NET framework users (Like SirCmpwn)

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: C# for the nspire
« Reply #5 on: September 06, 2010, 03:52:29 pm »
The .NET framework takes 850 MB of disk space. You couldn't fit it on 26 Nspires.
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: C# for the nspire
« Reply #6 on: September 06, 2010, 03:59:05 pm »
Crap. perhaps we can make our own C# interpriter?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: C# for the nspire
« Reply #7 on: September 06, 2010, 03:59:12 pm »
Someone would most likely have to write a dumbed-down version of it, assuming it's interpreted, meaning a lot of stuff would be missing.

Maybe someone could write a similar language but compiled, though. At the same time, it would be nice to have Axe Parser for Nspires

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: C# for the nspire
« Reply #8 on: September 06, 2010, 04:14:32 pm »
I agree DJ, I think that could work, it could do without things like Web applications and such

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: C# for the nspire
« Reply #9 on: September 06, 2010, 07:34:29 pm »
C#, well how about C++
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: C# for the nspire
« Reply #10 on: September 06, 2010, 08:45:13 pm »
Let's go for C++ support first. The Nspire is slow enough without the overhead of an interpreter.
It's probably possible though, since Java runs on slow, ARM platforms.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: C# for the nspire
« Reply #11 on: September 06, 2010, 10:17:55 pm »
i am sure it could be possible. I am certain it can't be any worse than TI-BASIC interpreter source code

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: C# for the nspire
« Reply #12 on: September 07, 2010, 12:26:40 pm »
For c++, isn't it just a matter of using g++ rather than gcc?

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: C# for the nspire
« Reply #13 on: September 07, 2010, 12:57:00 pm »
We don't have a standard library, and it is doubtful that the OS contains a C++ standard library.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: C# for the nspire
« Reply #14 on: September 07, 2010, 02:53:49 pm »
Isn't c++ backwrds compatible with C code?