BinaryByter
Fuchsia makes a mistake - in my opinion - to use C++17: its not old enough to be certainly bugfree
BinaryByter
however since they already have a base kernel, they can always instantly see when the Compiler is weird and know when its the compiler's fault and not theirs
Silvestr
But it's completely new os with new kernel
Silvestr
They can start development in rust
Silvestr
But choose c++
BinaryByter
They can start development in rust
no that would have been even worse of a decision
BinaryByter
as said: rust isn't mature
BinaryByter
But it's completely new os with new kernel
I have seen somewhere that they used some basecode
BinaryByter
Yea, they are basing fuchsia on zircon
BinaryByter
@mmihov you already know this debate :P
Mihail
Fuschia is the OS
Mihail
Zircon is the kernel
BinaryByter
Mihail
Also called Magenta
BinaryByter
Zircon is the kernel
You don't call that basing?
BinaryByter
GNU isnt basing on linux then?
BinaryByter
and windows isn't basing on NT?
Silvestr
Zircon is the kernel
Zirkon is a new kernel
Mihail
Zirkon is a new kernel
Yes, one made specifically for Fuschia
BinaryByter
Zirkon is a new kernel
basing on linux
BinaryByter
^
Mihail
They are kinda going hand in hand
Silvestr
Not rust
BinaryByter
anyway, this entire thing is offtopic :D
Mihail
True
BinaryByter
lets just agree on asm being the most efficient language
Silvestr
Not B
Silvestr
Not go)
Silvestr
At least I still have some troubles with audio decoding/encoding
Laith Bhais
Hi ala
Laith Bhais
All
Laith Bhais
Please help me.
Laith Bhais
And this
Riccardo
I don't think anyone will help you xD
Laith Bhais
Why
Riccardo
I think it's in the rules that you cannot send a homework
BinaryByter
/warn no homework requests + please shower before entering the pool of indians!
数学の恋人
char c = ... str.append(1, c); appends c one time to str
uhh... you gave me a hard time as that wasn't happening properly So what I did was base64 += character;
Mat
Why
500$/h
数学の恋人
char c = ... str.append(1, c); appends c one time to str
This is what happened with when I tried append
Anonymous
Who know Qt?
数学の恋人
Riccardo
This is what happened with when I tried append
Mhh everything seems fine, what's the problem??😂
Mat
Who know Qt?
Do you have a question?
数学の恋人
数学の恋人
lol
数学の恋人
show us your code
I sorted out the problem, is it still necessary?
Mihail
then no
Mihail
btw you can simply use operator+=
BinaryByter
xD
BinaryByter
in school you can't have nice things
BinaryByter
modern C++? forbidden!
BinaryByter
modern programming? forbidden!
BinaryByter
Gotta earn the diploma to use operator+=
BinaryByter
xD
Mihail
lol
BinaryByter
i'm being mean and not funny
BinaryByter
in the meantime having a blast with self modifying code that modifies itself into abyss
Zorrito
struct S{ union{ std::string* str; int* integer; }; S(std::string& Str): str(new std::string){ *str = Str; } S(int& Integer): int(new int){ *integer = Integer; } ~S(){} }; How can I convert the pointers to smart pointers and prevent memory leaks?
Zorrito
why making something like that tho (I am talking about your example code)
The struct is a node of a data tree (I left the branches out of my example, because I don't think they're relevant to my question). All I'm trying to do is create a node where the contents of the node can be either a string or an int. I could just not put pointers in the union, but I thought this method would save memory if I were to add other data types to incorporate arbitrary precision.
BinaryByter
/ban please ... no... dear fortune kevin, this is enough
𝑂𝑑𝑖𝑛'𝑠
G'night. Anyone here wanna help with an assignment?
Dima
𝑂𝑑𝑖𝑛'𝑠
The assignment questions are a bit lengthy and I didn't want to spam? Is it ok to post the questions and the code I have?
olli
The assignment questions are a bit lengthy and I didn't want to spam? Is it ok to post the questions and the code I have?
It's not okay to ask for someone to do your assignment. If you have a concern or problem with your implementation feel free to ask. Depending on the length you should consider using pastebin services. For shorter code feel free to paste in as monospace
Anonymous
Hey guys
Anonymous
What is the mode_t type?
Anonymous
I know that it is 8bit value