BinaryByter
the only compilers for it are a few years old, not old enough for compiling software you want to rely on
BinaryByter
C++ is a lot more mature than RUST
BinaryByter
so for now i'd use C++
Riccardo
I mean do you think it will have a future?
Riccardo
Ah ok
BinaryByter
every language has a future
BinaryByter
but I don't think that it will become more than a marginal replacement for C++
BinaryByter
it will likely take a turn into another direction
BinaryByter
which might boost it in popularity
BinaryByter
maybe even in a mathematical department, since its syntax is more "mathematical"
Riccardo
Mh ok, I also kinda think that
BinaryByter
Ludovic 'Archivist'
Guys I know this is a C++ group but what do you think about Rust??
When Rust will be able to put no more than the required amount of useless atomics it will be of use
BinaryByter
that would be like saying that C++ won't be used until it compiles only to the required binary 😉
BinaryByter
Lol jkjk
BinaryByter
I agree with you on that one
Silvestr
C++ is in development, and it will come more comfortable with each year
BinaryByter
... or not
Silvestr
C++ 98 and C++ 17 is a different languages
BinaryByter
... or not
The fact that it takes quite a few years to get rid of bad features is a huge problem
BinaryByter
atleast we got rid of triglyphs 😅
Silvestr
I code on C++ in 2010 with 98 standard then I work with Java, and Android and now I like changes that I see in 17
BinaryByter
>java >android i'm sorry
BinaryByter
Which features?
mem_function_ptr for example
BinaryByter
nobody knows what it does
BinaryByter
nobody what its there for
BinaryByter
but its there
BinaryByter
Or how about template<class T> std::atomic {}; ?
BinaryByter
atomic is NOT required to be implemented using atomics by the standard
Silvestr
mem_function_ptr for example
I also heard about that in first time
BinaryByter
its... kinda useless
BinaryByter
BinaryByter
the library is allowed to implement atomic with mutexes
BinaryByter
Also, lets continue with MVP
BinaryByter
with some contextful parsing, you might even manage to get rid of that
Silvestr
But atomics give 11 standard memory model
BinaryByter
I don't know about that
because the standard doesnt say that
BinaryByter
it doesnt say "you are allowed to"
BinaryByter
rather, it doesnt say "you have to use mutexes"
Silvestr
Huh?
I mean that Memory model provide you behavior of variables in multithread system
BinaryByter
Well sure - in MOST sane implementations, the library will implement atomics atomically
BinaryByter
but do you know wether your library does?
Silvestr
But mutexes it's more related to os
Silvestr
It's depends by os
BinaryByter
the standard library implements mutexes
BinaryByter
Okay sure - before you had to implement them yourself
BinaryByter
but I wasn't tlaking about the entire <thread> library anyway
BinaryByter
just about atomic
Silvestr
Sure it implemented by library, but I hope it is implemented good
Silvestr
))
BinaryByter
not a good sign if you are writing software everything relies on
Anonymous
Could you show the best application for tracking
Riccardo
I'm studying the pthread library at school and I was wondering If I should also learn the thread library, should I?
BinaryByter
C++ thread?
BinaryByter
fuck yes!!!
Riccardo
Yeah
BinaryByter
It is a high level wrapper around pthread
BinaryByter
pthread is VERY cumbersome to deal with
BinaryByter
i'd not use it at all once you are outta school
Riccardo
Yeah I know
Riccardo
Ok thanks for the info
BinaryByter
Sure :D
Riccardo
I actually started wariting some code with that a while ago, and I find it a lot more ez
Anonymous
What location
Riccardo
I mean with pthread you have to do all that stuff with pointers and things but with thread you can just write a lambda and you're ready to go
BinaryByter
Exactly
Silvestr
I have looked at fuchsia, and that it completely written on C++17 with c style
Silvestr
I mean that they don't use classes inheritance etc.
BinaryByter
the OOP features of C++ are horrible
BinaryByter
OOP in general is more often than not bloat