New Posts  All Forums:Forum Nav:

C+++?? - Page 2

post #11 of 15
Quote:
Originally Posted by DaveLT View Post

I'm just speaking from experience what i use C for redface.gif C is used for robots most of the time because it's the easiest level-language you can write and because C isn't for anything GUI heavy.
Well like I said, it depends on what the OP meant by "robots". AI is rarely done in C because imperative languages like C aren't that great for the kind of heuristics that AI often demands. And web-based robots (eg IRC bots, search engine spiders, Reddit bots, etc) can be coded in whatever language you want.

Most of the robots I've written have been in Perl just because of the speed at which I can bang out code (even for the real time devices, I've not needed the performance of C so it seemed pointless to invest the development time on it)

Then you have your educational languages (eg Logo) which are also used for controlling basic robots (just because it looks "cool" laugher.gif)

The only instance I know of there robots are predominantly coded in C are the industrial tools - but even there, a lot of them are just controlled via TCP/IP sockets (or at least the ones I've been exposed to were) so you could use pretty much any language you wanted if you were fussy enough.
Quote:
Originally Posted by DaveLT View Post

Good luck using anything else ... On ARM. redface.gif
You mean aside Java (which Android handsets use), Python (one of the demo languages for the Raspberry Pi), Go (which I used to build my ARM car stereo in), Perl (I used to code Perl on an ARM device), and a whole plethora of other languages?

ARM is hardly a niche platform. In fact I even used to run a brainf compiler on ARM back when I was playing around with esoteric languages.
Edited by Plan9 - 5/29/13 at 3:55am
post #12 of 15
You got the wrong robots .. those are netbots. I'm talking about the mechanical kind ...
I use C mainly because that's their native language and were design to be compiled with and run best.
Ayase Eli
(20 items)
 
Testbench
(10 items)
 
MC Server
(13 items)
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700 ASRock X370 SLI Killer Zotac GTX1070 "FE" with ID Cooling Frostflow 240G Crucial BallistiX Sport LP 16GB 8x2GB 
Hard DriveHard DriveHard DriveCooling
Zotac SSD Premium 480GB OCZ Vector 180 480GB Hitachi 7K3000 3TB 7200rpm ID Cooling Frostflow 240L 
CoolingCoolingCoolingCooling
ID Cooling Frostflow 240G Phanteks F140MP x2 CoolerMaster Silencio FP120 x2 Phanteks F140SP 
CoolingMonitorKeyboardPower
Delta AFB1212SH x2 Dell U2713HM CM Storm MECH FSP Aurum PT 1200 
CaseMouseMouse PadAudio
Phanteks Enthoo Pro Logitech G102 Tesoro Aegis X3 Virtus.Pro AKG K7XX 
CPUMotherboardGraphicsRAM
Intel i7 6700k Gigabyte Z170X-UD5 Depends Depends 
Hard DriveCoolingMonitorKeyboard
Plextor M5S Depends Dell U2312HM CM Storm Quickfire Rapid-i 
PowerMouse
FSP Aurum PT 1200 CM Storm Mizar 
CPUMotherboardGraphicsRAM
Intel i7 2600 4GHz Gigabyte Z77X D3H Intel HD Graphics 2000 obviously Kingston HyperX Genesis 4X4GB DDR3 1600 
Hard DriveCoolingCoolingCooling
Intel 530 240GB Deepcool Captain 240 Arctic Cooling Bionix 140 Delta AFB1212L 
OSPowerCase
Windows 10 Pro CoolerMaster G750M NZXT Switch 810 
  hide details  
Reply
Ayase Eli
(20 items)
 
Testbench
(10 items)
 
MC Server
(13 items)
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700 ASRock X370 SLI Killer Zotac GTX1070 "FE" with ID Cooling Frostflow 240G Crucial BallistiX Sport LP 16GB 8x2GB 
Hard DriveHard DriveHard DriveCooling
Zotac SSD Premium 480GB OCZ Vector 180 480GB Hitachi 7K3000 3TB 7200rpm ID Cooling Frostflow 240L 
CoolingCoolingCoolingCooling
ID Cooling Frostflow 240G Phanteks F140MP x2 CoolerMaster Silencio FP120 x2 Phanteks F140SP 
CoolingMonitorKeyboardPower
Delta AFB1212SH x2 Dell U2713HM CM Storm MECH FSP Aurum PT 1200 
CaseMouseMouse PadAudio
Phanteks Enthoo Pro Logitech G102 Tesoro Aegis X3 Virtus.Pro AKG K7XX 
CPUMotherboardGraphicsRAM
Intel i7 6700k Gigabyte Z170X-UD5 Depends Depends 
Hard DriveCoolingMonitorKeyboard
Plextor M5S Depends Dell U2312HM CM Storm Quickfire Rapid-i 
PowerMouse
FSP Aurum PT 1200 CM Storm Mizar 
CPUMotherboardGraphicsRAM
Intel i7 2600 4GHz Gigabyte Z77X D3H Intel HD Graphics 2000 obviously Kingston HyperX Genesis 4X4GB DDR3 1600 
Hard DriveCoolingCoolingCooling
Intel 530 240GB Deepcool Captain 240 Arctic Cooling Bionix 140 Delta AFB1212L 
OSPowerCase
Windows 10 Pro CoolerMaster G750M NZXT Switch 810 
  hide details  
Reply
post #13 of 15
Quote:
Originally Posted by DaveLT View Post

You got the wrong robots .. those are netbots. I'm talking about the mechanical kind ...
"Netbots" are called "robots" - they're just a different definition of robots. And you're also ignoring the other examples I gave. Take ASIMO (the most traditional image that people have when one says "robot"), a lot of the subsystems would be coded in languages that handle non-boolean logic flow / homoiconic structures better than the more traditional (read: imperative) languages do. This is why Lisp (et al) are often mentioned when talking about AI (and when talking about humanoid-like robots, AI is pretty core to the design of the robot).
Quote:
Originally Posted by DaveLT View Post

I use C mainly because that's their native language and were design to be compiled with and run best.
Technically "their native language" would be machine code. tongue.gif But I do understand why you use C. That part never needed explaining. My point was about how you keep making the assumption that the op was talking specifically about your niche definition of what a robot is. Which is why I keep coming back to the point that the term "robot" is too generalized in IT to make a claim such as yours that all robots are written in C.
Edited by Plan9 - 5/29/13 at 4:30am
post #14 of 15
Quote:
Originally Posted by Plan9 View Post

"Netbots" are called "robots" - they're just a different definition of robots. And you're also ignoring the other examples I gave. Take ASIMO (the most traditional image that people have when one says "robot"), a lot of the subsystems would be coded in languages that handle non-boolean logic flow / homoiconic structures better than the more traditional (read: imperative) languages do. This is why Lisp (et al) are often mentioned when talking about AI (and when talking about humanoid-like robots, AI is pretty core to the design of the robot).
Technically "their native language" would be machine code. tongue.gif But I do understand why you use C. That part never needed explaining. My point was about how you keep making the assumption that the op was talking specifically about your niche definition of what a robot is. Which is why I keep coming back to the point that the term "robot" is too generalized in IT to make a claim such as yours that all robots are written in C.
biggrin.gif Well, well. I didn't read OP anyway tongue.gif
Ayase Eli
(20 items)
 
Testbench
(10 items)
 
MC Server
(13 items)
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700 ASRock X370 SLI Killer Zotac GTX1070 "FE" with ID Cooling Frostflow 240G Crucial BallistiX Sport LP 16GB 8x2GB 
Hard DriveHard DriveHard DriveCooling
Zotac SSD Premium 480GB OCZ Vector 180 480GB Hitachi 7K3000 3TB 7200rpm ID Cooling Frostflow 240L 
CoolingCoolingCoolingCooling
ID Cooling Frostflow 240G Phanteks F140MP x2 CoolerMaster Silencio FP120 x2 Phanteks F140SP 
CoolingMonitorKeyboardPower
Delta AFB1212SH x2 Dell U2713HM CM Storm MECH FSP Aurum PT 1200 
CaseMouseMouse PadAudio
Phanteks Enthoo Pro Logitech G102 Tesoro Aegis X3 Virtus.Pro AKG K7XX 
CPUMotherboardGraphicsRAM
Intel i7 6700k Gigabyte Z170X-UD5 Depends Depends 
Hard DriveCoolingMonitorKeyboard
Plextor M5S Depends Dell U2312HM CM Storm Quickfire Rapid-i 
PowerMouse
FSP Aurum PT 1200 CM Storm Mizar 
CPUMotherboardGraphicsRAM
Intel i7 2600 4GHz Gigabyte Z77X D3H Intel HD Graphics 2000 obviously Kingston HyperX Genesis 4X4GB DDR3 1600 
Hard DriveCoolingCoolingCooling
Intel 530 240GB Deepcool Captain 240 Arctic Cooling Bionix 140 Delta AFB1212L 
OSPowerCase
Windows 10 Pro CoolerMaster G750M NZXT Switch 810 
  hide details  
Reply
Ayase Eli
(20 items)
 
Testbench
(10 items)
 
MC Server
(13 items)
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700 ASRock X370 SLI Killer Zotac GTX1070 "FE" with ID Cooling Frostflow 240G Crucial BallistiX Sport LP 16GB 8x2GB 
Hard DriveHard DriveHard DriveCooling
Zotac SSD Premium 480GB OCZ Vector 180 480GB Hitachi 7K3000 3TB 7200rpm ID Cooling Frostflow 240L 
CoolingCoolingCoolingCooling
ID Cooling Frostflow 240G Phanteks F140MP x2 CoolerMaster Silencio FP120 x2 Phanteks F140SP 
CoolingMonitorKeyboardPower
Delta AFB1212SH x2 Dell U2713HM CM Storm MECH FSP Aurum PT 1200 
CaseMouseMouse PadAudio
Phanteks Enthoo Pro Logitech G102 Tesoro Aegis X3 Virtus.Pro AKG K7XX 
CPUMotherboardGraphicsRAM
Intel i7 6700k Gigabyte Z170X-UD5 Depends Depends 
Hard DriveCoolingMonitorKeyboard
Plextor M5S Depends Dell U2312HM CM Storm Quickfire Rapid-i 
PowerMouse
FSP Aurum PT 1200 CM Storm Mizar 
CPUMotherboardGraphicsRAM
Intel i7 2600 4GHz Gigabyte Z77X D3H Intel HD Graphics 2000 obviously Kingston HyperX Genesis 4X4GB DDR3 1600 
Hard DriveCoolingCoolingCooling
Intel 530 240GB Deepcool Captain 240 Arctic Cooling Bionix 140 Delta AFB1212L 
OSPowerCase
Windows 10 Pro CoolerMaster G750M NZXT Switch 810 
  hide details  
Reply
post #15 of 15
Quote:
Originally Posted by DaveLT View Post

biggrin.gif Well, well. I didn't read OP anyway tongue.gif
I meant opening poster's comments (ie the comment you directly replied to) rather than the opening post of this thread smile.gif
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming