Dima
then don’t learn it and forget about programming
Dima
there’s no easy way
Olanrewaju O.
I prefer react native because it's made by fb
Dima
facebook is evil
Max
I prefer react native because it's made by fb
It's not a good and enough reason.
NXiss7
Fuck, is that really a reason?!
Olanrewaju O.
Which is the best to use
NXiss7
Use Flutter
NXiss7
You'll thank me later.
Olanrewaju O.
I have no one to teach me. I just learnt the basics online which made it too complex for me
Max
Which is the best to use
It's a famous/old and long topics in most forums! It's depends on purpose and needs!
NXiss7
Anonymous
Anonymous
Hahaha
Anonymous
Hello great minds, please I need c++ program that can solve a system of simultaneous linear equations in 3 unknowns. Help me please it's an exam project work 🤲
Artöm
Figure it out yourself
shopify
What is oop
Artöm
Programming model
Mar!o
Hey AFAIK if I have a constexpr variable and it's address will not be taken, it will get optimized away ( not consuming any memory like a macro).
Mar!o
Now I have a constexpr string view and if I call .data() and convert it to a normal string will this still allow the optimization? Or will it consume memory?
Mar!o
Not sure if it is guaranteed
So maybe I should switch back to a macro ?
Artöm
Macro string also occupies space
Mar!o
Macro string also occupies space
Yes but only local I have global constexprs
Artöm
You have to call .data(), so there wont be any difference in binary size
Artöm
Dont use macros unless you have to
Mar!o
You have to call .data(), so there wont be any difference in binary size
I was just scared that they are in global memory even if I only need them once
Artöm
It doesnt depend on whether it is a macro or a constexpr variable
Artöm
You do realise that bare string literals also require space right?
Nameful
I am terribly disturbed by your profile picture
Mar!o
You do realise that bare string literals also require space right?
I thought that they are pushed into the local stack when needed
Mar!o
And then popped when gone
Artöm
I thought that they are pushed into the local stack when needed
They live in static section. Pointer or view objects is on stack
NXiss7
I thought that they are pushed into the local stack when needed
Where does "thing that" gets pushed to local stack live then? 😄
NXiss7
I thought that they are pushed into the local stack when needed
It's in static section (.bss if I'm not wrong). Only their address pushed into stack.
Dima
eh
Dima
it’s actually good
Dima
maybe
Dima
I don’t know
Dima
¯\_(ツ)_/¯
klimi
he broke the rules
Dima
not indian at least
klimi
/warns @HlebR
klimi
well
Patrick
Hello. Does anybody know of Arduino Telegram groups? Though I'm interested in this one too :)
Alex
Hi. I'm looking for native android Java developers groups. Can anyone please send me any group links that you may know? I'm not able to find any by just searching. I'm ultimately looking to hire some developers for android. Thank you for your help.
Mr Centimetre
can you send jquery-1.9.0.min.js file?
Anonymous
Any one can tell me a little about minimal algorithm? How do you make a recursion? I’m working on a draught(checkers) homework
Artöm
You call a function from itself
Anonymous
You call a function from itself
Thanks for the reply, but how to actually write one in this algo is the other thing...
Artöm
You didnt describe algo
Anonymous
Sorry..but I think I’ll look into it again. Many thanks!
Patrick
How would you name the two different kinds of recursion, where one calls itself appending to the stack and the other actually discards the stack so it's being called like new?
Artöm
Second sounds like tailcall
Ludovic 'Archivist'
@unterumarmung swinging that banhammer left and right eh
Mr Centimetre
/warn offtop
Sorry😭i am on the over data usge and i am only use telegram that situation.extremely sorry admin😭😭
Patrick
Second sounds like tailcall
That's what I thought. Except some languages, like Java, don't have the optimisation built in, so it's not truly resetting the stack
Patrick
Why would you think that Java doesn't have recursion optimizations?
because Clojure needs an explicit recur function to get around the fact
Patrick
but I think Kotlin did implement it but ultimately because I've read it on the Clojure website
Anonymous
but I think Kotlin did implement it but ultimately because I've read it on the Clojure website
Kotlin has the special keyword for that too But they try optimize without it either
Dima
#ot
Patrick
good to know so I suppose with or without optimisation you'd call it "recursion" and "tail-calling"
Anonymous
Well, that's reasonable Patric, come with me
Patrick
Is tail-calling done in C++ only with set/longjmp?
Anonymous
Ludovic 'Archivist'
Is tail-calling done in C++ only with set/longjmp?
Compiler dependent, arch dependent, but likely yes
Ludovic 'Archivist'
Well actually it is likely just a jmp
Ludovic 'Archivist'
No need to setjmp/longjmp if you can just jump up
Patrick
I only knew of set/long jmp and I suppose you can just use a while loop inside your function body to mimic it