Author Topic: nuttx - "linux" on a microcontroller  (Read 26873 times)

0 Members and 1 Guest are viewing this topic.

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 9056
  • Country: us
    • SiliconValleyGarage
Re: nuttx - "linux" on a microcontroller
« Reply #50 on: October 07, 2016, 02:32:02 pm »

stop comparing a single purpose compiler highly optimized for ARM processors with a compiler which supports most of the mainstream architectures and is design to

and what is today's mainstream embedded architecture ? ARM ! everything else is dead, croaking or being carried out the backdoor to shoot it. i am willing to stat that ARM has at least 60% of the 32 bit embedded market. seconded by some MIPS machines. and that's it. the rest is poppycock.

as for 8 and 16 bitters : those are dying out very fast. Look at what is being introduced in the market these days. its all Cortex based. Every single new micrcontroller being released is Cortex. Even Atmel has Cortex machines now. Only Microchip is stuck to MIPS (actually that was the reason they bought atmel : to get their hands on an ARM portfolio .. )
« Last Edit: October 07, 2016, 02:34:37 pm by free_electron »
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline rob77

  • Super Contributor
  • ***
  • Posts: 2100
  • Country: sk
Re: nuttx - "linux" on a microcontroller
« Reply #51 on: October 07, 2016, 03:57:42 pm »

stop comparing a single purpose compiler highly optimized for ARM processors with a compiler which supports most of the mainstream architectures and is design to

and what is today's mainstream embedded architecture ? ARM ! everything else is dead, croaking or being carried out the backdoor to shoot it. i am willing to stat that ARM has at least 60% of the 32 bit embedded market. seconded by some MIPS machines. and that's it. the rest is poppycock.

as for 8 and 16 bitters : those are dying out very fast. Look at what is being introduced in the market these days. its all Cortex based. Every single new micrcontroller being released is Cortex. Even Atmel has Cortex machines now. Only Microchip is stuck to MIPS (actually that was the reason they bought atmel : to get their hands on an ARM portfolio .. )

fully agree with you !

but legacy's overly glorified DDE is not a compiller for embeded ARM systems you mention... basically the DDE is a toolchain including compiler for RISC OS made by Acorn.   so saying it's superior to GCC is bullshit. it's comparing apples with oranges...
considering the facts theat DDE is not even listed here : https://en.wikipedia.org/wiki/List_of_ARM_Cortex-M_development_tools
it seems it's not even usable for embeded systems (while GCC is)

i'm not saying GCC is the best compiler , i'm saying it's a good compiler and many useful projects wouldn't exist without it.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: nuttx - "linux" on a microcontroller
« Reply #52 on: October 08, 2016, 11:49:01 am »
that's bullshit, I am an IRIX user since 2001
MIPS/Pro is far away from the definition of "incredibly crappy"
on the contrary those gnu things they have always disapointed
so much that every IRIX user with some money has tried
to get a copy of the MIPS/pro on ebay as soon as possible
...
performances and the quality of the assembly are superlative

And when was your MIPS/pro last updated for current C/C++ standard?

Assembly quality is of little use when the code won't compile because the compiler doesn't support the new features.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: nuttx - "linux" on a microcontroller
« Reply #53 on: October 08, 2016, 11:52:33 am »

stop comparing a single purpose compiler highly optimized for ARM processors with a compiler which supports most of the mainstream architectures and is design to

and what is today's mainstream embedded architecture ? ARM ! everything else is dead, croaking or being carried out the backdoor to shoot it. i am willing to stat that ARM has at least 60% of the 32 bit embedded market. seconded by some MIPS machines. and that's it. the rest is poppycock.

as for 8 and 16 bitters : those are dying out very fast. Look at what is being introduced in the market these days. its all Cortex based. Every single new micrcontroller being released is Cortex. Even Atmel has Cortex machines now. Only Microchip is stuck to MIPS (actually that was the reason they bought atmel : to get their hands on an ARM portfolio .. )

fully agree with you !

but legacy's overly glorified DDE is not a compiller for embeded ARM systems you mention... basically the DDE is a toolchain including compiler for RISC OS made by Acorn.   so saying it's superior to GCC is bullshit. it's comparing apples with oranges...
considering the facts theat DDE is not even listed here : https://en.wikipedia.org/wiki/List_of_ARM_Cortex-M_development_tools
it seems it's not even usable for embeded systems (while GCC is)

i'm not saying GCC is the best compiler , i'm saying it's a good compiler and many useful projects wouldn't exist without it.

