BinaryByter
except in CLINL ;_;
BinaryByter
YOU FORCE ME
Anonymous
i've done some really gruesome stuff in the past with OOP
I'm not really a huge fan of OOP , that's why I don't use it mch
Anonymous
*much
BinaryByter
keep that in mind
BinaryByter
if it was, I would be fine with using C honestly
Ludovic 'Archivist'
lmao
If you thing OOP is the best feature of C++, or even the reason to use C++, you likely have a long way to go
BinaryByter
#spotTheReference
BinaryByter
I didn't say that
You are talking about it like its the only benefit of C++
Anonymous
Don't assume or misunderstand
Ludovic 'Archivist'
The only use of the class keyword is RAII
Anonymous
I mainly code in C , I don't use C++ so often
klimi
hello ludo
Anonymous
So I'm mainly used to C
Randy
Guys how can I find no common factor for the given number
Ludovic 'Archivist'
And making bulk templates
Ludovic 'Archivist'
klimi
Hey!
how are you?
Anonymous
lolz see ya in a bit
Ludovic 'Archivist'
how are you?
Fine, converting a C++ library to crystal
Randy
Eg for 20 1,3,7,9,11,13,17,19 are no common factors
BinaryByter
charitable human being
Ludovic 'Archivist'
The crystal code is exactly as readable as the C++ one
Anonymous
as I read sometime when starting to code
BinaryByter
URRRRRGHHHHHHHHHHH
Anonymous
“there is nothing you can do in one language that you can't in another. the difference is which one is better for what you want to do”
BinaryByter
URRRRRGHHHHHHHHHHH
FINE I WON'T USE INHERITANCE
BinaryByter
URRGG
BinaryByter
YOU LITTLE SHIT C++
BinaryByter
CAN YOU PLEASE PLASE PWEEAASSSE DIE IN A PIT FULL OF CITRIC ACID THAT SLOWLY DESTROYS YOU?
BinaryByter
JUST DO IT
Anonymous
I personally preffer C, since is lower level, hence you can control it better.
BinaryByter
O
BinaryByter
L
BinaryByter
C is only lower level in that it lets you cast pointers silently
Ludovic 'Archivist'
I personally preffer C, since is lower level, hence you can control it better.
Mmmh you can use low level C++ for stuff that needs it and higher level for stuff that doesn't
BinaryByter
C++ is bae
Ludovic 'Archivist'
I personally preffer C, since is lower level, hence you can control it better.
Also, manipulation of atomic in C is... Higher level than in C++ xD
Anonymous
lol xDD
dude, stop being so cringy
Anonymous
anonimity really brings out the worst from some people...
BinaryByter
dude, stop being so cringy
what? how am I cringy when you said this: I personally preffer C, since is lower level,
BinaryByter
Anonymous
how hard is it to simply answer why I'm wrong in a nice way?
Anonymous
"hurr durrr u r dumb so cringy im better hurr durr"
BinaryByter
I mean i'm sorry if you understood it like that
Anonymous
"L O L"
BinaryByter
but I was quite astounded that someone could have such an uninformed opinion
Ludovic 'Archivist'
"hurr durrr u r dumb so cringy im better hurr durr"
It is just that he likely didn't knew the fact and found it funny
Anonymous
don't mind
BinaryByter
lol xDD
I didnt reply to you on that one
Anonymous
Okay .. Let's keep the chat clean :)
BinaryByter
^
klimi
^
BinaryByter
^
again - it isn't
BinaryByter
it's just a lot more unreadable
Anonymous
Lol
Ludovic 'Archivist'
I personally preffer C, since is lower level, hence you can control it better.
Here is an example on what C++ can do when doing low level: void SpreadfileReader::open(const std::string& filename, size_t qt_mnt, size_t offset_mnt=0) { semaphore++; this->filename=filename; fd=open64(filename.c_str(),O_RDWR | O_CREAT,S_IWUSR | S_IRUSR | S_ISUID); size_t page_size=sysconf(_SC_PAGE_SIZE); qt_mnt+=page_size-qt_mnt%page_size; archivist::ensure_size(fd,qt_mnt+qt_mnt); memory=(FSDS_Event*)mmap64(NULL,qt_mnt,PROT_READ|PROT_WRITE,MAP_SHARED,fd,offset_mnt); madvise((char*)memory,qt_mnt,MADV_SEQUENTIAL); madvise((char*)memory,qt_mnt,MADV_DONTDUMP); max_offset=qt_mnt; max_w_offset=(FSDS_Event*)((char*)memory+qt_mnt-(qt_mnt%EventTrait<0>::size())); write_cursor=memory; mnt_offset=offset_mnt; }
Ludovic 'Archivist'
show me dem includes
#include <unistd.h>
BinaryByter
just that?
Ludovic 'Archivist'
yes
BinaryByter
unistd is gnu stuff, right?
Ludovic 'Archivist'
klimi
i give up...
Ludovic 'Archivist'
mostly system calls