Calculator Community > Calculator C

C++ on Nspire-way through eye of a needle?

<< < (2/2)

shmibs:

--- Quote from: Chirlian on February 20, 2017, 09:27:10 am ---Installing C++ on Windows seems simple, compared to the Nspire Version. Handling it is not so simple...
But using another OS for using C++ is not what I would tellm user friendly, it means a 2 stage way and handling linux is not a thing that I get used in short time. But thanks for your answer.

--- End quote ---

as i said, either going through the steps of setting up mingw et. al or just using literally any desktop / server operating system other than windows is necessary for getting this to work. windows has "C and C++ support", but it's an afterthought that has never conformed to the standard everybody else does.

or i guess you can try to struggle with whatever frankenstein of gpl-stripped code and ancient bash it is they're calling an "ubuntu subsystem" on windows 10, but don't expect that to go anywhere either.


--- Quote from: Chirlian on February 20, 2017, 09:27:10 am ---A important aspect for a language is the acceptance of it. Nicest language is not attractive to me when I don't find much support and few ppl who uses it. So I think C++ has some usage for Nspire but C I don't see so often. And programming on the old calculators with bw and non lighted lcd I don't like. Thanks for your hints.

--- End quote ---

C is a much more sensible choice for this kind of thing, honestly. the potential benefits of C++ over C can be summed up as higher-level abstractions and auto-pointers for handling memory, which can lead to non-trivial overhead on a system this tight on resources. take those away, and you're left with what's essentially an out-dated C fork.

as for language acceptance, C is still very much a relevant language (see http://githut.info/). whether it's used the most for this particular platform shouldn't be relevent except in terms of library support.

Chirlian:

--- Quote from: shmibs on February 21, 2017, 02:23:07 pm ---
--- Quote from: Chirlian on February 20, 2017, 09:27:10 am ---Installing C++ on Windows seems simple, compared to the Nspire Version. Handling it is not so simple...
But using another OS for using C++ is not what I would tellm user friendly, it means a 2 stage way and handling linux is not a thing that I get used in short time. But thanks for your answer.

--- End quote ---

as i said, either going through the steps of setting up mingw et. al or just using literally any desktop / server operating system other than windows is necessary for getting this to work. windows has "C and C++ support", but it's an afterthought that has never conformed to the standard everybody else does.

or i guess you can try to struggle with whatever frankenstein of gpl-stripped code and ancient bash it is they're calling an "ubuntu subsystem" on windows 10, but don't expect that to go anywhere either.


--- End quote ---
Yes, I would never expect a stabil working system by such construction..

--- Quote from: shmibs on February 21, 2017, 02:23:07 pm ---
--- Quote from: Chirlian on February 20, 2017, 09:27:10 am ---A important aspect for a language is the acceptance of it. Nicest language is not attractive to me when I don't find much support and few ppl who uses it. So I think C++ has some usage for Nspire but C I don't see so often. And programming on the old calculators with bw and non lighted lcd I don't like. Thanks for your hints.

--- End quote ---

C is a much more sensible choice for this kind of thing, honestly. the potential benefits of C++ over C can be summed up as higher-level abstractions and auto-pointers for handling memory, which can lead to non-trivial overhead on a system this tight on resources. take those away, and you're left with what's essentially an out-dated C fork.


Phew, thats beyond my really simple english. Means that you recommend the older c? Infos about installing c I found only at hackspire (c++).


as for language acceptance, C is still very much a relevant language (see http://githut.info/). whether it's used the most for this particular platform shouldn't be relevent except in terms of library support.

--- End quote ---

Which way would you recommend: installing at windows (7, 64) or using one of the linux versions and install it there? What may be more stabil and better to handle? It looks as if you're favorising linux. I saw at hackspire that there are about the half lot of dependencies need to be installed than the windows version.

Edit (Eeems): Format fix

shmibs:
oh, i'm sorry. i'll try to simplify my english X_X

if you have windows 7, i would recommend using a virtual machine. a good option is virtualbox. install the virtual machine on your windows system and install a linux operating system on the virtual machine. then, using the virtual machine, follow the instructions given for a linux system.

overall, this is the easiest route. installing mingw is very tedious and difficult. installing a linux distribution in a virtual machine takes only a few mouse clicks.

Navigation

[0] Message Index

[*] Previous page

Go to full version