BinaryByter
since DMA isn't handled in the CPU
Dima
Yeah now explain this to hr how smart you are 😜
BinaryByter
wat?
BinaryByter
No need to explain this to hr
BinaryByter
if it works, ¯\_(ツ)_/¯
BinaryByter
Also, using one file for every little thing in the program really is horrible
BinaryByter
https://github.com/Janrupf/cutelang
BinaryByter
anybody up for some meme?
Andrea
>claim is that every C library will compile in C++ >i refute it by an easy example >"just modify xy" >litterally thinks that i'm dumber than him >mfw
the claim was that you can _use_ every library written in C in C++, you don't need to compile them in C++ to do that
BinaryByter
.h files aren't a thing?
Sai Meghana
Are you saying that C++ can use ALL of C libraries?
BinaryByter
🤨
Sai Meghana
That would mean all the functions of C can be complied in C++?
BinaryByter
It would
BinaryByter
(except for object files, but ¯\_(ツ)_/¯)
Sai Meghana
I don't think I've ever tried printf in C++
BinaryByter
should work
BinaryByter
there is a port of the cstdlib in C++
Andrea
That would mean all the functions of C can be complied in C++?
nope, that means that you can link to a library written in C
BinaryByter
nope, that means that you can link to a library written in C
Enjoy using the functions without any declarations =D
Andrea
but not every C function will compile in C++
Sai Meghana
This is all going above my head.
Andrea
Enjoy using the functions without any declarations =D
you can import declaration without problem
BinaryByter
you can import declaration without problem
except for when you can't because someone typedefed a bool, or used an old syntax for a struct or even just has one single utility in the .h file that contains invalid C++ code
Andrea
c++ does not support old struct format?
BinaryByter
🤔
BinaryByter
I don't remember wether it does
BinaryByter
Anyway, there are so many differences between C and C++
Andrea
if you find code in .h please change library, but yea macro and typedef can createmore incopatibility
Sai Meghana
Are there linked lists in C?
BinaryByter
yepp!
BinaryByter
Well... don't use libraries to begin with
Andrea
No, don't change library if you find code in .h?
not the code of the librery, pick another one
BinaryByter
why not?
they are so bad nowadays
Andrea
what sould I use then?
BinaryByter
theres nothing wrong with code in .h
BinaryByter
what sould I use then?
Just do the things yourself?
Nikolas
Lol
BinaryByter
its not that hard!
Nikolas
Sure
Andrea
Just do the things yourself?
that's just plain stupid
BinaryByter
Its not too hard
Andrea
its not that hard!
go ahed and implement a _secure_ implementation of ssl
Sai Meghana
Nikolas
why would it be hard?
So everyone, everytime, should reimplement everything from scratch?
BinaryByter
So everyone, everytime, should reimplement everything from scratch?
unless they find a GOOD implementation in a library
BinaryByter
Anyway, I need to write enough code to make my application fill 16 Gigs of ram in the next hours if I want to get paid
BinaryByter
That's not what you said
Because there are no good implementations of things 😂
BinaryByter
Nikolas
lol
Andrea
why would it be hard?
because there are lots of way to attach an implementation and you have no idea of what you are talking about
BinaryByter
Nikolas
You are so naive, I would like to see you face the real world once :)
BinaryByter
You are so naive, I would like to see you face the real world once :)
Sorry, but I need to finish writing my compiler
BinaryByter
i'm almost done!
BinaryByter
then I'll write a bytecode interpreter
BinaryByter
like java
Andrea
Pretty much, yea
sure, developers and researchers that spends decades to takle the problem, they are so stupid, they should have ask you in the first
BinaryByter
I plan on the compiler being done by tomorrow
Nikolas
it remindes me of the guys that came up with that amazing encryption system
Nikolas
because all the others were so stupid
Nikolas
in the end it was a pile of steamping crap :)
BinaryByter
sure, developers and researchers that spends decades to takle the problem, they are so stupid, they should have ask you in the first
the fact that the community of C++ has agreed on having std::vector, std::copy, iterators, exceptions ... etc should say something :D
BinaryByter
they think that AES is uncrackable and that RSA is secure lol
Nikolas
they are?
Sure man! You are the only good developer in the world!
BinaryByter
there are some good devs
BinaryByter
But they won't be the type of guys who typically visit a C++ group 😉
Andrea
Sorry, but I need to finish writing my compiler
some new intresting programming language?