Anonymous
It’s very productive. Big ups to its creators
Dima
MᏫᎻᎯᎷᎷᎬᎠ
Hi
MᏫᎻᎯᎷᎷᎬᎠ
Just wanna get an expert point of view Why do you guys like C++?
MᏫᎻᎯᎷᎷᎬᎠ
No
MᏫᎻᎯᎷᎷᎬᎠ
I just didn't have much experience with other languages I really do wanna know what makes it very special
Dima
Just wanna get an expert point of view Why do you guys like C++?
It's the old-school and its like.. really the one clear language between all these dayum pythons and other stuff
Dima
master race syntax tho
Dima
!
MᏫᎻᎯᎷᎷᎬᎠ
Right?
Dima
true devs and skids
Dima
lol
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
I can learn python in 5 days at most
Ariana
*1
MᏫᎻᎯᎷᎷᎬᎠ
*1
"I can*
Ariana
just get documentation and done
MᏫᎻᎯᎷᎷᎬᎠ
But Regardless of whether it's easy or not
MᏫᎻᎯᎷᎷᎬᎠ
Why C++ by itself is special?
...
C++ supports most "modern" programming techniques while staying completely native
Mat
I can learn python in 5 days at most
You can learn most programming languages in a bunch of days. Different from being good with it
Ανδρέας 🇮🇹
(((IT JOB)))
Dima
/warn suspicious
MᏫᎻᎯᎷᎷᎬᎠ
You can learn most programming languages in a bunch of days. Different from being good with it
Yeah I bet once you master C++ perfectly, learning the basic of those other languages is enough to be good with them
Ludovic 'Archivist'
I think he meant compiled to direct machine code
MᏫᎻᎯᎷᎷᎬᎠ
I think he meant compiled to direct machine code
Maybe But if that what he means Then JIT in java do that, right?
MᏫᎻᎯᎷᎷᎬᎠ
Ludovic 'Archivist'
Maybe But if that what he means Then JIT in java do that, right?
so Java is not DIRECTLY compiled to machine code
MᏫᎻᎯᎷᎷᎬᎠ
But
MᏫᎻᎯᎷᎷᎬᎠ
I heard JIT is direct compiled
Ludovic 'Archivist'
It is compiled by a compiler that MUST be fast to compile
MᏫᎻᎯᎷᎷᎬᎠ
To machine code
Ludovic 'Archivist'
To machine code
It is a bit more complicated than that
Ludovic 'Archivist'
Java is defined to have more registers than what is actually present on most CPUs
MᏫᎻᎯᎷᎷᎬᎠ
Java is defined to have more registers than what is actually present on most CPUs
Then how does it workd Especially if its programs are cross-plateform
Ludovic 'Archivist'
It also tend to use the stack quite an enormous bit, pushing and pulling from it
MᏫᎻᎯᎷᎷᎬᎠ
It makes do using the heap
Instead of using registers it uses heap!!!
MᏫᎻᎯᎷᎷᎬᎠ
Make sense
MᏫᎻᎯᎷᎷᎬᎠ
Since every object in java are treated as a reference
Ludovic 'Archivist'
Instead of using registers it uses heap!!!
it also uses quite an amount of heap allocations and may block all the threads at some points to perform a garbage collection
Ludovic 'Archivist'
garbage collection is okay when you have like, 1Go of use heap
Ludovic 'Archivist'
when you climb up to 250Go of used heap, the weight of it starts getting harsher
MᏫᎻᎯᎷᎷᎬᎠ
Since they do wanna get embarrassed
MᏫᎻᎯᎷᎷᎬᎠ
250Go?
Ludovic 'Archivist'
250Go?
That is what you see in for example Apache Cassandra or Apache Hadoop instances
MᏫᎻᎯᎷᎷᎬᎠ
Whatever
Ludovic 'Archivist'
hopefully Cassandra uses a third of that in bloom filters
MᏫᎻᎯᎷᎷᎬᎠ
I don't think it's something related to programming
MᏫᎻᎯᎷᎷᎬᎠ
So I'll forget it
Ludovic 'Archivist'
it is
MᏫᎻᎯᎷᎷᎬᎠ
Tell me about it then
Ludovic 'Archivist'
Cassandra is a Database and Hadoop is a framework for distributed queries on datasets
Ludovic 'Archivist'
tools used for big data mainly
Ludovic 'Archivist'
queries that span on multiple servers
Ludovic 'Archivist'
map reduce is the most common "algorithm" used for that
MᏫᎻᎯᎷᎷᎬᎠ
queries that span on multiple servers
Like getting data from a lot servers?
Ludovic 'Archivist'
Like getting data from a lot servers?
yes, and filtering and executing operations on that data on the server side to leverage for the quantity of data
MᏫᎻᎯᎷᎷᎬᎠ
But the servers must be connected to each other right?
Ludovic 'Archivist'
But the servers must be connected to each other right?
Yes, that is where Hadoop helps, it manages the cluster and abstract it so that you write a query in Java and execute it everywhere
Ludovic 'Archivist'
then you can fetch either a stream of the results or a single data from the whole set of queries depending on your need
Ludovic 'Archivist'
As an alternative, there is Spark
MᏫᎻᎯᎷᎷᎬᎠ
So
MᏫᎻᎯᎷᎷᎬᎠ
"Map reduce" algorithm Is it like std::map xD?
Ludovic 'Archivist'
no, it has no relation to it
MᏫᎻᎯᎷᎷᎬᎠ
Of course
Ludovic 'Archivist'
map is a transformation on a dataset