Folks, world isn't just embedded MCUs. GCC wasn't even originally targetting that space. So while ARM is prevalent in the embedded space, there are still plenty of other mainstream applications where a compiler is needed and which are not ARM-based (and likely won't be for a while yet). Like that PC you are most likely writing your embedded code on ...

 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: nuttx - "linux" on a microcontroller
« Reply #54 on: October 08, 2016, 02:19:53 pm »
I was comparing gcc/RISCOS with DDE/RISCOS:
the DDE is superior, it generates better code, more optimized,
better documented, suited with a better debugger
and it's much more faster and comfortable (more productivity)

which IS the first and most important thing
you should look at, instead of that bullshit
on "gcc virtually supports anything including dead dinos
(PDP11 ? who cares?) and toasters
"  :palm: :palm: :palm:

supporting and promoting all of those legacy in GCC implies
a LOT of complexity in the source code, and a lot of effort
aka human power  :horse: :horse: :horse:

also it makes difficult to re-target the compiler for other purposes
e.g. the dude of the Magic1 HomeBrewCpu project
(he happens to have a job in google, he is not the last moron on the Earth)
used LCC instead of gcc because gcc is TOO much complex



concerning MIPS/Pro on IRIX
although you can still buy your copy through dealers
not mentioning through ebay, anyhow, just for the record
MIPS/pro came in its EOL (end of life) since 2005,
and since then it's considered abandonware

dead? yes, it's gone, and it was not the point,
since when MIPS/pro was introduced and used,
before 2005, gcc had always sucked (and it still sucks) a lot!

doesn't MIPS/Pro support C++11? No, it doesn't,
and we have to use gcc(1)
if we want to compile modern things on IRIX
(if it makes sense, sometimes it does not),
oh, things said without knowing what the frog
you are talking about, in fact, still worse in the top list
the above fanatic guy said that
all the compilers for every UNIX (so, including IRIX)
were "incredibly buggy and crappy", which is proved to be a lie

but we love to tell bullshit because we love GNU, ain't it?


basically the DDE is a toolchain including compiler for RISC OS made by Acorn.   so saying it's superior to GCC is bullshit. it's comparing apples with oranges

can't you re-target the whole DDE-toolchain
(which is script-able through parameters,
therefore you can exclude the default crt0,
link you own c-run-time, your own libraries
and use your own linker script,
and your own CFLAGS etc etc etc
forcing the compiler to exclude OS-headers)
for your own bare metal profiles?

no, obviously you can't because it's not GCC :palm: :palm: :palm:



(1) waiting for a complete switch to LLVM,
currently we (IRIX users) don't have enough
man-power to achieve such a goal



edit:
last time I open this topic
« Last Edit: October 08, 2016, 02:31:49 pm by legacy »
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: nuttx - "linux" on a microcontroller
« Reply #55 on: October 08, 2016, 07:28:52 pm »
I was comparing gcc/RISCOS with DDE/RISCOS:
the DDE is superior, it generates better code, more optimized,
better documented, suited with a better debugger
and it's much more faster and comfortable (more productivity)

which IS the first and most important thing
you should look at, instead of that bullshit
on "gcc virtually supports anything including dead dinos
(PDP11 ? who cares?) and toasters"  :palm: :palm: :palm:

And you go on to generalize from that over the entire compiler suite. Did it occur to you that maybe, just maybe, the problem is that the GCC backend for RISCOS was crappy for whatever reason? Which is neither an exception (there are many poorly supported architectures like that, especially old and obscure stuff) nor has any bearing on the quality of the other backends or the language frontends.

dead? yes, it's gone, and it was not the point,
since when MIPS/pro was introduced and used,
before 2005, gcc had always sucked (and it still sucks) a lot!

Um right. Except pretty much every single software I had to deploy on our Indigos, Octanes, O2 and the big iron Onyx during 2001-2005 required gcc to build for whatever reason ...  :-//

If the software doesn't build with your compiler without extensive hacks or porting, the debate about MIPS/Pro being superior is at best academic. I needed to deploy a patched sendmail/postfix/whatever *now* or risk the machine getting hacked and not try to figure out how to make the build work with another, unsuported, compiler to gain a bit of compilation speed or runtime performance.

oh, things said without knowing what the frog
you are talking about, in fact, still worse in the top list
the above fanatic guy said that
all the compilers for every UNIX (so, including IRIX)
were "incredibly buggy and crappy", which is proved to be a lie

Considering I have personally used and had to support all those systems listed for living (and a few I didn't list). I think I know a wee bit what am I talking about. You have only declared it a lie and called me a fanatic - with no supporting argument.

but we love to tell bullshit because we love GNU, ain't it?

 :palm:

« Last Edit: October 08, 2016, 07:46:29 pm by janoc »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->