Stefan
i can write it in D if i had the knowledge and algorithm
Stefan
basically anything can be possible if i had the knowledge and algorithm
Stefan
dont fall into those superstitions that C and C++ had different functionalities can you?
Stefan
at the end of the day it is just fucking x86/arm/mips/cpu code whatsoever if you wish to resolute further
Stefan
linus pulled out his shotgun at c++ devs not because c++ itself is shit [1], but c++ devs are usually shit, the context of "YOU are full of SHIT" is based on some c++ devs contributing shit code to kernel.org
[1]: maybe not, see http://harmful.cat-v.org/software/c++/linus, "C++ leads to really really bad design choices." but i believe he's just protecting linux kernel from introducing c++ code and may not be truth of his word
Stefan
he himself had a c++ qt project
MᏫᎻᎯᎷᎷᎬᎠ
Stefan
so i just to be clear and dont want to alarm the admins, dont think that c++ is a saint not to be touched in any sense, peace out
Stefan
and yes, there are some dark sides of c++, for example constexpr, tmp, bloated templates, unstable abi (name mangling sucks)
Stefan
nobody wants to learn those "features" so people tend to use c++ because they want to get things done in a minimal settings
Stefan
https://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
Stefan
im also pretty disappointed at c++ team that they didn't include coroutines so im considering a switch to D or back to C#
MᏫᎻᎯᎷᎷᎬᎠ
40% of what you say is wrong
And the rest part is sth I don't have the knowledge to say sth about
That's why I called @linuxer4fun
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Param Veer
Is anyone having output of these
Anonymous
Anonymous
is masters theorem applicable here
Talula
are you fucking serious
Language please... if you don't agree counter comment, don't act like your opinion is final.
Anonymous
Stefan
Stefan
jvm bytecode
Stefan
Stefan
non-sense?
Anonymous
Stefan
unless you are talking about some crazy stuff like pointers
Anonymous
Forget in java
Anonymous
Talula
non-sense?
First get off your PMS then talk right now you're jumpy for no reason... yes try strings in C and then try it in Java.
Talula
Try including 2 libraries with same funtion name...
Stefan
Stefan
literal or array
Talula
which string
If you don't know "Strings" then stay in C... please don't come out.
Talula
There is no such thing as "literal" string in C... duhh... learn a bit.
Stefan
Stefan
Talula
I'm not SIR... and I don't care about C++ here... I said "C"... learn the difference.
Stefan
C89/C90 standard (ISO/IEC 9899:1990):
3.1.4 String literals
Stefan
Anonymous
Stefan
what are those
Talula
Get off your PMS then talk to me... while you're at it learn some respect and learn C
Stefan
Stefan
do you know threads.h?
Talula
Are you trying to compare to me?
Stefan
do you know designated initializer?
Talula
Do you know LoRa protocol?
Talula
No right? So don't compare...
Stefan
we are talking language here dont red herring
Stefan
Talula
Yeah learn to respect people if I'm wrong I don't have problem accepting it, but being asshole doesn't help getting your point accross.
Stefan
you're c fanboy or what?
Stefan
i smashed you with facts and you still say i know nothing about c like jon snow
Talula
What facts? That there is something called "string" in C?
Talula
Pointer to array start and array of char isn't string.
Talula
It is a very hard thing to manage strings in C, this is one of the reason there is C++.
Stefan
char buf[512] = {0};
char *a = "hello "
strcpy(buf, a);
strcat(buf, "tazz");i didn't see how it is particularly hard
Talula
Really you think you could do that in a processor programming without allocating space for a?
Stefan
Stefan
alloca
Stefan
or use .text/db "hello "
Talula
It is simply pointer to a space where your string is stored...
Talula
Yeah... that is simple right?
Talula
Wow...
Stefan
much simpler than what you do in java where string is a reference
Talula
It's simpler than String a = "Hello";
Stefan
Talula
Didn't know.
Stefan
also java string is immutable
Stefan
which means more memory overhead
Stefan
whether it is cow or deep copy model or not
Talula
Wow... yes with my computer I need to care about few bytes...