Похожие чаты

Hi what are these?

22 ответов

24 просмотра

masks to check only part of an IPv4 address

it checks to see if the ipv4 address is loopback

I advise you to use a book for networking. A good book I guess covers this stuff. You won't need to read it if you don't want to, but it can be used to check things like this. Sometimes things might get too confusing when you're still learning.

Déjà vu
or atleast use search engines properly

When you are still at the basics sometimes you don't even know what to search. For some people it's easier for others harder

Hayk Zneigras
When you are still at the basics sometimes you don...

when you have little pieces of puzzle so it's not that hard to find other pieces with simple searchs. he is already in production so he will not spend time to read big books but i'm not suggesting to avoid books anyways

they could hide lil confusions behind macros, you do it from now on

Hayk Zneigras
When you are still at the basics sometimes you don...

and keeping all documentations in mind solves no problem just wastes time and opportunities.

Déjà vu
they could hide lil confusions behind macros, you ...

What about hiding them behind inline functions like decent human being 😑

Ludovic 'Archivist' Lagouardette
What about hiding them behind inline functions lik...

inline function is not guaranteed to be inline or avoid ruining your stack etc.

Ludovic 'Archivist' Lagouardette
What about hiding them behind inline functions lik...

btw when I tried to define some macros in c++ after some search on how bad of a practice it is (I already knew that one shouldn't prefer macros to functions, but I couldn't find alternatives) I immediately cancelled all the macros I had defined and started searching new ways 😂

Déjà vu
inline function is not guaranteed to be inline or ...

Inline means the linker does whatever it wants with it, but the main point is having readable code that you can debug without having to compile it after a manual preprocessor pass

Hayk Zneigras
btw when I tried to define some macros in c++ afte...

What I dislike most is that macros don't have a scope (do they?)

Ludovic 'Archivist' Lagouardette
Inline means the linker does whatever it wants wit...

templates, inheritance, etc makes same problems for debugging. you guarantee inlining i will use it

Déjà vu
templates, inheritance, etc makes same problems fo...

I don't try to be smarter than a piece of software literally able to count the cycles both options will take on the actual hardware I will run on

Déjà vu
templates, inheritance, etc makes same problems fo...

I usually read that some compilers may inline some others may not or it may depend on the flags. But I wonder what overhead there could be if it's a simple comparison. I guess it doesn't change much if you aren't calling it really a lot, there inline imo is better because it makes the purpose clearer. But if the function would be called really a lot won't a good compiler optimize the function calls?

Hayk Zneigras
I usually read that some compilers may inline some...

Well not just comparison, there are more operations but it's still simple I guess

Hayk Zneigras
I usually read that some compilers may inline some...

If you are using a compiler that does profiling based optimization, definitely

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта