Ariana
both unstripped
Anonymous
Forget the difference
Anonymous
Ariana
That's too big
oh would you like assembly
Anonymous
asm is not only about binary sizes
Anonymous
It's about control
Anonymous
What?
That shows another missing lib and Changing extension from .c to .cpp doesn't work
Anonymous
C++ saves programmers from making mistakes, unlike C
Anonymous
😂
D
C is an awesome language, till not doing graphics and strings. 😭 C+STL is ptetty much everything. Thats different that STL is CPP, but yeah. 😝 For systemlevel stuff, C is the still the King.
olli
C is also great if you need to call your code from other languages
D
huh i expected a larger difference actually
When you are compiling a normal program additional libraries are also included. You can remove them with flag - - nostdlib i think.
D
*a lot of additional bins yeah
So stripping wont really help much. It sure does, hugely. But there are still various reasons for large size.
D
im too lazy to implement libc tho
😂😂 Dont have to i guess... Syscalls shud be available.
Anonymous
http://timelessname.com/elfbin/
Anonymous
hello world 142 bytes xD
Ariana
here’s why
Anonymous
D
hello world 142 bytes xD
Still smaller i guess if used COM format of DOS. That was like raw shit on hardware.
many
oh would you like assembly
Embedded system Dev interview: write a merger sort in assembly
D
hold my beer
Thats the spirit.... We want it under 100 bytes..
Anonymous
But lets talk pragmatically, unless there is some real requirements like that, nobody does that
Anonymous
So, many people love sticking somewhere around C/C++
Anonymous
Mostly C++ to get a job, and C to sit in the dark corner xD
D
Embedded system Dev interview: write a merger sort in assembly
You need serious amount of cocaine to even comprehend the question. 😂
Anonymous
😂
Anonymous
asm is not good language to learn data structures, neither C
Anonymous
It's C++
Anonymous
or python (offtopic)
Ludovic 'Archivist'
ok crystal is python on heroin
More like Crystal is compiled Ruby
D
It's C++
To learn, NOPE. To use, Yes. Fucking yes.. Hell yes.. Omg yes.. Please yes....
Anonymous
To learn, NOPE. To use, Yes. Fucking yes.. Hell yes.. Omg yes.. Please yes....
Yeah, actually you corrected me.. learning data structs in C++ is not that good
Rafeeka
Thank u
many
massive code golfing
Embedded systems nowadays have >1GB memory and several GB of storage
klimi
massive code golfing
Oh no you caught maxi
Bader
Embedded systems nowadays have >1GB memory and several GB of storage
it really depends, but yes in general embedded systesm HAVE increased in memory
Bader
I wish they never discontinuted the Intel Edison, that thing was a beast
Anonymous
Marie
BinaryByter
Marie
flirt with her, she's looking for a boyfriend
Ariana
XD
D
XD
Where did the code go?? 😱
Ariana
the ot group
Otumian
java? what's that?
What make Java far fetched from cpp? I don't really see the conflict there..
Ariana
java is basically forced oop
BinaryByter
Neither do i
Java is perfect
Ariana
maxi is high
Ludovic 'Archivist'
Ludovic 'Archivist'
Which reminds me I have to make a clone of the V. E. S. T.
Otumian
maxi is high
I second you
Bader
I use the NVidia Jetson for embedded
wow looks really cool... may ahve to pick one up :)
Bader
Java is perfect
And you love C
Dima
coding while high is a perfect thing
Ariana
me at 5am
BinaryByter
maxi is high
I agree in order not to be forced to lead useless stupid debates where i can't win no matter how good i aw
BinaryByter
fuck yea a new #
klimi
/save howtoask Try phrasing your question like this: 1. Tell us the problem 2. Tell us what you have done so far. 3. Tell us how you got to this point 4. Paste code in pastebin or something similar 5. Wait for beautiful answers
Anonymous
Marie slow
Anonymous
Let's switch to Rose
klimi
i dont think you can reply and save it
klimi
but
klimi
youre the hmmm
klimi
head