Helpful ReplyHot!Pic Programming Language

Page: < 1234 Showing page 4 of 4
Author
NKurzman
A Guy on the Net
  • Total Posts : 16572
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Pic Programming Language 2018/11/06 10:53:01 (permalink)
0
Gort2015
What is HLL?

High level language
#61
NKurzman
A Guy on the Net
  • Total Posts : 16572
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Pic Programming Language 2018/11/06 10:59:41 (permalink)
+1 (1)
Not ASM in C, ASM if you do not like the Trade offs of C, then you can code in pure ASM. There are plenty that do (even for PIC32). C is what C is, and has been for decades. If you think it needs features , then get on the language committee. Other then that learn more about how to make it dance for you. Or try another Language.

I do not think Kenernagan and Riche had 64 bit CPU. But did end up with UNIX.
#62
Brane2
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2011/09/29 19:56:29
  • Location: Ljubljana, Slovenia
  • Status: offline
Re: Pic Programming Language 2018/11/06 11:04:59 (permalink)
0
1and0
FYI, assembler has its shares of bugs too. The floating point assembly routines I mentioned above are written for PIC16 devices; they are _not_ optimized for the PIC18 devices. Finding and fixing its bugs is no fun task. Mod them for PIC18 is no fun either. Or perhaps you'll write your own floating point assembly routines?
Like I said, each has its pros and cons. Use whatever you believe is the right tools for the job.
 



I wasn't trying to start holly wars. Just to point that assembly is far from being out of place here.
 
Whole pont of complex tools, compilers as well as libraries and associated libraries it to be able to automate certain tasks.
 
At least for me and my use profile these tools are more hindrance than help.
 
I don't remember when was the last time that I could generate at least moderately complex project, be it in MCC or Harmony and have it working, without showeling through source.
 
NOw I am d**ing around with code that is obviously miscompiled, without good workaround option.
-O0 f**s things one way, any higher level does damage elsewhere. Assuming that linking gets done right, I am supposed to generate assembly files and plow through them... 
 
What practical value have such tools ?
 
 
 
 
 
 
post edited by Brane2 - 2018/11/06 11:15:45
#63
Brane2
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2011/09/29 19:56:29
  • Location: Ljubljana, Slovenia
  • Status: offline
Re: Pic Programming Language 2018/11/06 11:13:19 (permalink)
0
NKurzman
Not ASM in C, ASM if you do not like the Trade offs of C, then you can code in pure ASM.
There are plenty that do (even for PIC32).

 
Methinks this is what I will do, sooner rather than later.
My point was that having a bit humanized assembler IDE might lift productivity of many programmers and frequently be closer to the optimal tool for the job while actually lessening the burden of supporting such ecosystem.
After all, all strategic pieces of that puzzle are already here - assembler and perhaps linker and dissasembler.
 
NKurzman
 C is what C is, and has been for decades. If you think it needs features , then get on the language committee. Other then that learn more about how to make it dance for you. Or try another Language.

 
Changes in C/C++ are about as radical as continent movement. C can never reach far enough to satisfy those needs while still being essentially C. No point in wasting time and effort on that, especially since one doesn't really need standardisation there.
 
Typical small project for a micro doesn't need to be compatible with all the rest of the universe and all the legacy and a hundres years into the projected future. It just has to be effective tool here and now.
#64
1and0
Access is Denied
  • Total Posts : 8465
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: Pic Programming Language 2018/11/06 11:23:42 (permalink)
0
Brane2
 
I wasn't trying to start holly wars. Just to point that assembly is far from being out of place here.
 
FYI, I'm of the asm camp. But I'll use the right tool for the job.
 

What practical value have such tools ?

As I see it, OP is trying to create a programming language that most likely noone, except him/her, will use.
#65
dan1138
Super Member
  • Total Posts : 2869
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: Pic Programming Language 2018/11/06 15:54:11 (permalink)
+2 (2)
1and0

What practical value have such tools ?

As I see it, OP is trying to create a programming language that most likely noone, except him/her, will use.

This thread begins to remind me of the holy tirades of Olin Lathrop regarding assembly language macros.
#66
Brane2
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2011/09/29 19:56:29
  • Location: Ljubljana, Slovenia
  • Status: offline
Re: Pic Programming Language 2018/11/07 00:10:29 (permalink)
0
dan1138
This thread begins to remind me of the holy tirades of Olin Lathrop regarding assembly language macros.



Sure:
 
https://www.youtube.com/watch?v=CehDxi_qImY
 
With whole MPLABX ecosystem working so good, what is there to do other than ignore those assholes complaining about those few bugs ?
 
#67
JPortici
Super Member
  • Total Posts : 433
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: Pic Programming Language 2018/11/07 02:58:47 (permalink)
0
With whole MPLABX ecosystem working so good, what is there to do other than ignore those assholes complaining about those few bugs ?

precisely.
good enough for me, i've hade more issues with eclipse based IDEs that i couldn't solve, because when it was an issue with eclipse i couldn't find a straight answer. With X instead when an issue, quirk or design choice is actually of the netbeans release X is based on you can still find solutions.
And things just work, or they don't. The installer just works or don't. When they don't uninstall and reinstall and they just work.
 
It's not that you did install this package before the other or this dependency is broken or it wasn't a full moon night when you installed the IDE or other bull so things partially work and you don't know it until it's too late
#68
Brane2
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2011/09/29 19:56:29
  • Location: Ljubljana, Slovenia
  • Status: offline
Re: Pic Programming Language 2018/11/07 04:46:59 (permalink)
0
As you said, good enough for you.
 
Which might be not good enough for everybody.
 
Which means that other perspectives might not be unreasonable, given different environment, useage patterns, used tools and chips etc.
 
And even for you, in some possible scenario. As you say, only possible required path from you was up until now, just a tool reinstallation. Had you been in situation that demands much more exhaustive look into internals, then you'd have to get through that part of the maze somehow, too.
 
#69
1and0
Access is Denied
  • Total Posts : 8465
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: Pic Programming Language 2018/11/07 05:21:13 (permalink)
+1 (1)
This thread has gone off the rail and too much babbling.
 
1. Create a new language cuz "c language is not suitable for pic".
2. "C is crap for these things."
3. MCC and Harmony ...
4. MPLABX ecosystem ...
 
S*it, why not include this forum software and firewall. Access denied. mr green: mr green
#70
JPortici
Super Member
  • Total Posts : 433
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: Pic Programming Language 2018/11/07 05:24:48 (permalink)
0
Brane2
Which might be not good enough for everybody.

and where have i ever implied that?
#71
Brane2
Senior Member
  • Total Posts : 160
  • Reward points : 0
  • Joined: 2011/09/29 19:56:29
  • Location: Ljubljana, Slovenia
  • Status: offline
Re: Pic Programming Language 2018/11/07 05:29:42 (permalink)
0
1and0
 
S*it, why not include this forum software and firewall. Access denied. mr green: mr green


Gimme one decent module that I could use within Codelite or Codeblocks for debugging with Pickit4 or similar cheap dongle  and you can supeglue entrypage  to this forum for all I care...
post edited by Brane2 - 2018/11/07 06:38:34
#72
Page: < 1234 Showing page 4 of 4
Jump to:
© 2018 APG vNext Commercial Version 4.5